Encoding and decoding scheme converter for the commandline
Go to file
Stefan Friese 653a6f1012 typo 2022-05-20 00:15:25 +02:00
.gitignore initalize 2022-05-17 00:23:30 +02:00
CHANGELOG.md added encodings 2022-05-19 23:55:26 +02:00
LICENSE Initial commit 2022-05-17 00:18:01 +02:00
Main.hs added encodings 2022-05-19 23:55:26 +02:00
MyLib.hs initalize 2022-05-17 00:23:30 +02:00
README.md typo 2022-05-20 00:15:25 +02:00
Setup.hs initalize 2022-05-17 00:23:30 +02:00
based.cabal added encodings 2022-05-19 23:55:26 +02:00

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