LeanTypeDual is a privacy-conscious, customizable keyboard built for two-thumb typing with opt-in AI. It is a fork of LeanBitLab/LeanType (which layers AI proofreading & translation on top), itself a fork of HeliBoard — the AOSP/OpenBoard-based engine that does dictionaries, layouts, multilingual & glide typing, themes and clipboard history.
The "Dual" is dual-thumb gesture typing: glide with both thumbs at once and the keyboard fuses the trails into words. On top of that it keeps a private, offline core with opt-in cloud intelligence, and ships in three privacy tiers. It installs as a distinct app (com.asafmah.leantypedual) so it can run side-by-side with the upstream keyboards.
Type with both thumbs gliding at the same time: LeanTypeDual aggregates multiple simultaneous gesture trails into a single word (a Nintype-style flow) instead of forcing one-finger-at-a-time swipes. It has a dedicated tuning screen — combining-mode grace timing, tap-promotion, fragment backspace (pop the last swiped fragment), multi-part word recognition, customizable autospace, and an opt-in typing-insight overlay that visualizes the gesture join. (Gesture typing requires the gesture library — see Download.)
- 🤖 Multi-Provider AI - Proofread using Gemini, Groq (Llama 3, Mixtral), or OpenAI-compatible providers, with dynamic fetching of the latest models.
- 🛡️ Offline AI - Private, on-device proofreading and translation using ONNX models (Offline build only).
- 🌐 AI Translation - Translate selected text using your chosen provider, with a separate model selector.
- 🧠 Custom AI Keys - Assign custom prompts, personas (#editor, #proofread), and labels/tags (themed capsules) to 10 customizable toolbar keys.
- 📝 Text Expander - Shortcut → expansion with dynamic placeholders (
%clipboard%,%day%,%time12%,%cursor%, lists), backspace-to-revert, and a guide. - 🧠 Smarter learned words - graduated trust keeps a just-learned word below real-dictionary suggestions until you've used it a few times (no premature autocorrect to half-typed words); flag unknown words to Add or Block them via a Blocklist screen.
- ↩️ Undo word - a toolbar key that reverts the last committed word back to its suggestion alternatives.
- 🗂️ Per-dictionary control - enable or disable individual built-in and custom dictionaries.
- 🪟 Floating Keyboard - Detach the keyboard into a draggable, resizable window (true OS-level overlay), with an optional persistent mode.
- ⌨️ Dual Toolbar / Split Suggestions - Split the suggestion strip and toolbar for easier reach.
- 🖱️ Touchpad Mode - Swipe the spacebar up for a cursor touchpad with sensitivity controls and edge-scroll acceleration, including a full-screen laptop-style mode.
- 🎨 Modern UI - "Squircle" key backgrounds, refined icons, and polished aesthetics.
- 🔄 Google Dictionary Import - Import your personal dictionary words.
- 🔍 Clipboard Search & Undo - Search clipboard history from the toolbar, undo accidental deletions, and fold pinned items by default.
- 📸 Screenshot Suggestion & Clipboard - Recently-taken screenshots are offered in the suggestion strip and saved to clipboard history.
- 🔎 Emoji Search - Search emojis by name. Requires loading an Emoji Dictionary.
- ⚙️ Enhanced Customization - Force auto-capitalization, fine-grained haptics, distinct incognito icon, reorganized settings, and more.
- 🔒 Privacy Choices - Choose Standard (opt-in AI), Offline (network hard-disabled, offline model), or Offline Lite (no AI, ~20 MB).
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|
- Features: Full suite including AI Proofreading, AI Translation, and Gesture Library Downloader.
- Permissions: Request
INTERNETpermission (used only when you explicitly use AI features). - Setup: Use the built-in downloader for Gesture Typing. Configure AI keys in Settings.
- Features: All UI/UX enhancements and Offline Neural Proofreading (ONNX).
- Permissions: NO INTERNET PERMISSION. Guaranteed at OS level.
- Best For: Privacy purists.
- Manual Setup Required:
- Gesture Typing: Download library manually and load via Settings > Gesture typing.
- Offline AI: Download ONNX models and load via Settings > AI Integration. 👉 See Offline Setup Instructions
- Features: All UI/UX enhancements but NO AI FEATURES.
- Permissions: NO INTERNET PERMISSION. Guaranteed at OS level.
- Best For: Minimalists who want a modern keyboard without any AI components (~20MB size).
- Manual Setup Required:
- Gesture Typing: Download library manually and load via Settings > Gesture typing.
- Add dictionaries for suggestions and spell check
- Customize keyboard themes (style, colors and background image)
- Customize keyboard layouts
- Multilingual typing
- Glide typing (requires library)
- Clipboard history
- One-handed mode
- Split keyboard
- Number pad
- Backup and restore settings
For original feature documentation, visit the HeliBoard Wiki.
LeanType supports multiple AI providers: Google Gemini, Groq, and OpenAI-compatible (OpenRouter, HuggingFace, etc.).
👉 Read the Full AI Setup & Features Guide
Quick Start:
- Get a free key from Google AI Studio (Gemini) or Groq Console (Groq).
- Copy the API key.
- Go to Settings → AI Integration → Set AI Provider.
- Select your provider and paste the API Token.
- Select Model and target language
Important
Privacy: Your input data is sent to the configured provider. 👉 View Privacy Policies for Providers
For issues specific to LeanType features, please open an issue in this repository.
For issues with core HeliBoard functionality, please report to the original HeliBoard repository.
LeanType (as a fork of HeliBoard/OpenBoard) is licensed under GNU General Public License v3.0.
See LICENSE file.
- HeliBoard by Helium314 - The excellent keyboard this fork is based on
- OpenBoard
- AOSP Keyboard
- All HeliBoard Contributors
- LeanTypeDual — two-thumb typing and the changes in CHANGELOG.md, by AsafMah
- LeanType (the AI proofreading/translation layer) — by LeanBitLab
Check out our other projects: 👉 LeanBitLab Projects
Building and maintaining privacy-focused, offline AI apps takes time and resources (test devices, server costs, etc.).
If you love LeanTypeDual, please consider supporting the project!
Your support keeps the code 100% Free and Open Source.
LeanTypeDual • Two-thumb typing • privacy-focused, with opt-in AI





