Gloridust

WowType

WowType is an fcitx5 pinyin input method addon for Linux, macOS and Windows with a Rust engine for sentence input, typo recovery, offline voice and live translation, all computed locally.

v0.7.17
Published at
12h ago
1.3k
Stars
5.7k
Download

Latest release

v0.7.17Dec 5, 2026, 03:01 PMPre-release
Downloads slow? Switch the source anytime above

README

Project Overview

WowType is an fcitx5 addon for Chinese typing on Linux, aimed at three specific annoyances: long sentences that refuse to come out in one go, typos that force a full retype, and voice input that needs a server. The shell is C++, the pinyin engine is Rust compiled into a static library doing syllable segmentation, beam search and per-user scoring, and everything runs on the local machine.

The engine works locally, so candidates appear with the keystroke instead of a round trip.

Supported Hosts

Host / system Package form
fcitx5 5.0 or newer The main Linux form, loaded as an input method addon
Ubuntu 22.04 / 24.04 / 26.04, Debian 13, deepin 23 / 25, UOS V25 .deb, amd64 and arm64, deepin only amd64
Arch, EndeavourOS, Garuda, CachyOS pkg.tar.zst, x86_64 only
Fedora 43 to 45 .rpm, x86_64 and aarch64
NixOS flake.nix at the repo root, pulled in as an fcitx5 addon
macOS 12 or newer .pkg installed into ~/Library/Input Methods, no admin password
Windows 10 1803+ / 11 x64 setup.exe preview sharing the same input logic as the other two

Key Features

  • Sentence input: xiangquzijieshangban yields the full sentence, and candidates include its first half so part can be committed while the rest is still editable
  • Typo recovery: adjacent-key hits, swapped pairs, one extra or one missing letter are all recognised (zhognguo to the correct characters) without disturbing input that was already right; 16 fuzzy-pinyin groups switch independently (z=zh, n=l, an=ang, un=ong and more)
  • Partial and initials: zhongg already offers the word, bjdx gives Peking University, yongzwen gives the phrase
  • Offline voice: hold right Alt and speak, release to commit; the recognition model runs locally and audio is never uploaded, but the roughly 100 MB download (about 130 MB unpacked) must be fetched from the settings page first
  • Translate mode: tap Shift to enter translate mode, pause 0.5 seconds and translation starts, with a local Hy-MT3 1.8B model, a free public endpoint, or any OpenAI-compatible service across 13 target languages
  • Date and calculator: rq, sj and xq produce today's date, the current time and the weekday, v1+2*3 returns 7, v12345.67 also prints the amount in formal Chinese capitals
  • Wubi 86: selectable as the input scheme, with auto-commit on a unique four-code match, fifth-code commit, and z for temporary pinyin that shows the wubi code after each candidate
  • Candidate grid: ↓ expands a six-column panel, arrow keys move, space or 1 to 6 selects
  • Cross-device clipboard (off by default): one six-digit pairing code, direct transfer on the same LAN, 16 KB per entry over port 39217

Install and Enable

  1. Install with one command: curl -fsSL https://raw.githubusercontent.com/Gloridust/WowType/main/install.sh | bash, which picks the package for your distribution and verifies it against SHA256SUMS; debs are about 37 MB and rpms about 39.7 MB
  2. Run wowtype-config --setup to add WowType to the fcitx5 input method list and restart fcitx5 when needed
  3. Switch to WowType with Ctrl+Space and type nihao; wowtype-show --lexicon /usr/share/wowtype/lexicon.tsv nihao prints the same candidates for comparison
  4. On GNOME Wayland also install the Input Method Panel extension, otherwise the overview search box shows no candidate window

Data and Privacy

  • Config and dictionary stay local: settings live in ~/.config/wowtype/wowtype.conf, dictionaries in ~/.local/share/wowtype/, and the addon makes no network calls while running
  • Optional statistics: typing stats are off by default, and when on they only count characters, key presses and candidate hit positions per day, never the words themselves
  • Translation leaves only on demand: text is sent to your chosen service only in translate mode, and the API key sits in a file readable only by your user

Notes

  • Chromium apps must restart: after fcitx5 restarts, Chrome, VS Code and WeChat keep a stale connection until fully quit and reopened
  • Avoid fcitx5 -r on KDE Wayland: the new process never receives the KWin input method connection, so freshly opened apps cannot type; use wowtype-config --restart-fcitx
  • Left Shift is contested: fcitx5 maps it to temporary switching by default, so enable "Shift only for WowType" in settings if you want single-Shift toggling
  • Voice model is a separate download: the installer excludes the recognition model, and right Alt only points you to the settings page until it is fetched
  • Wubi and pinyin learn separately: words picked in wubi never enter the pinyin user dictionary or frequency habits

Release history

Sort