Moonshine Tiny
Tiny and very fast. Good for quick notes and messages on any phone.
version 1.0 · open source · GPL-3.0
A private Android keyboard you can talk to. Voice typing runs on the phone, so what you say is never sent anywhere, and glide typing and AI rewrite run there too. It asks for no account, and it still has to feel as fast as the keyboard that ships with the phone.
Android 8+, 64-bit ARM. Signed with a debug key, so Android will ask you to allow installs from your browser.
Recommended: install Wisp through Komi Store, a free open-source app that installs apps from GitHub releases. Search for laghab/wisp there and it keeps Wisp updated for you. Optional; the APK works on its own.
Wisp · dark
Why
A keyboard is the one app that sees passwords, messages and searches. The popular ones are good, and most want a network connection to be better. I wanted to know whether a keyboard could match them on feel and features while being provably unable to send anything out.
The first build, a fork of an open-source keyboard, was usable on a desk and not on a phone: no word-delete gesture, no shortcuts, slow. So I redesigned it from the keys up, kept what worked, and put the speed-critical code in Rust. My rule throughout was that new code has to replace old code, not sit beside it.
Voice typing
Voice typing is one of the reasons Wisp exists. Most dictation sends your voice to a server. Here the speech model runs on the phone, so it works without a connection and nothing you say leaves the device.
Tiny and very fast. Good for quick notes and messages on any phone.
Fast, accurate English. A good default for most phones.
Excellent English accuracy for its size.
The most accurate, and the one Wisp recommends when the phone has the memory for it.
Includes Hindi, written in Devanagari letters.
Very fast.
See it work
These are small live models of the real keyboard: the same keys, gestures and layout, drawn from the app's own theme data. Pick a look and they all change with it.
Themes
Drawn live from the designer's own tokens, the same ones the app is built from. Pick one from the list, or just watch them go by.
Architecture
The speed-critical part is one Rust crate with no Android types in it, so it runs and is tested on the host. Kotlin draws, edits and talks to the system.
Decisions
Touch handling, layout geometry, the word list, glide matching and keyboard placement live in one Rust crate that is plain logic with no Android types. It runs and is tested on the host, so the fast part is also the easiest part to test. Kotlin keeps drawing, the input service and settings.
The old C++ engine, its Java glue, two Kotlin gesture classes and a bundled dictionary were removed once Rust passed the same tests. The result was a smaller APK and fewer places for a bug to hide, not a second engine next to the first.
Speech and the rewrite model run in a :voice process and unload after a few idle minutes. Typing never loads a model, so the keyboard stays small and a model crash cannot take the keyboard down.
The only network feature is an optional model downloader. It is off by default and never used while typing or dictating. All network code lives in one small module anyone can read, and a script checks in CI that nothing else touches the network.
Each of the 30 themes is one file with its light and dark looks in it (colours, shadows, fonts, glass blur, clipped corners, even an animated space bar). A renderer turns it into cached per-key bitmaps, so a new theme needs no new code.
Typo correction and glide have evals with pass/fail gates, and the perf budgets are a script. Numbers marked "Waydroid" are from a fast dev machine and are labelled that way. Real-phone numbers come next.
Numbers
Waydroid dev machine, debug build. A phone will be slower; budget is 16 ms.
Rust touch state machine, 50,000 simulated taps. About 23 ns per event.
3,000 generated typos. Top-1 is 92.4%, and 0 of 2,000 valid words were auto-"fixed".
Careful, normal and sloppy swipes on 143k words. Decode p95 is 4 ms.
With the speech and rewrite engines included. Budget 45 MB.
First keyboard show after the process starts. Budget 300 ms.
These come from a fast desktop running an Android container. Real phone numbers, battery and a 24-hour daily-use test are the next step, and I will replace these figures with them.
Stack
Honest status
Working: typing, gestures, glide, autocorrect, all 30 themes with favourites that shuffle daily or weekly, edit mode, clipboard, emoji, dictation and rewrite, checked on an Android 13 container and on a real phone.
Not yet: the larger rewrite models, real-phone performance numbers, and a 24-hour daily-use test. Version 1.0.2 is on the GitHub releases page, signed with a debug key.
I build on-device software end to end, from the design to the native code to the tests. Email me, or read the source.