본문으로 건너뛰기
AI NEWS JOURNAL
Hacker News Show HNAI NEWS / JOURNAL

Show HN: PocketLLM Lite – open-source Android app that runs GGUF models offline

Article URL: https://github.com/PocketLLM/pocketllm-lite Comments URL: https://news.ycombinator.com/item?id=50708151 Points: 1 # Comments: 0

번역 서비스가 일시 중지되어 원문을 표시합니다.

A local-first AI chat workspace for Android. Your models, your documents, your apps, your device. Download APK (v1.0.58) · Website · Quick start · Benchmarks · Privacy Policy · Known limitations · Authors · Contribute Why PocketLLM Lite Runs GGUF models directly on your phone. On-device inference runs through llama.cpp (via llamadart). Download curated starter weights with pinned sizes, SHA-256 digests, and licenses in one tap, browse and pull GGUF quantizations from Hugging Face Hub, or import any .gguf file from device storage. Legacy Cactus bundles still load for older installs. No account and no hosted inference. Bring your own server whenever you want. Connect a local or LAN Ollama host, LM Studio, vLLM, or any OpenAI-compatible /v1 endpoint from the same model switcher. PocketLLM makes it clear when requests stay on-device versus when they use a server you configured. Acts on your apps, with your say. Built-in local tools and Android app connectors let models calculate, read live device context, search your documents and notes, look up contacts, draft SMS or email, and prepare calendar events, alarms, or timers using interactive confirmation cards. Every tool can be set to Auto-run, Ask first, or Disabled globally or per persona. You decide when the network is used. Every app-managed connection goes through a single policy gateway (assets/network_policy.json) with a live session audit log. Strict Offline Mode blocks all non-loopback traffic from the app with one switch. Your documents and memories stay in your sandbox. Import PDF, TXT, Markdown, or CSV files for keyword, semantic, or hybrid RAG with source passage chips, inspect or edit extracted local memories, and export password-derived AES-256-GCM .pllm encrypted backups. No ads, no analytics, no tracking SDKs. Regression suites in test/regressions fail the build if ad, telemetry, or unapproved network paths appear. What it looks like (v1.0.58) Real captures from the v1.0.58 Android build (see docs/videos/v1-0-58-onboarding-shark-dive.mp4 for the live 5-act 3D morphing onboarding and shark dive transition). What works in v1.0.58 Anything not listed here is not claimed. See docs/KNOWN_LIMITATIONS.md for current platform and verification boundaries, and docs/DEVICE_COMPATIBILITY.md for measured physical-phone speeds. Try it in five minutes Install. Download the APK matching your device from the v1.0.58 release and verify it against SHA256SUMS.txt: arm64-v8a (recommended — most Android phones from 2017 onward): includes the full on-device llama.cpp GGUF runtime (and legacy Cactus runtime). x86_64: includes llama.cpp for desktop Android emulators. armeabi-v7a: 32-bit build without native on-device inference; works with Ollama or OpenAI-compatible servers, OCR, and documents. Requires Android 7.0 (API 24) or newer. Release APKs in this repository are currently debug-signed engineering builds (see Release signing and Known limitations). Complete the 5-act onboarding. Swipe or tap through the 3D overview, pick Light or Dark on the final slide, and tap Get Started to dive into Chat. Set up a model. Tap Set up a model in the top bar and pick one of four paths: Download On-Device Model: grab a device-matched verified GGUF starter model (such as Qwen3 0.6B, Gemma 3 1B, Llama 3.2 1B, or Qwen3 1.7B — a 0.6B–1.7B Q4 model is roughly 0.4 to 1.2 GB over Wi-Fi). Connect Local Ollama: point to http://127.0.0.1:11434 or your LAN desktop host. OpenAI-Compatible Server: link LM Studio, vLLM, or any /v1 endpoint. Import Local .gguf File: load weights directly from phone storage. Chat, attach docs, or run tools. Every reply comes from your selected model — if a model or prerequisite is missing, the app tells you directly instead of faking output. Hardware guidance RAM is the primary constraint: the quantized GGUF file plus its KV context cache must fit in free memory alongside Android. PocketLLM profiles device RAM, CPU cores, ABI, and free storage to rank starter models conservatively and displays unknown whenever Android does not expose a metric. Measured speeds on a physical Pixel 10 (Tensor G5, 12 GB) across five GGUF models are recorded in docs/DEVICE_COMPATIBILITY.md. Community reports from additional devices and quantizations are welcome (see Contributing). Privacy model in one paragraph Chats, documents, vector indexes, notes, and memories live inside the app sandbox. On-device llama.cpp inference never transmits prompts or completions. Outbound network traffic occurs only for explicit, user-visible features (model catalog search/downloads from Hugging Face, opt-in GitHub update checks, opt-in Tavily web search, or remote Ollama/OpenAI servers you configure). Turning on Strict Offline Mode blocks all non-loopback app traffic at the transport gateway. It is an application-level boundary rather than an OS firewall: handing data to an external Android app via an intent (such as opening your mail or SMS app with a confirmed draft) leaves PocketLLM's sandbox. Full policy: SECURITY.md and assets/network_policy.json. Build from source git clone https://github.com/PocketLLM/pocketllm-lite.git cd pocketllm-lite 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 for coding guidelines and verification checks. Repository layout lib/ ├─ core/ │ ├─ avatar/ deterministic 8×8 PixelOrbAvatar engine │ ├─ design_system/ Pocket Design System tokens, glass controls & tool jackets │ ├─ onboarding/ versioned What's New notification & spotlight tour engine │ ├─ theme/ cached Material 3 theme & appearance providers │ └─ widgets/ 3D ASCII/Bitmap & shark engine, Liquid Glass composer/sidebar/toggles ├─ design_system/ shared surfaces, primitives, typography & component gallery ├─ features/ chat, onboarding, model_browser, rag, voice, settings, profile, sharing, ... ├─ l10n/ ARB localization catalogs (en, es, hi, ja, ko, zh) ├─ models/ Hive persistence models, tool call records & manifests └─ services/ llama.cpp & remote inference, tool calling, Android connectors, network policy gateway, resumable downloads, hybrid RAG & encrypted backup webapp/ Next.js Web Edition and marketing site (auto-synced with GitHub releases) docs/ device benchmarks, architecture/design docs, screenshots, demo videos & audits release/ per-version GitHub release notes scripts/release/ APK signature verification & SHA-256 checksum scripts test/ unit, widget, accessibility & privacy/truth regression suites Web Edition webapp/ contains the Next.js browser workspace and project website. It connects to Ollama or OpenAI-compatible endpoints you control and stores conversations locally in IndexedDB. It does not bundle the Android llama.cpp native runtime. Contributing PocketLLM Lite is MIT licensed. Bug reports, physical-device compatibility 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 · Obtainium config · Authors · Changelog · Release notes · Device compatibility · Known limitations · Design system · Release signing

자료 출처

원문 읽기 ↗

관련 주제

← 전체 소식 이어 읽기