An open API service indexing awesome lists of open source software.

https://github.com/lpil/ecoji

Base64 is so 1999, isn't there something better?
https://github.com/lpil/ecoji

gleam

Last synced: 4 months ago
JSON representation

Base64 is so 1999, isn't there something better?

Awesome Lists containing this project

README

          

# Ecoji 🏣🔉🦐🔼

Ecoji encodes data as 1024 [emojis][emoji]. It's base1024 with an emoji
character set, based off the [original version][ecoji-go] written in Go.

It's also an example of how we can manipulate bit strings in Gleam!

### Encoding:

```gleam
import ecoji

pub fn main() {
ecoji.encode("Base64 is so 1999, isn't there something better?\n")
// -> "🏗📩🎦🐇🎛📘🔯🚜💞😽🆖🐊🎱🥁🚄🌱💞😭💮🇵💢🕥🐭🔸🍉🚲🦑🐶💢🕥🔮🔺🍉📸🐮🌼👦🚟🥴📑",
}
```

[emoji]: https://unicode.org/emoji/
[ecoji-go]: https://github.com/keith-turner/ecoji