stroke-input/stroke-input-android
Android Chinese keyboard: Stroke Input Method (筆畫輸入法)
Featured achievements
The project's latest awards
#1 Repository of the month
#1 Repository of the month
#1 Repository of the month
Stroke Input Method (筆畫輸入法) for Android
![]()
A minimalist Chinese keyboard where you input characters by typing stroke sequences (e.g. 天 is ㇐㇐㇒㇔).

Uses Conway Stroke Data.
Features
- Good character support (over 28k characters) including vernacular Cantonese
- User preference for traditional or simplified characters
- No permissions, tracking, etc.
- Deterministic candidate generation which doesn't learn user input
Releases
License
Copyright 2021–2025 Conway
Licensed under the GNU General Public License v3.0 (GPL-3.0-only).
This is free software with NO WARRANTY etc. etc., see LICENSE.
For detailed copyright information in relation to dependencies, see app/src/main/assets/about.html.
Help (for users)
Strokes
| Key | Stroke |
|---|---|
| ㇐ | horizontal; raise |
| ㇑ | vertical; vertical-with-hook |
| ㇒ | left-slash |
| ㇔ | right-press; dot |
| ㇖ | turn; bend |
Examples
| Character | Stroke sequence |
|---|---|
| 天 | ㇐㇐㇒㇔ |
| 下 | ㇐㇑㇔ |
| 為 | ㇔㇒㇖㇖㇖㇔㇔㇔㇔ |
| 公 | ㇒㇔㇖㇔ |
Miscellaneous
| Function | Action |
|---|---|
| Retract keyboard | Use system Back Button (or Back Gesture) |
| Change language | Horizontally swipe space-bar |
| Change to other keyboard | Long press space-bar |
Assets (for devs)
*.cmd (CMD)
These are Conway-Markdown (CMD) files,
used to compile the HTML files by running cmd --all
whilst in the root directory of this repository.
*.cmdr (CMD Rules)
These are files containing CMD Rules used by the CMD files.
*.html (HTML)
These are the actual About and Help files that get served in the app.
*.txt (Text)
These are data files used by the input method. Taken from Conway Stroke Data (CC-BY-4.0 / Public Domain), see <https://github.com/stroke-input/stroke-input-data>.
StrokeInputFont.ttf
This is the font used for the keyboard. Taken from Stroke Input Font (GPL-3.0-only), see <https://github.com/stroke-input/stroke-input-font>.
webview.css
This is the stylesheet for the HTML files that get served in the app.
Similar Projects
Discover other similar projects and AI models.
Draw animated Japanese characters (Kanji and Kana), Korean characters (Hanja) and Chinese characters (Hanzi) in correct stroke order using svg, free open-source code.
Reverse engineer anything with agents, from app behavior down to native binaries.
Termux - a terminal emulator application for Android OS extendible by variety of packages.
Flutter makes it easy and fast to build beautiful apps for mobile and beyond
A collection of various awesome lists for hackers, pentesters and security researchers

