On Wednesday, 14 March 2018 at 17:30:18 UTC, Anton Fediushin
wrote:
๐, I'm glad to announce that ecoji-d - pure D implementation of
ecoji encoding version 1๏ธโฃ.0๏ธโฃ.0๏ธโฃ is finally releasedโ
What is ecoji?
Ecoji encodes data as base1024 with an emoji character set. It
can be used instead of boring and old base64 ๐คฎ๐คฎ๐คฎ.
Encoding example:
---
$ echo "Base64 is so 1999, isn't there something better?" |
ecoji-d
๐๐ฉ๐ฆ๐๐๐๐ฏ๐๐๐ฝ๐๐๐ฑ๐ฅ๐๐ฑ๐๐ญ๐ฎ๐ต๐ข๐ฅ๐ญ๐ธ๐๐ฒ๐ฆ๐ถ๐ข๐ฅ๐ฎ๐บ๐๐ธ๐ฎ๐ผ๐ฆ๐๐ฅด๐
---
And decoding:
---
$ echo -n "๐๐ฉ๐ฆ๐๐๐๐ฏ๐๐๐ฝ๐๐๐ฑ๐ฅ๐๐ฑ๐๐ญ๐ฎ๐ต๐ข๐ฅ๐ญ๐ธ๐๐ฒ๐ฆ๐ถ๐ข๐ฅ๐ฎ๐บ๐๐ธ๐ฎ๐ผ๐ฆ๐๐ฅด๐" | ecoji-d
-d
Base64 is so 1999, isn't there something better?
---
Ecoji-d's features:
โ๏ธ Range interface
โ๏ธ Lazy encoding/decoding
โ๏ธ Low memory usage
โ๏ธ @safe and pure when possible
โ๏ธ Many tests
โ๏ธ Can be used as a library and as a CLI utility
API consists of just 2๏ธโฃ functions:
๐ `encode`, which does encoding
๐ `decode`, which does decoding
Links:
๐ฆ DUB package page: http://code.dlang.org/packages/ecoji-d
๐ GitHub repository: https://github.com/ohdatboi/ecoji-d
๐ค GitHub repository of the reference Go implementation:
https://github.com/keith-turner/ecoji
Fun, but seems pretty useless in practice.