yu1745/wetype-ime-linux

Linux port and Fcitx 5 integration for the WeType Android input engine

Open original source ↗

Older snapshot: check the original source for current information.

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

在 Linux 上通过 Fcitx 5 使用微信输入法(WeType)引擎。引擎是 Android ARM64 版本,运行在 Android 自己的 C 运行时(AOSP bionic)上:x8664 主机通过 QEMU user 模式运行,ARM64 主机原生运行,不需要 QEMU。 本仓库和 AppImage 只包含本项目自己的代码,以及可再分发的运行时(取自 AOSP 系统镜像的 bionic;x8664 版另含 QEMU),不包含任何 WeType 文件。安装时会从腾讯官方服务器下载 WeType 3.5.4 APK,校验 SHA-256 后在本机打补丁,思路类似 Minecraft 的 Paper。 本项目只把微信输入法的 Android 引擎接入 Fcitx 5,不是官方客户端的完整移植。当前能力如下: 本地词库和学习数据的保存不等于云同步。学习数据默认位于 /.local/share/wetype-ime/dict,设置了 XDGDATAHOME 时使用 $XDGDATAHOME/wetype-ime/dict;高级调试可用 WETYPEWORKDIR 覆盖。 发布两种 AppImage:WeTypeIME-Engine-x8664.AppImage(x8664 Linux,自带 QEMU)和 WeTypeIME-Engine-aarch64.AppImage(ARM64 Linux,原生运行,不含 QEMU)。Fcitx5 插件在 Ubuntu 24.04 上随包构建,要求宿主有 glibc ≥ 2.38 和 Fcitx5 5.1.x(libFcitx5Core.so.7);更旧的发行版(如 Ubuntu 20.04)请用 fcitx5-wetype/build.sh 按本机 Fcitx5 从源码构建插件。默认在缺少有效 APK 缓存时联网下载;也可通过 --apk 使用已下载的 APK。英文释义是本地查表,不进行网络查询。上述功能清单不构成对专有引擎内部网络行为的保证。 先安装依赖(下载、校验、解包、补丁都在 python3 标准库内完成,无需 curl/unzip): ARM64 主机还需要 patchelf(安装时把 harness 的 ELF 解释器指向包内的 bionic linker64,之后原生运行,不改动 /system): 然后运行: 安装完成后重启 Fcitx5,并在输入法配置中添加“微信拼音”。 候选翻页:组词时 - =(以及 PgUp/PgDn、↑/↓)按整页翻页,到达边界也不会把这两个字符漏进文档;每页候选数跟随 Fcitx5 全局设置“候选词数量”(1–10,默认 5),候选前显示的数字即选词键(每页 10 个时第 10 个为 0)。 其他命令: APK 约 214 MB,只下载一次,缓存在 /.cache/wetype-ime。用户学习数据在 /.local/share/wetype-ime。 x8664 AppImage 的构建环境为 x8664 的 Debian / Ubuntu: harness 使用 Android NDK r27c(27.2.12479018)交叉编译为 Android ARM64/API 28;Fcitx5 插件仍由宿主 C++ 编译器原生构建,无需 Android Studio、Java 或完整 Android SDK。 也可用 ANDROIDNDKHOME 指向已有兼容 NDK;不设置时构建脚本回落到上述项目缓存。CI 固定使用 r27c。构建时还会下载 AOSP Android 9 的 ARM64 模拟器系统镜像(约…

yu1745/wetype-ime-linux on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-11-11T08:03:18.724Z

Inside the original README — Document outline
  1. WeType Linux
  2. 功能与限制
  3. 安装
  4. 从源码构建
  5. 可选候选英文释义
  6. 中文状态标点
  7. Shift + 字母直出大写
  8. 异步空格选词
  9. 目录结构
  10. 许可证

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: GPL-3.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

Linux port and Fcitx 5 integration for the WeType Android input engine

Repository facts

Owner
yu1745
Primary language
C
Stars
246
Forks
27
Open issues + pull requests
6
License
GPL-3.0
Archived
No
Default branch
main
Created
2026-09-23T18:34:15.000Z
Last push
2026-09-24T14:23:56.000Z

Topics and intended use

No topics were included in the latest source metadata.

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-09-30T12:05:16.119Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

torvalds/linux

Genymobile/scrcpy

microsoft/PowerToys

colbymchenry/codegraph

git/git

DeusData/codebase-memory-mcp