Inspiration

My phone holds thousands of photos I can't find. The rental receipt I needed for my deposit, the prescription I couldn't re-read, the screenshot of a QR code — no filenames, nothing to search by. Uploading everything to a cloud gallery to index it for me was the easy path, a trade I wasn't willing to make. So I built Mieru AI — Android-only, local-first search that makes what's hidden on your device visible again, without giving it away.

What it does

Mieru indexes photos, screenshots, PDFs, and DOCX on-device and lets you search the way you think. Just describe what you remember — "dog on beach", "beach sunset last summer", "rental agreement" — and it finds it by meaning, not filenames.

  • Natural-language + time: understands "last week", "since 2023",
  • Text inside photos: OCR for receipts, notes, screenshots, QR codes,
  • Faces, scenes, objects, near-duplicates via long-press Find More Like This,
  • 11 languages, Safe Search filter, chat-style step flow,
  • Two modes: Quick works fully offline, Precise uses AI cleanup for harder queries,
  • Active Engine (Auto): Neural for full AI, Flash for keyword-only fallback when warm or capped,
  • Document scanner: Tap + to capture, saves to gallery on device and indexes instantly for search. ## How we built it Flutter + Drift/SQLite FTS5 + ML Kit + on-device CLIP (TFLite image + text towers, tokenizer). Indexing runs in background workers: ML Kit labeling/OCR/barcode/face/NSFW to FTS5, CLIP image embeddings to .fvecs, then post-passes for doc chunks and OCR text. Search is two-stage off main thread: FTS5 union semantic, local RRF rank. Quick uses on-device spell check only. Precise adds AI query normalization, then everything retrieves and ranks on-device. Running AI on a phone is a budget: towers never resident together, tokenizer + vectors shed under pressure, models XOR-obfuscated in the APK and loaded via memory only. Monetization with RevenueCat: Starter vs Pro tiers via entitlements. purchases_flutter Offerings + RevenueCatUI.presentPaywall() + realtime entitlement listener + Hive offline cache with silent re-sync, so expiry/offline never sticks the app in a wrong state. Precise, Safe Search, and Find More Like This are Pro-gated. ## Challenges we ran into
  • Memory: two large towers + growing index. Fixed with load-what-you-need, transient images deleted after scan, WAL + vector cache shed.
  • Heat: sustained inference throttles phones. Added unified SEVERE + 38°C battery gate — Cool by Design pauses heavy work when warm, picks up where it left off when cool, and auto-switches Active Engine: Neural (full AI) when cool, Flash (FTS5 keyword-only) when warm/capped.
  • Android permission race: first launch shows one dialog at a time, photo request can starve notification request and stall first indexing. Made startup order + resume resilient.
  • Honest failures: offline Precise throws SearchUnavailable with "Quick works offline" instead of silently returning unranked results. ## Accomplishments that we're proud of 100% on-device index, Quick search truly offline, no account needed. Heat-aware pause that feels smart, not broken: "Indexing paused — Device is warm". RevenueCat paywalls that work offline-first and stay truthful on expiry. 11 locales in sync, accessibility + dark/light polish. ## What we learned On-device AI is a systems problem, not a model problem. Memory budgets, thermal envelopes, permission races, and honest error states are the real engineering. Privacy is architectural: if photos never leave the device, there's no policy to trust. ## What's next for Mieru AI: Photos & Docs Search Production tier roll-out (101/21 Starter, 1001/201 Pro), Precise quality tuning from real libraries, cooler + faster post-passes, Play production.

Built With

Share this project:

Updates

posted an update —

Find Any Photo & Document Instantly — AI Photo Search for Your Gallery

Tired of scrolling thousands of photos to find one picture? Mieru is the smart AI photo search & document search app that makes your entire phone searchable with words. Just type what you remember — find photos, PDFs and Word docs instantly, 100% private and offline.

Type "beach sunset last summer", "my rental agreement", "receipt from April" or "bank screenshot" — Mieru's on-device AI finds it in seconds. No tags, no folders, no cloud.

WHY MIERU — PRIVATE PHOTO & PDF SEARCH

Unlike cloud galleries, Mieru never uploads your photos or documents. All gallery search, PDF search and image search happens directly on your phone with on-device AI. Your memories stay yours. Works as offline search after indexing — no internet needed to find files.

POWERFUL AI SEARCH FOR PHOTOS & DOCUMENTS

• AI Photo Search & Gallery Search — Natural language search: "dog on beach", "birthday cake", "selfie from Goa". Find images by meaning, not file names. • Document Search & PDF Search — Search photos, PDFs & DOCX together. Find documents by content: "rental agreement", "invoice #1234", "wedding invitation". • Text Inside Photos — Built-in OCR & receipt scanner finds text in screenshots, receipts, notes and QR codes. Search photos by text. • Understands Meaning — On-device semantic search finds "puppy" for "dog", "house contract" for "rental agreement". • Smart & Private Image Search — Face, scene and object detection — all offline, no cloud.

SEARCH PHOTOS & PDFS BY TEXT — USE CASES

Find any file fast: photo search for travel memories, gallery search for selfies, PDF search for bills & receipts, document search for study notes, file search for IDs & screenshots, QR code search for WiFi. If it's on your phone, Mieru finds it.

PLANS — PHOTO & DOCUMENT SEARCH LIMITS

• STARTER (Free Photo & Document Search): Search up to 101 photos & 31 documents — perfect to try Mieru. • PRO: Unlock up to 1501 photos & 501 documents + advanced AI search, document scanner and offline search. Includes 3-day free trial if eligible. Subscription billed monthly, auto-renews monthly unless cancelled 24h before period ends. Cancel anytime in Play Store → Subscriptions. Price shown at purchase and varies by region.

BUILT FOR PRIVACY, SPEED & OFFLINE SEARCH 100% On-Device & Private — Nothing leaves your device. Lightning fast file search, no account needed, works offline.

Permissions: Photo access for on-device photo search indexing. Document folder access (you choose) for PDF & document search. All processing is offline.

Log in or sign up for Devpost to join the conversation.

Submission history