Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/portasynthinca3/bottomer

Erlang library implementing the bottom specification
https://github.com/portasynthinca3/bottomer

bottom erlang

Last synced: 15 days ago
JSON representation

Erlang library implementing the bottom specification

Awesome Lists containing this project

README

        

# bottomer
Erlang library implementing the [bottom specification](https://github.com/bottom-software-foundation/spec).

## Installation
Add this to your `rebar.config`:
```erl
{bottom, "0.1.0", {pkg, bottomer}}
```

## API

### `bottom:encode/1`
Converts human-readable text to bottom-readable text.

Example:
`Hello world!` -> 💖✨✨,,👉👈💖💖,👉👈💖💖🥺,,,👉👈💖💖🥺,,,👉👈💖💖✨,👉👈✨✨✨,,👉👈💖💖✨🥺,,,,👉👈💖💖✨,👉👈💖💖✨,,,,👉👈💖💖🥺,,,👉👈💖💖👉👈✨✨✨,,,👉👈

### `bottom:decode/1`
Converts bottom-readable text to human-readable text.

Example: 🫂✨✨🥺,,👉👈💖💖✨✨🥺,,,,👉👈💖💖✨✨✨✨👉👈🫂✨✨🥺,,👉👈💖💖✨✨✨👉👈💖💖✨✨✨✨🥺,,👉👈🫂✨✨🥺,,👉👈💖💖✨✨🥺,,,,👉👈💖💖💖✨✨🥺,👉👈🫂✨✨🥺,,👉👈💖💖✨✨✨👉👈💖💖✨✨✨✨👉👈 -> `がんばれ`