ebase

Crates.ioebase
lib.rsebase
version0.1.0
sourcesrc
created_at2023-09-26 11:03:18.268206
updated_at2023-09-26 11:03:18.268206
descriptionDrop-in replacement for base64 with emojis
homepage
repositoryhttps://github.com/Mikopet/ebase
max_upload_size
id983510
size6,463
Peter Mikola (Mikopet)

documentation

README

ebase - emoji coding (like base64 with emojis)

This project meant to be only for educational purposes, so under no circumstances should it be used for production purposes.
However, contributions are very much welcome. Perhaps we could reach a stable version.

Unlike other base64-like emoji libs on the internet, this one is not using external libs or emoji metadata.

Important
the encoding signature most probably WILL change!

Parts

The package contains a lib and a bin too.

The binary meant to be a drop-in "replacement" for base64.

Using the lib

todo

Using the bin

$ echo "hello" | ebase
# => 💈💅💌💌💏

$ echo "💈💅💌💌💏" | ebase -d
# => hello

$ cat .gitignore | ebase
# => 🎏📄💁📂💇💅📄🎏🐃💁📂💇💏🎎💌💏💃💋🎏🎎💉💄💅💁

Known bugs and limitations

  • There is some collision error with one character emojis
  • Line endings are not handled
  • Binaries are a mess

Future plans

  • Investigate to split bytes differently
  • Investigate to use 2-byte emojis
  • Compress output
Commit count: 4

cargo fmt