A private, smart, and deeply customizable open-source Android keyboard.
Forked from HeliBoard / OpenBoard / AOSP LatinIME.
Download APKs β’ Flavor Comparison β’ Features β’ Setup Guide β’ Ecosystem β’ Other Projects
LeanType combines the trusted, lightweight, privacy-focused foundation of HeliBoard with modern productivity features: Multi-Provider Cloud, Self-Hosted & Offline AI proofreading, On-Device Whisper Voice Typing, Handwriting Recognition, Smart Toolbar Auto-Spanning, Built-in Self-Updater, and Rich Text Tools, while keeping you in complete control over your data.
LeanType is available in 4 distinct flavors designed to match your exact privacy preferences, hardware specifications, and feature requirements:
| Feature / Capability | π Standard Full-standardfull-release.apk |
πΏ Standard (FOSS)-standard-release.apk |
π‘οΈ Offline AI-offline-release.apk |
β‘ Offline Lite-offlinelite-release.apk |
|---|---|---|---|---|
| Target Audience | Recommended for full feature set | F-Droid / 100% Pure FOSS users | Privacy purists wanting Local AI | Minimalists wanting Zero AI |
| Cloud AI (Gemini, Groq, OpenAI) | β Yes | β Yes | β No | β No |
| Offline AI (Local GGUF via llama.cpp) | β No | β No | β Yes | β No |
| Translation Engine | β
AI or Google Plugin (User Choice / Auto fallback) |
β
AI or Google Plugin (User Choice / Auto fallback) |
βοΈ Offline GGUF only | β No |
| Voice Typing (On-device Whisper) | β Yes (via plugin) | β Yes (via plugin) | β Yes (via plugin) | β Yes (via plugin) |
| Handwriting Input (ML Kit) | β Yes (via plugin) | β No (Proprietary-free) | β No | β No |
| In-App Self-Updater | β Yes (GitHub Releases) | β No (F-Droid managed) | β No | β No |
| Dynamic Downloader | β Dictionaries & Models | β Dictionaries | β Manual loading only | β Manual loading only |
| Internet Permission | π Required (Opt-in features) | π Required (Opt-in features) | π« None (OS-level blocked) | π« None (OS-level blocked) |
| Package ID | com.leanbitlab.leantype |
com.leanbitlab.leantype |
com.leanbitlab.leantype.offline |
com.leanbitlab.leantype.offlinelite |
| Min Android Version | Android 6.0+ (SDK 23) | Android 6.0+ (SDK 23) | Android 8.0+ (SDK 26) | Android 5.0+ (SDK 21) |
| Approximate APK Size | ~23 MB | ~11 MB | ~67 MB | ~26 MB |
Tip
Side-by-Side Installation: The offline and offlinelite flavors use distinct application package IDs, allowing them to be installed concurrently with standardfull on the same device without conflicts!
- Multi-Provider Cloud & Self-Hosted AI: Integrated proofreading, grammar correction, and text rewriting powered by Google Gemini, Groq (Llama 3.3, Mixtral, DeepSeek), OpenAI, or any Self-Hosted local LLM server (Ollama, LM Studio, LocalAI, vLLM, or custom OpenAI-compatible endpoints).
- Dynamic Model Fetching: Automatically fetches and populates the latest available model IDs directly from your cloud or self-hosted provider.
- π‘οΈ Offline Neural Proofreading (GGUF): Run compact, quantized GGUF language models directly on your device via embedded
llama.cppβ100% private, zero network access (offlineflavor). - π Dual-Engine In-Keyboard Translation: Translate text directly into any language. Freely choose between your configured AI Provider (Gemini, Groq, OpenAI, self-hosted LLM, or local GGUF) or the high-speed Google Translation Plugin, with automatic fallback support.
- π§ Custom AI Keys & Capsules: Assign custom prompts, personas (
#editor,#proofread), and themed tag capsules to 10 customizable toolbar keys.
- On-Device Whisper Voice Typing: High-accuracy speech recognition powered by compact quantized Whisper models via the LeanType Voice Plugin.
- Interactive Voice Toolbar: Real-time waveform audio visualizer, silence detection sensitivity slider, and background keep-alive options.
- βοΈ Handwriting Recognition: Draw characters or words directly on an expansive writing canvas using the LeanType Handwriting Plugin (
standardfullflavor).
- π Gesture / Glide Typing: Smooth swipe typing powered by native C++ libraries (
libjni_latinime.so). - π Smart Auto-Spanning Toolbar: Dynamically expands and balances toolbar keys symmetrically to prevent awkward gaps across portrait, landscape, and tablet widths.
- π§ Dedicated Text Editing Panel: Gboard-style precision DPAD arrow navigation, selection mode (Shift + arrows), select word, select all, and editing shortcuts.
- π±οΈ Touchpad Mode: Swipe up on the spacebar to control the cursor freely across the screen, including full-screen laptop-style touchpad mode.
- πͺ Floating & Resizable Keyboard: Detach into a moveable floating window with persistent positioning for multitasking.
- β¨οΈ Dual Toolbar / Split Suggestions: Option to split suggestions from the quick-action toolbar.
- π¨ Custom Layout Profiles: Save up to 5 custom layout profiles with persistent slot index tracking.
- β¨οΈ Direct Switch Target IME: Bind keycode
-10076to any toolbar key to switch directly to a specific target keyboard (e.g. Japanese, Korean, or Chinese IME).
- π Smart Clipboard History & Inline Editing: Search clips in real-time, swipe right to edit text directly in the toolbar with full gesture cursor/deletion, swipe left to delete with 5s undo, and fold pinned items.
- πΈ Screenshot Suggestions: Detects recently taken screenshots and offers instant 1-tap sharing via the suggestion strip or clipboard history.
- π Text Expander: Built-in shortcut expansion with dynamic variables (
%date%,%time%,%clipboard%,%cursor%, custom placeholders). - βοΈ Privacy-First OTP Auto-Fill: Notification-based OTP verification code detection without sensitive SMS permissions, with customizable messaging app selection.
- π Smart Learning & Session Boost: Adaptive personal dictionary learning threshold (1 to 5 times) and dynamic session word boosting.
- π« Blacklist & Regex Filtering: Filter offensive words or unwanted suggestions with custom regex pattern support.
- π Google Dictionary Import: Seamlessly import personal dictionary words exported from Gboard.
- π In-App Streaming Updater: Direct GitHub release checks and streaming APK self-updating with single-version changelogs (
standardfullflavor).
|
|
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
- Cloud API: Obtain an API key from Google AI Studio or Groq Console.
- Self-Hosted AI: Run Ollama, LM Studio, or LocalAI on your local network (e.g.
http://192.168.1.100:11434/v1). - Open Settings β AI Integration β Set AI Provider.
- Select your provider (or choose Custom (OpenAI-compatible) for self-hosted instances), enter your endpoint URL/token, and choose your preferred model and target language.
- π Read the Full AI & Prompts Guide
- Install the companion LeanType Voice Plugin.
- Open Settings β Voice typing β Whisper Speech Models.
- Download or import your preferred Multilingual Whisper model (e.g. Tiny ~32 MB, Base ~57 MB, or Small ~182 MB supporting 99+ languages).
- Tap the microphone icon on the keyboard toolbar to start typing with your voice!
- In LeanType, open Settings β Text correction β Translation method β Translation Plugin.
- Download or import the LeanType Translation Plugin APK for fast, dedicated translation without separate API keys.
- In the
standardandstandardfullbuilds, open Settings β Gesture typing to download the gesture library automatically. - In
offlinebuilds, download the library manually and load it via Settings β Gesture typing β Load gesture library.
- Download a compatible GGUF model (such as
Qwen2.5-0.5B-Instruct-Q4_K_M.gguforLlama-3.2-1B-Instruct-Q4_K_M.gguf). - In LeanType (
offlinebuild), navigate to Settings β Advanced β GGUF Model (.gguf) and select the file from your local storage.
Expand LeanType with official companion plugins:
| Plugin | Repository | Description |
|---|---|---|
| ποΈ Voice Plugin | LeanBitLab/Leantype-Voice-Plugin | On-device Whisper speech-to-text engine |
| π Translation Plugin | LeanBitLab/LeanType-Translation-Plugin | Dedicated on-device translation provider engine |
| βοΈ Handwriting Plugin | LeanBitLab/Leantype-Handwriting-Plugin | ML Kit Digital Ink canvas recognition engine |
| π¨ Community Themes | GitHub: leantype-theme |
Browse and share custom color themes |
Discover our complete suite of privacy-first, open-source Android applications and utilities:
π Explore All LeanBitLab Android Projects
- Bug Reports & Feature Requests: Open a GitHub Issue
- Discussion & Support: GitHub Discussions
- Official Telegram Channel: @LeanBitLab
- Theme Creators: Tag your repository with
leantype-themeto appear in our theme catalog.
Building and maintaining privacy-first, on-device AI and keyboard technologies requires continuous hardware testing, compute for model optimization, and development time.
If LeanType improves your daily typing workflow, please consider sponsoring our work!
- HeliBoard by Helium314 β the foundational keyboard project
- OpenBoard & AOSP LatinIME
- llama.cpp & llamacpp-kotlin β on-device local LLM execution
- whisper.cpp β on-device speech recognition
- All contributors and open-source supporters!
LeanType is licensed under the GNU General Public License v3.0 (GPL-3.0).
See the LICENSE file for details.





