Skip to content

Latest commit

 

History

History
179 lines (130 loc) · 10.3 KB

File metadata and controls

179 lines (130 loc) · 10.3 KB

LeanTypeDual

LeanTypeDual Banner

Download Downloads Stars

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.

What makes LeanTypeDual different

✌️ Two-thumb (dual-thumb) typing — the namesake feature

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.)

On top of that — LeanType's AI layer and quality-of-life features

  • 🤖 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).

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4 Screenshot 5 Screenshot 6

Download

Get it on GitHub Get it on Obtainium

📦 Choose Your Version

1. Standard Version (-standard-release.apk)

  • Features: Full suite including AI Proofreading, AI Translation, and Gesture Library Downloader.
  • Permissions: Request INTERNET permission (used only when you explicitly use AI features).
  • Setup: Use the built-in downloader for Gesture Typing. Configure AI keys in Settings.

2. Offline Version (-offline-release.apk)

  • 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:

3. Offline Lite Version (-offlinelite-release.apk)

  • 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:

Original HeliBoard Features

  • 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.

Setup

AI Features Setup

LeanType supports multiple AI providers: Google Gemini, Groq, and OpenAI-compatible (OpenRouter, HuggingFace, etc.).

👉 Read the Full AI Setup & Features Guide

Quick Start:

  1. Get a free key from Google AI Studio (Gemini) or Groq Console (Groq).
  2. Copy the API key.
  3. Go to Settings → AI Integration → Set AI Provider.
  4. Select your provider and paste the API Token.
  5. Select Model and target language

Important

Privacy: Your input data is sent to the configured provider. 👉 View Privacy Policies for Providers

Contributing

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.

License

LeanType (as a fork of HeliBoard/OpenBoard) is licensed under GNU General Public License v3.0.

See LICENSE file.

Credits

Original Projects

This fork

  • LeanTypeDual — two-thumb typing and the changes in CHANGELOG.md, by AsafMah
  • LeanType (the AI proofreading/translation layer) — by LeanBitLab

🛡️ LeanBitLab Ecosystem

Check out our other projects: 👉 LeanBitLab Projects


Support the Development

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!

Sponsor on GitHub

Your support keeps the code 100% Free and Open Source.


LeanTypeDual • Two-thumb typing • privacy-focused, with opt-in AI