Stefan Friese 4c6f3775a5 | ||
---|---|---|
.gitignore | ||
CHANGELOG.md | ||
LICENSE | ||
Main.hs | ||
MyLib.hs | ||
README.md | ||
Setup.hs | ||
based.cabal |
README.md
based
A commandline tool that lets you encode and decode most of the bases.
Release binary is statically linked via
cabal v2-build --enable-executable-static -O2
Compilation
- If you want to compile your own build, link it dynamically via
git clone https://git.stefan.works/whx/based.git
cd based/
cabal install
cabal run
Usage
- Pipe via stdin to transcode
- Modes are encode and decode
- Encoding is done in the following way
echo Hello, World! | based encode --b91
>OwJh>}AQ;r@@Y?FF
- Decoding is implicated in the following way
echo '>OwJh>}AQ;r@@Y?FF' | based --b91
Hello, World!