afrim is written in Rust and his architecture is inspired by librime[2]. It's available to use in Rust (afrim), Python (afrim-py), JavaScript (afrim-js), and more.
Repo: https://github.com/fodydev/afrim Demo: https://fodydev.github.io/afrim-web/ FAQ: https://github.com/fodydev/afrim/blob/main/FAQ.md
[1]: https://news.ycombinator.com/item?id=41427563 [2]: https://github.com/rime/librime