Ecoji-d v1.0.0 is released - Base1024 using emojis 😂👌
Anton Fediushin
fediushin.anton at yandex.ru
Wed Mar 14 17:30:18 UTC 2018
🖖, 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
More information about the Digitalmars-d-announce
mailing list