blorpleapp/blorple
关于
Blorple (formerly PocketLLM Lite): private, offline AI chat for Android. On-device GGUF models, Ollama/OpenAI servers, no account. MIT.
人工智能与机器学习可以做什么
- Local OpenAI-compatible server: /v1/models, /v1/chat/completions (with SSE) and /v1/embeddings, bound to loopback by default and protected by a key. A LAN mode shows an in-app warning, and a browser chat page is served at /ui.
- Network audit log, activity log and error log, all stored on the device.
- Prompt Lab, A/B comparison and the benchmark described above.
实测星标增长
- 24小时
- +1
- 7天
- +12
- 15天
- +14
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Blorple
Private AI that lives on your phone. A local-first AI chat app for Android.
Formerly PocketLLM Lite (renamed 2026-12-02). Same app, same MIT code, same developer.
Download · Watch the video · Website · Install · Tools · Connections · Permissions · Privacy Policy · Known limitations · Contribute
What it is
Blorple runs open language models on your Android phone and can also talk to
servers you control. Chats, documents and memories stay in the app sandbox.
There is no account, no ads and no analytics SDK, and a regression test in
test/regressions fails the build if one appears.
Models and runtimes
- llama.cpp (GGUF): on-device inference through llamadart.
- LiteRT-LM (
.litertlm): run LiteRT-LM bundles next to GGUF models. Hugging Face search hides bundles that cannot run on a phone (browser, desktop, uncompiled NPU and mismatched-chip builds). - Remote servers: Ollama (local or LAN), LM Studio,
vLLM or any OpenAI-compatible
/v1endpoint, from the same model switcher. - Legacy: Cactus bundles still load for older installs.
- Model Store: pinned starter models with sizes, SHA-256 digests and
licences; Hugging Face GGUF search (gated repos with your token); resumable,
hash-verified downloads; import of any local
.gguffile. - Fit check: reads a model's size and architecture from its GGUF header, compares it with the phone's free RAM and chip, and suggests a model that fits. You can still override the warning.
- Context: a context sheet shows the model's limit and free RAM; long chats are summarised once they pass 75% of the window; a load that crashed the app is remembered and retried with a safe limit; automatic 2,048-token fallback on tight RAM; models are unloaded under memory pressure.
- Per-turn intent check: greetings get no tools, no document lookup and no thinking. Other messages are offered only the tools they ask for. Sums, timers and alarms are forced through their tool. Reasoning is capped at 512 tokens.
Chat
- Streaming replies from local and remote models, with live reasoning steps for thinking models.
- Conversation branching, inline message edit, starred messages, tags, search, pinned and archived chats, and export.
- Personas with their own system prompt, temperature and tool scope; persona and agent hand-off between personas.
- Skills: Markdown
SKILL.mdfiles (single or zipped folders) with import and export, slash-command autocomplete and GitHub raw URL import. - Prompt templates with
{parameter}placeholders, Character Card V1/V2 import (PNG or JSON), a prompt library and Prompt Lab. - Side-by-side A/B model comparison and an on-device tokens-per-second and time-to-first-token benchmark.
- Share text, links and documents from other apps into a chat; a quick-ask home-screen widget, a quick-settings tile and launcher shortcuts.
- UI languages: system default, English, Spanish, Hindi, Japanese, Korean and Chinese.
Documents and memory
- Import PDF, TXT, Markdown and CSV. Keyword, semantic or hybrid retrieval (BM25 plus vectors) with source-passage citations. Image-only PDFs are not a verified path; on-device text recognition (ML Kit Latin) works on images.
- Local memories linked to the turns they came from, a memory inspector, and rolling conversation summaries.
- Encrypted backups: password-derived AES-256-GCM
.pllmfiles, validated before an import replaces local data.
Voice, vision and media
- On-device dictation and a hands-free voice mode using a SHA-256-verified Whisper bundle; audio-file transcription.
- Text-to-speech through the phone's engine, or optional on-device neural TTS models.
- Images: attach photos to models that support vision.
- Translator: on-device ML Kit text and camera translation, 59 languages. Language packs are about 30 MB each and download on demand.
- Image Studio: on-device Stable Diffusion text-to-image with models you install (arm64 phones), and background removal with ML Kit subject segmentation.
Tools
Every tool can be set to Auto-run, Ask first or Disabled, globally or per persona. Anything that acts outside the app shows a confirmation first.
| Tool | What it does | Needs |
|---|---|---|
| Calculator | Safe arithmetic | nothing |
| Device telemetry and clock | Date, time, battery and memory context | nothing |
| System hardware info | Chip, RAM and storage facts | nothing |
| Local notes and reminders | Save notes; schedule notifications | notifications |
| Knowledge base | Search your imported documents | nothing |
| Clipboard | Copy text; read the clipboard while Blorple is open | nothing |
| Calendar | List upcoming events; create an event | calendar |
| Contacts lookup | Find up to 5 matching contacts | contacts |
| Draft SMS / email | Open your SMS or mail app with a prepared draft | nothing |
| Read SMS (opt-in) | Read the 5 most recent inbox messages | SMS read |
| Send SMS (opt-in) | Send after an inline confirmation | SMS send |
| Set timer / alarm | Open the clock app with it ready to save | alarm |
| Search maps, dial a number | Open Maps or the dialer; never places a call | nothing |
| Open web URL | Open an address in your browser | nothing |
| Web search, read web page, Wikipedia, arXiv | Search and read the web (see Connections) | network |
| On-demand skills | Load a SKILL.md skill when asked |
nothing |
| MCP tool servers | Tools from remote MCP servers you add (Streamable HTTP or SSE); tokens are stored encrypted | network |
| Fast tool router | Optional tiny function-calling model that picks tools before the chat model answers | nothing |
Connections
Blorple is local-first, not network-free. Every app-managed connection goes
through one policy gateway
(assets/network_policy.json) with a live audit
log. Strict Offline Mode blocks all non-loopback traffic from the app with
one switch. On-device inference never sends prompts or completions anywhere.
| Destination | When | Sends |
|---|---|---|
api.github.com |
Update check, on by default, can be turned off in Settings | app version and standard HTTP headers |
| Hugging Face | Model search and downloads, when you use the Model Store | search text; model files are downloaded |
| Web search providers | Only when web search is on and you approve each search. No key needed for DuckDuckGo, Wikipedia and arXiv; optional providers with your own key: Tavily, Brave, Exa, SearXNG, Firecrawl, Jina, Serper, SerpApi, Perplexity, You.com, Parallel, Bright Data, Browserbase, TinyFish, Crawl4AI | the approved query |
r.jina.ai or your own page reader |
Reading a web page you approve | that page address |
| MCP servers | Only servers you add | tool requests and the optional token you set |
| Ollama / OpenAI-compatible servers | Only servers you configure | the prompt and context needed for a reply |
raw.githubusercontent.com |
Skill import from a GitHub URL you give | the file request |
| Translator language packs (Google ML Kit) | Only when you download a pack; blocked in Strict Offline | pack download |
| Google Play services (ML Kit) | Background removal in Image Studio | none from the app |
| Google (ML Kit diagnostics) | When translation, text recognition, language identification or background removal run; not controlled by Strict Offline | device model and OS, app version, per-installation identifier, performance figures, input and output sizes, event types, error codes |
Handing data to another Android app through an intent (for example opening your
mail app with a confirmed draft) leaves Blorple's sandbox. Full policy:
SECURITY.md.
Permissions
All runtime permissions are requested on demand, when you first use the feature.
| Permission | Used for |
|---|---|
INTERNET, ACCESS_NETWORK_STATE |
The connections above, and Wi-Fi-only download checks |
RECORD_AUDIO |
Dictation, voice mode, audio transcription |
CAMERA |
Camera translation and photo input |
READ_CALENDAR, WRITE_CALENDAR |
Calendar tools |
READ_CONTACTS |
Contacts lookup |
READ_SMS, SEND_SMS |
The opt-in SMS tools; off by default |
SET_ALARM |
Alarm and timer tool |
POST_NOTIFICATIONS |
Reminders, download progress, update notices |
RECEIVE_BOOT_COMPLETED |
Restoring scheduled reminders after a reboot or update |
FOREGROUND_SERVICE, FOREGROUND_SERVICE_DATA_SYNC |
Keeping a download or long task alive while the app is in the background |
REQUEST_INSTALL_PACKAGES |
Installing an update you confirm (GitHub APK builds only) |
Developer features
- Local OpenAI-compatible server:
/v1/models,/v1/chat/completions(with SSE) and/v1/embeddings, bound to loopback by default and protected by a key. A LAN mode shows an in-app warning, and a browser chat page is served at/ui. - Network audit log, activity log and error log, all stored on the device.
- Prompt Lab, A/B comparison and the benchmark described above.
Anything not listed here is not claimed. See
docs/KNOWN_LIMITATIONS.md for platform limits and
docs/DEVICE_COMPATIBILITY.md for measured
speeds on a physical phone.
Install
Download the APK for your phone from the
latest release and
verify it against SHA256SUMS.txt. Requires Android 7.0 (API 24) or newer.
arm64-v8a(recommended, most phones since 2017): full on-device runtime.x86_64: for emulators and x86 devices.armeabi-v7a: 32-bit build without native on-device inference; works with Ollama or OpenAI-compatible servers, OCR and documents.
Release APKs have been signed with the Blorple production key since v1.0.60
(certificate SHA-256
C8:E8:E1:21:98:BC:B2:A4:6D:DF:EA:C5:33:5F:C6:E3:34:22:D0:C0:E8:C4:1F:80:DE:1D:49:E3:F0:8F:80:64).
There is no Play Store listing yet. You can also track releases with
Obtainium. See Release signing.
Set up a model: pick one of four paths: download a device-matched starter
model (a 0.6B to 1.7B Q4 model is roughly 0.4 to 1.2 GB), connect a local
Ollama host, connect an OpenAI-compatible server, or import a .gguf file from
storage. If a model or prerequisite is missing, the app says so instead of
faking output.
Hardware: RAM is the main limit, because the quantized file plus its context
cache must fit in free memory next to Android. Measured speeds on a Pixel 10
(Tensor G5, 12 GB) across five GGUF models are in
docs/DEVICE_COMPATIBILITY.md. Reports from
other phones are welcome.
Build from source
git clone https://github.com/blorpleapp/blorple.git
cd blorple
flutter pub get
flutter analyze
flutter test
flutter run # requires an Android device or emulator
flutter build apk --split-per-abi --release
Pinned and CI-verified against Flutter 3.41.9 (Dart 3.11) and Java 17 with
the Android SDK. See CONTRIBUTING.md and
DEVELOPMENT.md.
Repository layout
lib/
├─ core/ shared widgets, theme and onboarding plumbing
├─ features/ chat, model_browser, rag, media, translator, settings, profile, sharing, ...
├─ l10n/ ARB localization catalogs (en, es, hi, ja, ko, zh)
├─ models/ Hive persistence models and manifests
└─ services/ llama.cpp, LiteRT-LM and remote inference, tool calling, MCP client,
network policy gateway, downloads, RAG, translator, image studio, backups
android/ Android host code: connectors, downloads, translator, widget, tile
webapp/ Next.js website and browser workspace
docs/ device benchmarks, signing notes, limitations, screenshots
release/ per-version GitHub release notes
scripts/release/ APK signature verification and SHA-256 checksum scripts
test/ unit, widget, accessibility and privacy regression suites
The browser workspace in webapp/ connects to Ollama or
OpenAI-compatible endpoints you control and stores conversations locally in
IndexedDB. It does not include the Android llama.cpp runtime.
Contributing
Blorple is MIT licensed. Bug reports, physical-device measurements, translation
reviews, accessibility testing, documentation and focused pull requests are
welcome. Start with CONTRIBUTING.md, follow the
Code of Conduct, and check open
good first issue
items. Report security issues privately via SECURITY.md.
Further reading
Website · Privacy Policy · Terms of Service · Authors · Changelog · Release notes · Device compatibility · Known limitations · Release signing
探索相关项目
加载中…