How darshseraphic/rocen works
Rocen is a local-first Flutter workspace for notes, tasks, date-linked ideas, and media, with optional encrypted GitHub backup. The primary workflow is entering information in a tool inside the app shell, keeping workspace data locally, and optionally backing up encrypted notes to a user-owned GitHub repository. Settings also handles password and recovery management and reports device security posture. The README documents capabilities beyond the sampled source; those implementation links are therefore limited to its explicit descriptions.
Main entry points: navbar.dart Navigation · settings.dart Settings · quicknote.dart QuickNote · database.dart Local Database
Components 22
Workspace
- App Shell
lib/main.dart - Navigation
lib/navbar.dart
Workspace Tools
- QuickNote
lib/features/quicknote.dart - To-Do List
lib/features - Idea Inbox
lib/features/ideainbox.dart - Media Registry
lib/features - Bookmarks
lib/features/bookmarks.dart - Settings
lib/features/settings.dart - Clipboard
lib/features/clipboard.dart
Security and Keys
- Password Derivation
lib/core/password_key_derivation.dart - Master Key
lib/core/master_key_manager.dart - Production Key Service
lib/core/master_key_production_service.dart - Local Key Store
lib/core/master_key_local_store.dart - Recovery Phrase
lib/core/BIP39.dart - Crypto Engine
lib/core/crypto_engine.dart - Android Platform Bridge
android/app/src/main/kotlin/com/darshseraphic/Rocen/MainActivity.kt - Device Integrity
android/app/src/main/kotlin/com/darshseraphic/Rocen/MainActivity.kt - Password State
lib/core/password_state_manager.dart
Local Data and Backup
- Local Database
lib/core/database.dart - GitHub Backup
lib/core/github_backup_service.dart
Other components
- User
- Android Keystore
Connections 24
- User → App Shell: opens
README.md - App Shell → Navigation: shows
README.md - Navigation → QuickNote: opens
README.md - Navigation → To-Do List: opens
README.md - Navigation → Idea Inbox: opens
README.md - Navigation → Media Registry: opens
README.md - Navigation → Settings: opens
README.md - QuickNote → Local Database: stores locally
README.md - Idea Inbox → Local Database: stores locally
- To-Do List → Local Database: stores locally
- Media Registry → Local Database: imports locally
README.md - Settings → GitHub Backup: configures backup
README.md - QuickNote → Crypto Engine: optionally encrypts
README.md - QuickNote → GitHub Backup: backs up
README.md - GitHub Backup → Crypto Engine: transfers encrypted data
README.md - Settings → Password Derivation: sets or rotates
README.md - Settings → Recovery Phrase: manages phrase
README.md - Settings → Device Integrity: reports posture
README.md - Crypto Engine → Master Key: uses
- Master Key → Production Key Service: delegates
- Production Key Service → Local Key Store: persists keys
- Production Key Service → Android Platform Bridge: uses platform channel
- Android Platform Bridge → Android Keystore: encrypts with
android/app/src/main/kotlin/com/darshseraphic/Rocen/MainActivity.kt - Password Derivation → Password State: updates state