rime/librime
rime/librime has 4,711 GitHub stars and 749 forks. GitHot measured +1 stars in 24 hours. Last checked 2026-11-07 15:27 UTC. Last push 2026-10-27.
Rime Input Method Engine, the core library
What you can do
- A modular, extensible input method engine in cross-platform C++ code, built on top of open-source technologies
- Covering features found in a large variety of Chinese input methods, either shape-based or phonetic-based
- Built with native support for Traditional Chinese, conversion to Simplified Chinese and other regional standards via OpenCC
- Rime input schema, a DSL in YAML syntax for fast trying out innovative ideas of input method design
Measured star growth
- in 24h
- +1
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalRIME: Rime Input Method Engine
Rime with your keystrokes.
Project home
License
Features
- A modular, extensible input method engine in cross-platform C++ code, built on top of open-source technologies
- Covering features found in a large variety of Chinese input methods, either shape-based or phonetic-based
- Built with native support for Traditional Chinese, conversion to Simplified Chinese and other regional standards via OpenCC
- Rime input schema, a DSL in YAML syntax for fast trying out innovative ideas of input method design
- Spelling Algebra, a mechanism to create variant spelling, especially useful for Chinese dialects
- Support for chord-typing with a generic Qwerty keyboard
Install
Follow the instructions to build librime on platforms other than Linux:
Build dependencies
- compiler with C++17 support
- cmake>=3.12
- libboost>=1.74
- libglog>=0.7 (optional)
- libleveldb
- libmarisa
- libopencc>=1.0.2
- libyaml-cpp>=0.5
- libgtest (optional)
Runtime dependencies
- libboost
- libglog (optional)
- libleveldb
- libmarisa
- libopencc
- libyaml-cpp
Build and install on Linux
make
sudo make install
Packaging status
Frontends
Official:
Community:
- ARIF: frontend for Readline
- Hamster: frontend for iOS
- My RIME: frontend for web
- PIME: frontend for Windows
- Trime: frontend for Android
- XIME: frontend for macOS
- YuyanIme: frontend for Android
- coc-rime: frontend for Vim
- emacs-rime: frontend for Emacs
- fcitx-rime: Fcitx frontend for Linux
- fcitx5-android: frontend for Android
- fcitx5-macos: Fcitx5 frontend for macOS
- fcitx5-rime: Fcitx5 frontend for Linux
- fcitx5-ui.nvim: Fcitx5 frontend for Vim
- fcitx5.nvim: Fcitx5 frontend for Vim
- pyrime: frontend for Ptpython
- rabbit: frontend for Windows
- rime.nvim: frontend for Vim
- rime.vim: frontend for Vim and Neovim
- rl_custom_rime: frontend for Readline
- tmux-rime: frontend for Tmux
- zsh-rime: frontend for Zsh
Plugins
- librime-charcode (Deprecated) Module that deals with character encoding; depends on boost::locale and ICU libraries
- librime-legacy (Deprecated) Legacy module with GPL-licensed code
- librime-lua Lua scripting
- librime-octagram Language model
- librime-predict Predict next word
- librime-proto IPC using CapnProto
Related works
- plum: Rime configuration (recipe) installer
- combo-pinyin: an innovative chord-typing practice to input Pinyin
- rime-essay: the preset vocabulary
- SCU: Squirrel Configuration Utilities
Credits
We are grateful to the makers of the following open source libraries:
- Boost C++ Libraries (Boost Software License)
- google-glog (The 3-Clause BSD License)
- Google Test (The 3-Clause BSD License)
- LevelDB (The 3-Clause BSD License)
- marisa-trie (BSD 2-Clause License, LGPL 2.1)
- OpenCC (Apache License 2.0)
- yaml-cpp (MIT License)
Contributors
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,849 starspublic-apis/public-apis
A collective list of free APIs
497,094 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
441,634 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,160 stars