Case Study · Live on Google Play
Keptra App Icon

Designing Keptra

100% Local-First Knowledge, AI Chat & Diary Vault for Android

How CODEWITHSK engineered a zero-server native Android application with Kotlin, Jetpack Compose, Material 3, and SQLite—giving users one private vault for AI conversations, web articles, PDFs, ML Kit OCR scans, and voice memos.

Kotlin & ComposeMaterial 3Native SQLiteAES-256-GCM BYOKML Kit OCRv1.0.0
Keptra Home Screen
100%

Local-first SQLite & device media storage

0

CODEWITHSK backend servers or tracking

256-bit

AndroidKeyStore AES-GCM key encryption

3 Formats

One-tap export to PDF, Markdown & HTML

Keptra Play Store Feature Graphic
01 · Challenge & Solution

Why Keptra Exists

The Problem

  • ✕Valuable AI answers and links get buried across chat logs and browser tabs.
  • ✕Cloud note apps force sign-ups, subscriptions, and server-side storage of private notes.
  • ✕Offline PDFs, OCR screenshots, and voice memos rarely live cleanly in one place.

The Keptra Solution

  • ✓Unified Vault & Diary notebook with Android Share Sheet capture and URL extraction.
  • ✓On-device SQLite + app-private media storage protected by BiometricPrompt.
  • ✓Ask Vault RAG chat using your own encrypted Gemini key, local Ollama, or offline fallback.
02 · Interactive Walkthrough

Inside the App

Library & Smart Collections
03 · Technical Architecture

Zero-Server Data Pipeline

01 · INGEST

Capture Anything

Android Share Sheet, pasted URLs (WebPageExtractor), ML Kit OCR scans, PDFs, or voice notes.

02 · PARSE

Structure Offline

ThreadParser detects AI platforms, Markdown tables, code blocks, and inline media markers.

03 · PERSIST

Private Storage

VaultDatabaseHelper writes to threadvault.db while attachments stay in app-private storage.

04 · QUERY & EXPORT

Ask & Share

Instant snippet search, ByokAiService RAG chat (Gemini / Ollama), and PDF/MD/HTML export.

04 · Play Store Visuals

Storefront Showcase

Click any screenshot to zoom in.

05 · Product Roadmap

What’s Next for Keptra

SHIPPED · v1.0.0

Foundation & Play Launch

  • •Vault & Diary capture with OCR, PDFs & voice
  • •Ask Vault BYOK Gemini / Ollama RAG
  • •Warm Cream & Obsidian Dark themes
UP NEXT · v1.1

Capture & Reading Upgrades

  • •Native EPUB book chapter reader
  • •Daily timeline grouping in Diary
  • •Live CameraX OCR viewfinder & Mermaid renderer
PLANNED · v1.2

Sync, Widgets & Pro

  • •1-tap Quick-Paste home screen widget
  • •Encrypted .keptra archive backup/restore
  • •Optional user-owned Google Drive App-Folder sync

Try Keptra on Android Today

Built by CODEWITHSK — zero accounts, zero tracking, 100% yours.