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.

Reply via email to