bytestashy 0.1.2

A command-line interface for ByteStash for the easy posting of snippets without opening a browser.
bytestashy-0.1.2 is not a library.

bytestashy

bytestashy is a CLI tool that communicates with the ByteStash API to quickly store files as snippets.

Installation

A recent Rust installation is required (at least Rust 1.74 with Edition 2024). Then the project can be compiled or installed directly:

cargo install bytestashy

Usage

Before the first upload, an API key for ByteStash must be generated:

bits login https://example.api.tld

After a successful login, files can be uploaded as snippets. The program will interactively prompt for title, description, visibility, and categories:

bits file1.txt file2.rs

Configuration is stored in an OS-specific config folder (e.g., on Linux under $XDG_CONFIG_HOME/bytestashy/config.json). The API key itself is securely saved in the system’s keyring.

License

This project is licensed under the GPLv3. LICENSE