base
Version, currently main branch1 version
- main branchlatestOct 17, 2025
github.com/maximerety/base
A simple CLI to convert a binary data string representation between bases (hex, base32, base64)
1 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
base:
github: maximerety/base
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
1.18.0- License
- MIT
- Author
- maximerety
- Target
basefrom src/base.cr
Dependencies
Runtime Dependencies
- base32*github: didactic-drunk/base32
README
base
A simple CLI to convert a binary data string representation between bases (hex, base32, base64).
Installation
# Install dependencies
shards install
# Pick a destination
DEST="${HOME}/.local/bin"
crystal build --release -o "$DEST/base" src/base.cr
Usage
Usage: base [options]
-i, --input-base INPUT_BASE Specify input base in [16, 32, 64]
-o, --output-base OUTPUT_BASE Specify output base in [16, 32, 64]
-p, --padding Specify if output should be padded
-u, --url-safe Specify if output should be url safe
-h, --help Show this message
Development
# Run tests
crystal spec
Contributing
- Fork it (https://github.com/maximerety/base/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- maximerety - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Oct 17, 2025
- Crystal
1.18.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/maximerety/base
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 1