Practical overview
When it fits
Use LIME when you want a Rime-based Pinyin input method whose candidate generation is guided by a language model, and can run its server and model in a trusted environment.
Who it is for
- Rime users who want Qwen3-generated Chinese text candidates while entering Pinyin.
- Developers interested in extending a Pinyin input method’s candidate-generation algorithms.
Documented uses
- Generate Chinese text candidates guided by typed Pinyin syllables.
- Use fuzzy-Pinyin mappings or supported Shuangpin schemes while entering text through Rime.
- Extend or evaluate candidate-generation algorithms using the project’s shared model sessions, context, and token indexes.
Requirements & limits
- The server requires Node.js (version 22 or later recommended), pnpm, and Qwen3 model files.
- Rime is the documented frontend; LIME’s llm schema operates as a separate input method.
- The Rime frontend enables HiAE by default for candidate and commit requests; the repository advises keeping the server on a trusted local or network environment because keystrokes may contain private information.
- The project reports that long-sentence input may be less intelligent, fast typing may miss letters, and server restarts lose context because data and new words are not saved.
- The repository lists the GPL-3.0 license.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up LIME with the Rime frontend
Prepare the LIME server and configure Rime to use its Pinyin input method.
Before you start
- Node.js runtime; version 22 or later is recommended
- pnpm
- The LIME repository and Qwen3 model files
- A Rime installation and curl
Steps
Install the project dependencies with pnpm install.
Download the Qwen3-0.6B-GGUF model files as described in the repository, and place the model folder alongside the project unless configuration is changed.
Generate a key with pnpm key. In the Rime configuration, enable the llm schema and set the generated key in llm_pinyin.lua.
For the default HiAE mode, run pnpm build:hiae and set hiae_payload in llm_pinyin.lua to the generated file’s absolute path.
Start the server with pnpm start, then switch to the llm Pinyin input method in Rime.
Expected outcome
Rime can send Pinyin keystrokes to the LIME server for candidate generation and return selected text.
Guide limitations
- The llm schema must be used as a separate Rime input method; it cannot be combined with other Rime input methods.
- Keystrokes may contain private information. The project advises against exposing the server to the public internet or an untrusted local network.
- The project notes that long-sentence input may be less intelligent and very fast typing may miss letters.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 5 November 2026
- Original website title
- xushengfeng/lime · Official homepage title · retained in its source language

