{"id":49477031,"url":"https://github.com/ximeiorg/xime","last_synced_at":"2026-07-02T09:01:15.495Z","repository":{"id":347680492,"uuid":"1194657986","full_name":"ximeiorg/Xime","owner":"ximeiorg","description":"我的自用安卓输入法，基于Rime 构建，部分功能由本人设计的本地AI模型驱动，支持五笔/拼音/自定义方案。","archived":false,"fork":false,"pushed_at":"2026-06-26T15:36:21.000Z","size":11643,"stargazers_count":517,"open_issues_count":36,"forks_count":25,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-06-26T16:14:25.501Z","etag":null,"topics":["ai","android","android-application","ime","pinyin","rime","wubi"],"latest_commit_sha":null,"homepage":"https://ime.ximei.me","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ximeiorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-28T16:41:59.000Z","updated_at":"2026-06-26T15:35:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ximeiorg/Xime","commit_stats":null,"previous_names":["ximeiorg/kime","ximeiorg/xime"],"tags_count":56,"template":false,"template_full_name":null,"purl":"pkg:github/ximeiorg/Xime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ximeiorg%2FXime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ximeiorg%2FXime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ximeiorg%2FXime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ximeiorg%2FXime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ximeiorg","download_url":"https://codeload.github.com/ximeiorg/Xime/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ximeiorg%2FXime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35040024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","android","android-application","ime","pinyin","rime","wubi"],"created_at":"2026-04-30T20:34:28.048Z","updated_at":"2026-07-02T09:01:15.485Z","avatar_url":"https://github.com/ximeiorg.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/logo.jpg\" alt=\"Xime Logo\" width=\"600\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eXime（曦码） - 五笔/拼音输入法\u003c/h1\u003e\n\n[Xime 输入法 (Windows 版)](https://github.com/ximeiorg/winxime) | [Xime 输入法 (Linux 版)](https://github.com/ximeiorg/xime-wayland) | [联想词预测模型](https://github.com/ximeiorg/predictive-text)  | [手写输入法模型](https://github.com/ximeiorg/ochwpro) \n\n一款基于 \u003ca href=\"https://rime.im/\"\u003eRime\u003c/a\u003e 引擎构建的 Android 五笔/拼音输入法，专注于简洁高效的中文输入体验。\n\n目前输入法在慢慢过渡到可以适配其他输入方案。但是，这个输入法还是会保持足够的简洁和易用，不会做成类似 fcitx-android 或者 trime 那样大而全的方案。*它的最终形态会高度定制化并提供小部分自由度的输入法*。因此，如果你觉得 UI 或者功能不符合你的要求，你可以直接 fork 一份自行修改。\n\n**这个输入法也是我在 AI 深度学习文本(NLP) 方向的试验田。**\n\n---\n\n\u003e 本输入法支持五笔/拼音输入，只是本人以五笔为主，拼音为辅，因此资源会倾向于五笔为主。\n\n\n\u003ctable align=\"center\"\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/full_keyboard_light.jpg\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003e全键盘（亮色）\u003c/p\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/full_keyboard_dark.jpg\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003e全键盘（暗色）\u003c/p\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/全键盘_下滑_light.jpg\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003e字根下滑\u003c/p\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/shotcut_light.jpg\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003e快捷操作\u003c/p\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/floating.jpg\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003e悬浮键盘\u003c/p\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/t9_pinyin.jpg\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003eT9 九宫格拼音\u003c/p\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/number.jpg\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003e数字键盘\u003c/p\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/symbol.jpg\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003e符号键盘\u003c/p\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/hw.png\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003e手写输入\u003c/p\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/hw2.png\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003e手写找字（候选）\u003c/p\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/voice.jpg\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003e语音输入\u003c/p\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/emoji.jpg\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003eEmoji 键盘\u003c/p\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/theme_light.jpg\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003e主题设置（亮色）\u003c/p\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/theme_dark.jpg\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003e主题设置（暗色）\u003c/p\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/plugin_light.jpg\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003e插件管理\u003c/p\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"docs/Screenshot/方案市场.jpg\" width=\"180\"\u003e\u003cbr\u003e\u003cp align=\"center\"\u003e方案市场\u003c/p\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n\n    \u003ctd\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## 功能特点\n\n- **多种输入方案** - 内置五笔86/98、拼音、混输方案，支持自定义（双拼、笔画等），可通过方案市场下载或无线导入\n- **Rime 引擎** - 使用成熟稳定的 Rime 输入法引擎，精准可靠的中文输入体验\n- **丰富键盘布局** - QWERTY 全键盘、T9 九宫格拼音、九宫格笔画、手写、数字（含计算器）\n- **悬浮键盘** - 悬浮卡片样式，支持拖拽移动、半透明圆角设计\n- **语音转文本** - 支持阿里百炼 FunAsr（在线）和 sherpa-onnx（本地离线）双引擎\n- **AI 智能增强** - 基于 Transformer 的联想词预测和标点预测，输入更高效\n- **简洁界面** - Material Design 3 风格，支持浅色/深色主题及多种配色方案\n- **键盘调节** - 支持键盘高度调整和位置移动\n- **工具栏定制** - 可自定义工具栏按钮布局和功能\n- **按键反馈** - 可调节音效和振动强度\n- **滑动手势** - 光标移动、删除、符号输入等滑动手势操作\n- **剪贴板管理** - 剪贴板历史记录，支持快捷发送和置顶\n- **候选词编码提示** - 候选词显示五笔编码，辅助学习\n- **字根显示** - 下滑按钮显示五笔字根，方便健忘用户\n- **实体键盘支持** - 连接物理/蓝牙键盘时显示浮动候选栏\n- **WebDAV 同步** - 通过 WebDAV 备份和恢复方案与配置\n- **表情插件** - 支持扩展表情插件（颜文字、表情包等）\n\n## 系统要求\n\n- Android 9.0 (API 28) 及以上\n\n## 安装\n\n### 主程序下载\n选择对应架构的APK：\n- **arm64-v8a**: 适用于大多数现代手机（**绝大部分人的手机都是这个**⬅⬅⬅）\n- **armeabi-v7a**: 适用于旧款32位手机\n- **x86_64**: 适用于模拟器\n- **universal**: 包含所有架构，体积较大\n\n### 插件下载（可选）\n插件为独立 APK，安装后可在主应用中启用：\n- **meme-bunny**: 恶搞兔表情包插件（提供8个表情）\n- **kaomoji**: 颜文字插件（提供精选颜文字）\n\n### 从 Release 下载\n\n1. 在 [Releases](https://github.com/ximeiorg/Xime/releases) 页面下载最新版本的 APK\n2. 安装应用\n3. 在系统设置中启用 Xime 输入法\n4. 将 Xime 设为当前输入法\n\n### 国内下载\n由于 apk 包是通过 github actions 自动构建的，国内的仓库没有免费的功能使用，因此如果你觉得github release 不稳定，请自行构建安装，或者通过[https://github.akams.cn](https://github.akams.cn) 来下载。\n\n### 手动构建安装\n\n1. 克隆项目并构建 APK\n2. 安装应用\n3. 在系统设置中启用 Xime 输入法\n4. 将 Xime 设为当前输入法\n\n## 使用文档\n\n详细使用说明请查看 [使用文档](https://ime.ximei.me)。\n\n## 构建\n\n```bash\n# 克隆项目（包含子模块）\ngit clone --recursive https://github.com/ximeiorg/Xime.git\n\n# 或者在已克隆的项目中初始化子模块\ngit submodule update --init --recursive\n\n# 构建 Release APK\n./gradlew assembleRelease\n```\n\n### 本地语音识别构建\n\n项目支持本地离线语音识别（基于 sherpa-onnx）。首次构建时会自动下载并编译 JNI 库。\n\n如果自动构建失败，可手动执行：\n\n```bash\n# 手动构建 sherpa-onnx JNI 库\n./build-sherpa-onnx.sh\n```\n\n构建完成后，会在 `app/src/main/jniLibs/` 生成 `libsherpa-onnx-jni.so`。\n\n本地 ASR 模型可在应用内设置页面下载。\n\n### AI 模型下载\n\n#### 智能联想词模型\n\n- **项目地址**: https://github.com/ximeiorg/predictive-text\n- **模型下载**: https://www.modelscope.cn/models/bikeand/predictive-text-small\n- **模型文件**: `model_int8_dynamic.onnx` (约 17MB)\n- **词表文件**: `vocab.json`\n- **存放位置**: `filesDir/` 目录（即应用私有目录根目录）\n- **功能**: 基于 Transformer 的中文联想词预测，提供智能候选词推荐\n\n#### 标点预测模型\n\n- **项目地址**: https://github.com/ximeiorg/srf-punctuation\n- **在线演示**: https://srf-punctuation.ximei.me/\n- **模型下载**: https://www.modelscope.cn/models/bikeand/srf-punctuation\n- **模型文件**: `punctuation_int8.onnx` (约 2.2MB)\n- **词表文件**: `vocab.json`\n- **存放位置**: `filesDir/punctuation_models/` 目录\n- **功能**: 基于 Transformer 的中文标点预测，语音识别后自动添加标点\n\n**注意**: 所有模型均可直接在应用内\"设置 \u003e 智能联想/语音识别\"页面下载，无需手动放置。\n\n\n## 技术栈\n\n- Kotlin\n- Jetpack Compose\n- Material Design 3\n- Rime (librime)\n- JNI (Native C++)\n\n## 贡献\n\n欢迎贡献！在提交 PR 之前，请先阅读 [CONTRIBUTING.md](CONTRIBUTING.md) 了解贡献流程。\n\n核心规则：\n- **先提 Issue** — 所有改动必须先创建 Issue 讨论\n- **最小修改** — PR 只包含所需的最小改动\n- **GPG 签名** — 所有 commit 必须 GPG 签名\n\n## 致谢\n\n- [Rime](https://rime.im/) - 中州韵输入法引擎\n- [Trime](https://github.com/osfans/trime) - 同文输入法，部分实现参考\n- [Linux Do](https://linux.do) - 中文开发社区\n\n## Star History\n\n\u003ca href=\"https://www.star-history.com/?repos=ximeiorg/Xime\u0026type=date\u0026legend=top-left\"\u003e\n \u003cpicture\u003e\n   \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/chart?repos=ximeiorg/Xime\u0026type=date\u0026theme=dark\u0026legend=top-left\" /\u003e\n   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/chart?repos=ximeiorg/Xime\u0026type=date\u0026legend=top-left\" /\u003e\n   \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/chart?repos=ximeiorg/Xime\u0026type=date\u0026legend=top-left\" /\u003e\n \u003c/picture\u003e\n\u003c/a\u003e\n\n## 许可证\n\nGPLv3 License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fximeiorg%2Fxime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fximeiorg%2Fxime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fximeiorg%2Fxime/lists"}