b64-cli

Crates.iob64-cli
lib.rsb64-cli
version0.1.2
created_at2026-01-02 13:42:55.357603+00
updated_at2026-01-05 15:40:52.580867+00
descriptionA simple and fast command-line tool for encoding and decoding base64 strings
homepagehttps://github.com/corsantic/b64-cli
repositoryhttps://github.com/corsantic/b64-cli
max_upload_size
id2018538
size9,479
Furkan Aydin (corsantic)

documentation

README

b64-cli

A simple and fast command-line tool for encoding and decoding base64 strings.

Installation

Install from crates.io:

cargo install b64-cli

Or install from source:

git clone https://github.com/corsantic/b64-cli
cd b64-cli
cargo install --path .

Usage

The basic syntax is:

b64 <command> <input>

Commands

  • encode or e - Encode a string to base64
  • decode or d - Decode a base64 string

Examples

Encoding:

b64 encode hello
# Output: aGVsbG8=

b64 e hello
# Output: aGVsbG8=

Decoding:

b64 decode aGVsbG8=
# Output: hello

b64 d aGVsbG8=
# Output: hello

Building

cargo build --release

Testing

cargo test

License

MIT

Commit count: 0

cargo fmt