LeanType  by LeanBitLab

Hybrid AI keyboard for enhanced text interaction

Created 2 months ago
332 stars

Top 82.6% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

LeanType is an open-source, AI-enhanced fork of the privacy-focused HeliBoard keyboard. It targets users seeking advanced typing assistance, offering a hybrid online/offline AI experience with customizable providers like Gemini, Groq, and OpenAI-compatible APIs. The primary benefit is a powerful, adaptable keyboard that balances cloud intelligence with robust on-device privacy options.

How It Works

Built upon HeliBoard's customizable, privacy-conscious foundation, LeanType integrates optional AI functionalities. Users can leverage cloud-based AI for proofreading and translation via configurable APIs, or opt for a fully offline experience using on-device ONNX models. This hybrid approach allows for powerful text manipulation while maintaining strict data privacy when desired. Dedicated "AI Keys" enable quick access to custom prompts and personas.

Quick Start & Requirements

  • Primary install / run command: Download .apk files (Standard, Offline, Offline Lite) from the GitHub Releases page.
  • Non-default prerequisites and dependencies:
    • Standard Version: Requires INTERNET permission for AI features.
    • Offline Version: Requires manual download and setup of Gesture Typing libraries and ONNX models for AI Integration. Guarantees NO INTERNET PERMISSION.
    • AI Features: API keys from Google AI Studio (Gemini), Groq Console, or OpenAI-compatible providers are necessary for online AI functionality.
  • Links: Refer to the HeliBoard Wiki for original features, and specific guides for AI and Offline setup.

Highlighted Details

  • Multi-Provider AI: Supports Google Gemini, Groq (Llama 3, Mixtral), and OpenAI-compatible APIs for real-time text enhancement.
  • Offline AI: On-device proofreading and translation via ONNX models (Offline build only).
  • Custom AI Keys: Ten programmable toolbar keys for custom prompts and personas (e.g., #editor, #proofread).
  • Enhanced UI/UX: Features "squircle" keys, touchpad mode, dual toolbars, clipboard history search, and screenshot suggestions.
  • Privacy Tiers: Offers Standard (opt-in AI), Offline (no network), and Offline Lite (no AI) versions.

Maintenance & Community

Contributions for LeanType-specific features should be filed as issues in this repository. Core HeliBoard issues should be directed to the original project. Links to "LeanBitLab Projects" are available.

Licensing & Compatibility

Licensed under GNU General Public License v3.0 (GPLv3). This copyleft license requires derivative works to also be open-sourced under GPLv3, potentially impacting integration into closed-source commercial products.

Limitations & Caveats

The Offline versions require significant manual setup for gesture typing libraries and AI models. Online AI features necessitate sending user input to third-party providers, requiring users to review external privacy policies. Core HeliBoard functionality issues should be reported upstream.

Health Check
Last Commit

3 days ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
18
Star History
158 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.