Skip to content

About

A sophisticated, local-first workspace featuring AI driven voice formatting, Semantic Search and SQLite FTS.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

📝 Notepad

Notepad is a sophisticated, local-first workspace engineered to dissolve the friction between thought and digital record. Blending high-performance SQLite FTS power with advanced Groq AI integration, it transforms a minimalist interface into a secure, intelligent thinking partner. Every interaction is tuned for near-instant responsiveness, ensuring your focus remains entirely on your ideas.

Home Screen Note Editor Search Page Recycle Bin

📥 Download

📱 Download Latest APK


🚀 Core Pillars

🧠 Intelligence & Search

  • Smart AI Assistant: Execute hands-free commands and dictate thoughts via high-speed Groq AI integration. Transform documents in real-time with natural commands like "Make the first line green" or "Underline all instances of 'Notepad'".
  • Lightning-Fast Search: Locate precise keywords instantly with local SQLite FTS and smart fuzzy search. Catches typos effortlessly, with real-time text highlighting and smart date-range filtering.
  • Intelligent Auto-Save: Every stroke is captured in real-time with zero latency, backed by visual save-status indicators.
  • Smart Topic Discovery: Automatically organizes and tags your notes by topic using an on-device AI model. Finds related ideas instantly without any of your personal notes ever leaving your phone.

🔒 Uncompromising Privacy & Safety

  • Privacy-First Design: Your data is your business. Every note is secured on-device using local, high-security hardware-backed encryption (AES-256).
  • Secure Cloud Backup: Never lose a moment of inspiration. Authenticate safely to sync your notes directly to your personal, private Google Drive storage on-demand.
  • Managed Recycle Bin: A robust safety net to recover accidental deletions or perform permanent data purging from a dedicated bin.

✨ Editor & Workspace

  • Professional Editor: A highly responsive rich-text engine supporting headers, styles, hyperlinks, interactive bullet lists, and smart link overlays for instant calling, emailing, or adding calendar events.
  • Smart Organization: Power-user multi-select tools for batch pinning, sharing, or deleting, plus a bespoke draggable color picker interface for workspace personalization.
  • Modern Design System: AMOLED-optimized dark mode, adaptive grid layouts for tablets, and silky-smooth cross-fade transitions powered by a central Design Token engine.

🏗️ Engineering & Tech Stack

Notepad is built on a Feature-First architecture with a strict Controller-Service-Repository pattern, ensuring the app is highly optimized, testable, and production-ready.

  • Decoupled Logic: Separation into distinct layers (UI → Controller → Service → Repository) for maximum modularity.
  • Polyglot Data Layer: High-speed Hive (NoSQL) for live document state, in-memory SQLite FTS5 for zero-latency text indexing, and dedicated persistent on-device Vector Storage for semantic embeddings.
  • Data Integrity: Uses ULID-based identifiers for consistent lexicographical ordering and reliable local-to-cloud synchronization.
  • Semantic Theming: Unified Tokens engine and context_extensions for instant, type-safe UI consistency across the entire app.

📊 Health & Metrics

Automated Tests Total Code Coverage Codebase Volume
🧪 340+ Tests 📈 73% 📂 18k+ App LOC

🔍 View Detailed LCOV Coverage Report

Code Coverage Dashboard

📐 Key Architectural Trade-offs

  • Polyglot Storage & Privacy: Live document states are stored persistently via encrypted Hive boxes. To prevent unencrypted text indices from touching physical disk storage, search indexing (SQLite FTS5) and semantic vector comparisons are handled strictly in-memory (RAM) and destroyed upon app closure.
  • Dual-Tier Hybrid Voice Engine: Employs a deterministic, offline regex parser (LocalVoiceParser) as a first line of defense to resolve structural edits, selections, and formatting with sub-millisecond latency and zero API cost. High-entropy, unstructured, or ambiguous phrasing dynamically falls back to cloud-hosted Groq LLM pipelines.
  • Resilient Single-User Sync: Avoids heavy CRDT synchronization overhead by leveraging a rolling 3-snapshot system in the isolated Google Drive AppDataFolder, protected by soft-delete validations to prevent data overwrites during restoration.
View Detailed Package Breakdown
  • AI & ML: onnxruntime, bert_tokenizer, Groq Cloud API, speech_to_text, flutter_tts
  • Data: sqflite (FTS Engine), hive_flutter, ulid
  • Security & Sync: flutter_secure_storage, googleapis (Drive Sync), google_sign_in
  • UI & Export: flutter_quill, pdf, printing, flutter_colorpicker, lottie, share_plus

🎬 Application Walkthroughs

📝 Note Editor  |  🏠 Home Screen  |  🤖 Groq AI Assistant  |  🧠 Semantic Search AI  |  🔍 Search Filter  |  🗑️ Recycle Bin


🚀 Local Setup

Show Installation Commands

Prerequisites

  • Flutter SDK: ^3.44.8 (Latest Stable)
  • Dart SDK: ^3.12.2
  • A configured .env file at root (refer to .env.example).

Installation

  1. flutter pub get
  2. dart run build_runner build --delete-conflicting-outputs (Generates Hive adapters)
  3. flutter create --platforms=ios,macos,web,linux,windows . (Optional: add platform runners if missing)
  4. flutter run

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

👤 Author

Developed with ❤️ by Sayan Mazumder

About

A sophisticated, local-first workspace featuring AI driven voice formatting, Semantic Search and SQLite FTS.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages