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.
- 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.
- 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.
- 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.
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
Tokensengine andcontext_extensionsfor instant, type-safe UI consistency across the entire app.
| Automated Tests | Total Code Coverage | Codebase Volume |
|---|---|---|
🧪 340+ Tests |
📈 73% |
📂 18k+ App LOC |
- 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
📝 Note Editor | 🏠 Home Screen | 🤖 Groq AI Assistant | 🧠 Semantic Search AI | 🔍 Search Filter | 🗑️ Recycle Bin
Show Installation Commands
Prerequisites
- Flutter SDK: ^3.44.8 (Latest Stable)
- Dart SDK: ^3.12.2
- A configured
.envfile at root (refer to .env.example).
Installation
flutter pub getdart run build_runner build --delete-conflicting-outputs(Generates Hive adapters)flutter create --platforms=ios,macos,web,linux,windows .(Optional: add platform runners if missing)flutter run
This project is licensed under the MIT License - see the LICENSE file for details.
Developed with ❤️ by Sayan Mazumder
