Skip to content

LeanBitLab/LeanType

LeanType

LeanType Banner

Download Downloads Stars

LeanType is a fork of HeliBoard - a privacy-conscious and customizable open-source keyboard based on AOSP/OpenBoard.

What's New in LeanType

  • πŸ€– Multi-Provider AI - Proofread using Gemini, Groq (Llama 3, Mixtral), or OpenAI-compatible providers. Supports dynamic fetching of latest models directly from providers.
  • πŸ›‘οΈ Offline AI (GGUF) - Private, on-device proofreading and translation using local GGUF models powered by llama.cpp (Offline build only).
  • 🌐 AI Translation - Translate selected text directly using your chosen AI provider, with a separate model selector.
  • 🧠 Custom AI Keys - Assign custom prompts, personas (#editor, #proofread), and custom text labels/tags (showing as themed capsules) to 10 customizable toolbar keys.
  • 🧭 Text Editing Mode - Gboard-style dedicated editing panel with precise DPAD navigation, custom selection mode (Shift + arrows), clipboard actions, and editing utilities.
  • ✍️ Handwriting Input - Draw characters directly on a handwriting recognition canvas (Standard version, requires Leantype-Handwriting-Plugin).
  • πŸ‘† Built-in Gesture Typing - Gesture typing works out of the box using our new built-in pure-Java fallback engine, removing the strict dependency on native Google libraries.
  • πŸ–±οΈ Touchpad Mode - Swipe spacebar up to toggle touchpad with custom sensitivity controls, including full-screen laptop-style touchpad mode.
  • πŸ“ Text Expander - Built-in expansion tool supporting custom shortcuts and dynamic template variables (date, time, clipboard, custom placeholders).
  • πŸͺŸ Floating Keyboard - Detach the keyboard into a draggable window for seamless multitasking. Includes a persistent mode option to keep the keyboard floating.
  • ⌨️ Dual Toolbar / Split Suggestions - Option to split suggestions and toolbar for easier access.
  • πŸ“₯ Dynamic Downloader - Standard version dynamically downloads layout dictionaries, emoji dictionaries, and handwriting plugins on demand, keeping initial app size small.
  • πŸ” Clipboard Search & Undo - Search through your clipboard history directly from the toolbar, undo accidental item deletions, and fold/collapse pinned items by default to save space.
  • πŸ“Έ Screenshot Suggestion & Clipboard - Suggests recently taken screenshots for quick sharing via the suggestion strip and saves them to your clipboard history.
  • πŸ”Ž Emoji Search - Search for emojis by name. Requires loading an Emoji Dictionary.
  • 🚫 Blocked Words Blacklist - Prevent unwanted words from being suggested, with custom regex pattern support and a blacklist management screen.
  • βœ‰οΈ Auto-Read OTP - Automatically reads OTP codes from SMS notifications for quick and easy suggestion strip entry.
  • πŸ’Ύ Selective Backup & Restore - Backup and restore settings, dictionaries, and AI prompt configurations selectively.
  • ⌨️ Direct Switch IME - Map custom keycode (-10076) to any toolbar key to switch directly to another input method.
  • 🎨 Custom Layouts - Save up to five custom layout profiles with persistent slot index tracking.
  • πŸ”’ Privacy Choices - Choose Standard (Opt-in AI, Handwriting), Offline (Hard-disabled network, offline GGUF model load), or Offline Lite (Minimalist, no AI) versions.
  • 🎨 Modern UI - "Squircle" key backgrounds, refined icons, and polished aesthetics.
  • πŸ•΅οΈ Clear Incognito Mode - Distinct "Hat & Glasses" icon for clear visibility.
  • πŸ”„ Google Dictionary Import - Easily import your personal dictionary words.
  • βš™οΈ Enhanced Customization - Force auto-capitalization toggle, reorganized settings, and more.

Download

Get it on GitHub Get it on Obtainium Get it on F-Droid

Screenshots

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

πŸ“¦ Choose Your Version

1. Standard Full Version (-standardfull-release.apk)

  • Features: Recommended. Cloud AI (Proofreading, Translation), Handwriting Input support, and Gesture Library Downloader.
  • Permissions: Request INTERNET permission (used only when explicitly using Cloud AI features, downloading dictionaries/libraries, or updating).
  • Setup: Configure Cloud AI keys in Settings.

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

  • Features: F-Droid compatible (FOSS only). Cloud AI (Proofreading, Translation) and Gesture Library Downloader. NO Handwriting Input.
  • Permissions: Request INTERNET permission.
  • Setup: Configure Cloud AI keys in Settings.

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

  • Features: All UI/UX enhancements and Offline Neural Proofreading (via llama.cpp using local GGUF models).
  • Permissions: NO INTERNET PERMISSION. Guaranteed at OS level.
  • Best For: Privacy purists.
  • Manual Setup Required:

4. 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:

Todo

  • Stabilize the current beta version
  • Built-in voice input support
  • Improved built-in gesture typing
  • Custom key sounds
  • Two-thumb typing layout

Setup

AI Features Setup

LeanType supports multiple AI providers: Google Gemini, Groq, and OpenAI-compatible (a custom endpoint option allowing you to use any custom provider, such as OpenRouter, HuggingFace, or local LLM servers).

πŸ‘‰ 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

Please report any issues or suggestions directly in our repository: πŸ› Open an Issue

Community Themes

Discover and share community-made themes: 🎨 Browse Themes

Theme creators: tag your repo with the leantype-theme topic to appear here.

License

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

See LICENSE file.

Credits

Original Projects

LeanType

πŸ›‘οΈ LeanBitLab Ecosystem

Check out our other projects: πŸ‘‰ LeanBitLab Projects


πŸ’– Support the Development

Building and maintaining privacy-focused, on-device apps takes significant time, hardware resources (test devices, compilation machines), and effort.

If LeanType makes your daily typing experience better, please consider supporting our development! Your sponsorship directly helps us keep the project 100% free, open-source, and independent.


LeanType β€’ Privacy-focused keyboard with AI enhancements

Sponsor this project

 

Contributors