[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-74900":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":40,"readmeContent":41,"aiSummary":42,"trendingCount":16,"starSnapshotCount":16,"syncStatus":43,"lastSyncTime":44,"discoverSource":45},74900,"off-grid-mobile-ai","alichherawalla\u002Foff-grid-mobile-ai","alichherawalla","The Swiss Army Knife of Offline AI. Chat, Speak, and Generate Images - Privacy First, Zero Internet. Download an LLM and use it on your mobile device. No data ever leaves your phone. Supports text-to-text, vision, text-to-image","https:\u002F\u002Fjoin.slack.com\u002Ft\u002Foff-grid-mobile\u002Fshared_invite\u002Fzt-3q7kj5gr6-rVzx5gl5LKPQh4mUE2CCvA",null,"TypeScript",2427,216,18,107,0,39,104,378,117,29.01,"MIT License",false,"main",true,[27,28,29,30,31,32,33,34,35,36,37,38,39],"edge-ai","gguf","llama-cpp","local-ai","mobile-ai","offline-ai","offline-llm","ondevice","ondevice-ai","privacy-first","stable-diffusion-android","tool-calling","whisper-android","2026-06-12 02:03:29","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"src\u002Fassets\u002Flogo.png\" alt=\"Off Grid Logo\" width=\"120\" \u002F>\n\n# Off Grid\n\n### The Swiss Army Knife of On-Device AI\n\n**Chat. Generate images. Use tools. See. Listen. All on your phone or Mac. All offline. Zero data leaves your device.**\n\n[![GitHub stars](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Falichherawalla\u002Foff-grid-mobile?style=social)](https:\u002F\u002Fgithub.com\u002Falichherawalla\u002Foff-grid-mobile)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-blue.svg)](LICENSE)\n[![Google Play](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FGoogle%20Play-Download-brightgreen?logo=google-play)](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=ai.offgridmobile)\n[![App Store](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FApp%20Store-Download-blue?logo=apple)](https:\u002F\u002Fapps.apple.com\u002Fus\u002Fapp\u002Foff-grid-local-ai\u002Fid6759299882)\n[![Platform](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPlatform-Android%20%7C%20iOS%20%7C%20macOS-green.svg)](#install)\n[![codecov](https:\u002F\u002Fcodecov.io\u002Fgh\u002Falichherawalla\u002Foff-grid-mobile\u002Fgraph\u002Fbadge.svg)](https:\u002F\u002Fcodecov.io\u002Fgh\u002Falichherawalla\u002Foff-grid-mobile)\n[![Slack](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSlack-Join%20Community-4A154B?logo=slack)](https:\u002F\u002Fjoin.slack.com\u002Ft\u002Foff-grid-mobile\u002Fshared_invite\u002Fzt-3q7kj5gr6-rVzx5gl5LKPQh4mUE2CCvA)\n\n\u003C\u002Fdiv>\n\n---\n\n\u003Cdiv align=\"center\">\n\n\u003Csub>\u003Cb>BUILT BY\u003C\u002Fb>\u003C\u002Fsub>\n\n\u003Ca href=\"https:\u002F\u002Fmobile.wednesday.is\u002Fhire-ai-native-mobile-squad?utm_source=github&utm_medium=offgrid-readme&utm_campaign=ai-native-mobile-squad&utm_content=logo\">\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fmobile.wednesday.is\u002Flogos\u002Fwednesday-logo.svg\" \u002F>\u003Cimg src=\"src\u002Fassets\u002Fwednesday-logo.svg\" alt=\"Wednesday Solutions\" height=\"104\" \u002F>\u003C\u002Fpicture>\u003C\u002Fa>\n\n\u003C\u002Fdiv>\n\nOff Grid is built by [**Wednesday Solutions**](https:\u002F\u002Fmobile.wednesday.is\u002Fhire-ai-native-mobile-squad?utm_source=github&utm_medium=offgrid-readme&utm_campaign=ai-native-mobile-squad&utm_content=body-link). We run **AI-Native Mobile Squads**: pre-vetted iOS and Android engineers paired with AI tooling for code review, testing, screenshot regression, and release notes. Squads plug into your org in a week and ship to production from day one.\n\n\u003Ctable align=\"center\">\n  \u003Ctr>\n    \u003Ctd>\u003Cimg src=\"src\u002Fassets\u002Fstat-4x.svg\" alt=\"4x faster to ship\" width=\"200\" \u002F>\u003C\u002Ftd>\n    \u003Ctd>\u003Cimg src=\"src\u002Fassets\u002Fstat-2x.svg\" alt=\"2x fewer crashes\" width=\"200\" \u002F>\u003C\u002Ftd>\n    \u003Ctd>\u003Cimg src=\"src\u002Fassets\u002Fstat-10x.svg\" alt=\"10x more output, same cost\" width=\"200\" \u002F>\u003C\u002Ftd>\n    \u003Ctd>\u003Cimg src=\"src\u002Fassets\u002Fstat-100.svg\" alt=\"100% money-back if we miss the claims\" width=\"200\" \u002F>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003Cp align=\"center\">\u003Cb>Want the same team that shipped offline AI to a phone working on your product?\u003C\u002Fb>\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n\u003Ca href=\"https:\u002F\u002Fmobile.wednesday.is\u002Fhire-ai-native-mobile-squad?utm_source=github&utm_medium=offgrid-readme&utm_campaign=ai-native-mobile-squad&utm_content=hire-cta\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FHire%20an%20AI--Native%20Squad%20%E2%86%92-181717?style=for-the-badge&labelColor=000000\" alt=\"Hire an AI-Native Squad\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n## Not just another chat app\n\nMost \"local LLM\" apps give you a text chatbot and call it a day. Off Grid is a **complete offline AI suite** — text generation, image generation, vision AI, voice transcription, tool calling, and document analysis, all running natively on your phone's or Mac's hardware.\n\n---\n\n## What can it do?\n\n\u003Cdiv align=\"center\">\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd align=\"center\">\u003Cimg src=\"demo-gifs\u002Fonboarding.gif\" width=\"200\" \u002F>\u003Cbr \u002F>\u003Cb>Onboarding\u003C\u002Fb>\u003C\u002Ftd>\n    \u003Ctd align=\"center\">\u003Cimg src=\"demo-gifs\u002Ftext-gen.gif\" width=\"200\" \u002F>\u003Cbr \u002F>\u003Cb>Text Generation\u003C\u002Fb>\u003C\u002Ftd>\n    \u003Ctd align=\"center\">\u003Cimg src=\"demo-gifs\u002Fimage-gen.gif\" width=\"200\" \u002F>\u003Cbr \u002F>\u003Cb>Image Generation\u003C\u002Fb>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd align=\"center\">\u003Cimg src=\"demo-gifs\u002Fvision.gif\" width=\"200\" \u002F>\u003Cbr \u002F>\u003Cb>Vision AI\u003C\u002Fb>\u003C\u002Ftd>\n    \u003Ctd align=\"center\">\u003Cimg src=\"demo-gifs\u002Fattachments.gif\" width=\"200\" \u002F>\u003Cbr \u002F>\u003Cb>Attachments\u003C\u002Fb>\u003C\u002Ftd>\n    \u003Ctd align=\"center\">\u003Cimg src=\"demo-gifs\u002Ftool-calling.gif\" width=\"200\" \u002F>\u003Cbr \u002F>\u003Cb>Tool Calling\u003C\u002Fb>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\u003C\u002Fdiv>\n\n**Text Generation** — Run Qwen 3, Llama 3.2, Gemma 3, Phi-4, and any GGUF model. Streaming responses, thinking mode, markdown rendering, 15-30 tok\u002Fs on flagship devices. Bring your own `.gguf` files too.\n\n**Remote LLM Servers** — Connect to any OpenAI-compatible server on your local network (Ollama, LM Studio, LocalAI). Discover models automatically, stream responses via SSE, store API keys securely in the system keychain. Switch seamlessly between local and remote models.\n\n**Tool Calling** — Models that support function calling can use built-in tools: web search, calculator, date\u002Ftime, device info, and knowledge base search. Automatic tool loop with runaway prevention. Clickable links in search results.\n\n**Project Knowledge Base** — Upload PDFs and text documents to a project's knowledge base. Documents are chunked, embedded on-device with a bundled MiniLM model, and retrieved via cosine similarity — all stored locally in SQLite. The `search_knowledge_base` tool is automatically available in project conversations.\n\n**Image Generation** — On-device Stable Diffusion with real-time preview. NPU-accelerated on Snapdragon (5-10s per image), Core ML on iOS. 20+ models including Absolute Reality, DreamShaper, Anything V5.\n\n**Vision AI** — Point your camera at anything and ask questions. SmolVLM, Qwen3-VL, Gemma 3n — analyze documents, describe scenes, read receipts. ~7s on flagship devices.\n\n**Voice Input** — On-device Whisper speech-to-text. Hold to record, auto-transcribe. No audio ever leaves your phone.\n\n**Document Analysis** — Attach PDFs, code files, CSVs, and more to your conversations. Native PDF text extraction on both platforms.\n\n**AI Prompt Enhancement** — Simple prompt in, detailed Stable Diffusion prompt out. Your text model automatically enhances image generation prompts.\n\n---\n\n\u003Cbr \u002F>\n\n\u003Cdiv align=\"center\">\n\n\u003Csub>**FOUNDING SUPPORTER PRE-ORDERS · NOW OPEN**\u003C\u002Fsub>\n\n# Off Grid Pro\n\n**First 100 supporters lock in lifetime access for $10.**\n\n\u003C\u002Fdiv>\n\n\u003Cbr \u002F>\n\nThe free OSS keeps shipping, MIT, forever — that's not changing. Pro is an optional, additive tier we're opening pre-orders for.\n\nThis is our little hope of keeping ambient AI on-device alive — and sustaining the open-source release that this project has been built on for the last two years. Not a subscription. Not VC. A small, finite group of people willing to fund the next 12 weeks of full-time work.\n\n**$10 × 100 = $1,000. After that, lifetime Pro moves to $50.**\n\n### What Pro adds\n\n- **Custom personas** — system prompts, voice, persistent memory per assistant\n- **End-to-end voice mode** — Whisper STT (already shipping) + Kokoro TTS, all on-device\n- **Calendar + email + MCP servers** — Linear, Notion, GitHub, your own MCP. Drafts only; you approve every send.\n- **Larger models** — full size range, including 7B on flagship phones, 13B on iPads \u002F M-series Macs\n- **Future Pro features** — included for the supported lifetime of the app\n\n### The promise\n\nPro ships in **12 weeks** from your purchase, or full refund. No forms, no questions.\n\n### Claim a Founding Supporter spot\n\nJoin the founders Slack and drop into **#pro-first-100**. We'll say hi and get you set up.\n\n**[→ Join the Slack](https:\u002F\u002Fjoin.slack.com\u002Ft\u002Foff-grid-mobile\u002Fshared_invite\u002Fzt-3q7kj5gr6-rVzx5gl5LKPQh4mUE2CCvA)**\n\n## Performance\n\n| Task | Flagship | Mid-range |\n|------|----------|-----------|\n| Text generation | 15-30 tok\u002Fs | 5-15 tok\u002Fs |\n| Image gen (NPU) | 5-10s | — |\n| Image gen (CPU) | ~15s | ~30s |\n| Vision inference | ~7s | ~15s |\n| Voice transcription | Real-time | Real-time |\n\nTested on Snapdragon 8 Gen 2\u002F3, Apple A17 Pro. Results vary by model size and quantization.\n\n---\n\n\u003Ca name=\"install\">\u003C\u002Fa>\n## Install\n\n\u003Cdiv align=\"center\">\n\u003Ctable>\u003Ctr>\n\u003Ctd align=\"center\">\u003Ca href=\"https:\u002F\u002Fapps.apple.com\u002Fus\u002Fapp\u002Foff-grid-local-ai\u002Fid6759299882\">\u003Cimg src=\"https:\u002F\u002Fdeveloper.apple.com\u002Fassets\u002Felements\u002Fbadges\u002Fdownload-on-the-app-store.svg\" alt=\"Download on the App Store\" width=\"180\" \u002F>\u003C\u002Fa>\u003C\u002Ftd>\n\u003Ctd align=\"center\">\u003Ca href=\"https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=ai.offgridmobile\">\u003Cimg src=\"https:\u002F\u002Fplay.google.com\u002Fintl\u002Fen_us\u002Fbadges\u002Fstatic\u002Fimages\u002Fbadges\u002Fen_badge_web_generic.png\" alt=\"Get it on Google Play\" width=\"220\" \u002F>\u003C\u002Fa>\u003C\u002Ftd>\n\u003C\u002Ftr>\u003C\u002Ftable>\n\u003C\u002Fdiv>\n\nOr grab the latest APK from [**GitHub Releases**](https:\u002F\u002Fgithub.com\u002Falichherawalla\u002Foff-grid-mobile\u002Freleases\u002Flatest).\n\n> **macOS**: The iOS App Store version runs natively on Apple Silicon Macs via Mac Catalyst \u002F iPad compatibility.\n\n### Build from source\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Falichherawalla\u002Foff-grid-mobile.git\ncd off-grid-mobile\nnpm install\n\n# Android\ncd android && .\u002Fgradlew clean && cd ..\nnpm run android\n\n# iOS\ncd ios && pod install && cd ..\nnpm run ios\n```\n\n> Requires Node.js 20+, JDK 17 \u002F Android SDK 36 (Android), Xcode 15+ (iOS). See [full build guide](docs\u002FARCHITECTURE.md#building-from-source).\n\n---\n\n## Testing\n\n[![CI](https:\u002F\u002Fgithub.com\u002Falichherawalla\u002Foff-grid-mobile\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Falichherawalla\u002Foff-grid-mobile\u002Factions\u002Fworkflows\u002Fci.yml)\n[![codecov](https:\u002F\u002Fcodecov.io\u002Fgh\u002Falichherawalla\u002Foff-grid-mobile\u002Fgraph\u002Fbadge.svg)](https:\u002F\u002Fcodecov.io\u002Fgh\u002Falichherawalla\u002Foff-grid-mobile)\n\nTests run across three platforms on every PR:\n\n| Platform | Framework | What's covered |\n|----------|-----------|----------------|\n| React Native | Jest + RNTL | Stores, services, components, screens, contracts |\n| Android | JUnit | LocalDream, DownloadManager, BroadcastReceiver |\n| iOS | XCTest | PDFExtractor, CoreMLDiffusion, DownloadManager |\n| E2E | Maestro | Critical path flows (launch, chat, models, downloads) |\n\n```bash\nnpm test              # Run all tests (Jest + Android + iOS)\nnpm run test:e2e      # Run Maestro E2E flows (requires running app)\n```\n\nThis project is tested with BrowserStack.\n\n---\n\n## Documentation\n\n| Document | Description |\n|----------|-------------|\n| [Architecture & Technical Reference](docs\u002FARCHITECTURE.md) | System architecture, design patterns, native modules, performance tuning |\n| [Codebase Guide](docs\u002Fstandards\u002FCODEBASE_GUIDE.md) | Comprehensive code walkthrough |\n| [Design System](docs\u002Fdesign\u002FDESIGN_PHILOSOPHY_SYSTEM.md) | Brutalist design philosophy, theme system, tokens |\n| [Visual Hierarchy Standard](docs\u002Fdesign\u002FVISUAL_HIERARCHY_STANDARD.md) | Visual hierarchy and layout standards |\n\n---\n\n## Community\n\nJoin the conversation on [**Slack**](https:\u002F\u002Fjoin.slack.com\u002Ft\u002Foff-grid-mobile\u002Fshared_invite\u002Fzt-3q7kj5gr6-rVzx5gl5LKPQh4mUE2CCvA) — ask questions, share feedback, and connect with other Off Grid users and contributors.\n\n---\n\n## Contributing\n\nContributions welcome! Fork, branch, PR. See [development guidelines](docs\u002FARCHITECTURE.md#contributing) for code style and the [codebase guide](docs\u002Fstandards\u002FCODEBASE_GUIDE.md) for patterns.\n\n---\n\n## Acknowledgments\n\nBuilt on the shoulders of giants:\n[llama.cpp](https:\u002F\u002Fgithub.com\u002Fggerganov\u002Fllama.cpp) | [whisper.cpp](https:\u002F\u002Fgithub.com\u002Fggerganov\u002Fwhisper.cpp) | [llama.rn](https:\u002F\u002Fgithub.com\u002Fmybigday\u002Fllama.rn) | [whisper.rn](https:\u002F\u002Fgithub.com\u002Fmybigday\u002Fwhisper.rn) | [local-dream](https:\u002F\u002Fgithub.com\u002Fxororz\u002Flocal-dream) | [ml-stable-diffusion](https:\u002F\u002Fgithub.com\u002Fapple\u002Fml-stable-diffusion) | [MNN](https:\u002F\u002Fgithub.com\u002Falibaba\u002FMNN) | [Hugging Face](https:\u002F\u002Fhuggingface.co)\n\n---\n\n\n## Star History\n\n[![Star History Chart](https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=alichherawalla\u002Foff-grid-mobile&type=date&legend=top-left)](https:\u002F\u002Fwww.star-history.com\u002F#alichherawalla\u002Foff-grid-mobile&type=date&legend=top-left)\n\n\u003Cdiv align=\"center\">\n\n**Off Grid** — Your AI, your device, your data.\n\n*No cloud. No data harvesting. Just AI that works anywhere.*\n\n[Join the Community on Slack](https:\u002F\u002Fjoin.slack.com\u002Ft\u002Foff-grid-mobile\u002Fshared_invite\u002Fzt-3q7kj5gr6-rVzx5gl5LKPQh4mUE2CCvA)\n\n\u003C\u002Fdiv>\n","Off Grid 是一个离线AI工具，支持在移动设备上进行聊天、图像生成等功能，确保数据完全本地处理，不依赖互联网。其核心功能包括文本到文本、视觉识别、文本到图像生成等，并且支持多种AI模型如Llama.cpp和Stable Diffusion等。该项目采用TypeScript开发，具有良好的跨平台兼容性，适用于Android、iOS及macOS系统。由于其强调隐私保护和无需网络连接的特点，非常适合对数据安全有高要求或网络条件受限的场景使用。",2,"2026-06-11 03:51:21","high_star"]