Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Failed to load latest commit information.
Latest commit message
Commit time


Rime IME for Android

build License: GPL v3 GitHub release F-Droid release Latest build

English | 简体中文 | 繁體中文


Trime is originally a frontend of open-source Android Traditional Chinese IME, based on RIME input method framework and written in Java/Kotlin with JNI. It is designed to protect the native language of various local dialects of Chinese and is a universal shape-based and phonetic-based input method platform.




TRIME is the abbreviation of Tongwen RIME or ThaeRv Input Method.

From the beginning, TRIME was written for TaeRv Pinyin, and named TaeRv Input Method (泰如输入法).

Then, we created an input method platform with some code tables, such as Wu dialect (吴语). We renamed it to Chinese Character Dialect Input Method (汉字方言输入法).

Later, it supports Wubi and Liangbi and other shape-based input method, we branded it Tongwen Input Method Platform 2.0 (同文输入法平台 2.0), which implies that the phonetic-based and shape-based input method on one platform, while dialects and Mandrain share one kind of characters.

Benefit from the librime project by JNI, we are now in version 3.0 of TRIME aka Tongwen Input Method (同文输入法).

Your contribution are welcome ~ ! 🎉

Getting Started


Android SDK should be correctly installed and configured. If you are new to Android development, please install Android Studio.


  1. Clone this project, please pay attention that it would take a while for large-size boost submodule. And make sure that you have enough available disk space to hold the source code (about 1.5 GB).
cd $your_folder
git clone --recursive
  1. Install capnp:
cd $trime_folder
sh trime/script/
  1. Debug version without sign:
make debug
  1. Release version with sign:

Create file which contains following contents for signing information:

make release


Target "boost_log_setup" links to target "Boost::coroutine" but the target was not found.

Run make clean.

Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library.

Do not install capnp from package manager. Run the dependency script in part Build.

Other issues:

  1. Try make clean
  2. Make sure your repo is up-to-date. If one or more submodules are modified, also make sure they are compatible with the current version.
  3. If the problem still exists(very unlikely), try to make a new clone.
  4. Check if this is there is an issue/PR related to your problem. If yes, try their solutions.
  5. If none of them works, you may make an issue to ask for help.(optional)

Third Party Libraries