SubSlay 💅🏻
SubSlay transforms your text into emojis — powered by Rust & WebAssembly!
Convert words into matching emojis with smart fuzzy matching and word embeddings, all embedded inside the crate.
Features
- Translate text → emojis using embedded emoji-keyword map
- Fuzzy matching via Levenshtein distance
- Semantic similarity using GloVe embeddings
- Zero setup — data files included inside the crate
- Works natively in Rust apps and as WebAssembly for web apps
Installation
Add SubSlay to your Cargo.toml dependencies:
= "0.1"
Native Rust Usage
use EmojiStylist;
WASM Usage (for Web)
If targeting WebAssembly, SubSlay exposes a convenient interface:
use *;
use WasmEmojiStylist;
Build with:
and then import the generated WASM module in your JavaScript/TypeScript frontend.
Examples
Try the included example:
License
MIT License
Repository
https://github.com/8ria/subslay
Made with 💅🏻 by AndriaK