A fast, offline-first personal life manager for iOS and Android, built with Flutter. Your data stays on the phone, in a local database plus one encrypted vault file you control. Cloud sync exists but is off by default (V2). It organizes these things:
| Tab | What it holds |
|---|---|
| Transactions | A log of money actually spent and earned, by category, rolled up per week |
| Budget | A 65 / 20 / 15 monthly plan (Needs / Savings / Wants) with live ideal-vs-actual bars |
| Dealings | A Dena Paona ledger — who you owe, who owes you, and your net position |
| Tasks | To-dos grouped into Time-sensitive · Admin & tech · Declutter/repairs, with due dates |
| Buy | Shopping split into Priority-0 (must-asap) and a Wishlist, with checkoff |
| Dreams | Big long-term wishes |
Everything reads and writes to an on-device database instantly (0 ms — the UI never waits on the network). With cloud sync turned on (see V2 below), a background worker mirrors it to Supabase.
- Modules. Every feature lives in
lib/modules/<name>/behind oneLifeModulecontract, andlib/app_modules.dartlists the enabled modules in order, plus the bottom-nav slots. Remove, add or reorder features there: see docs/MODULES.md. V2 adds a Notes module, and Buy and Dreams are separate modules again (both are config entries). - Local by default.
kCloudSyncEnabled = falseinlib/app_modules.dartturns off Supabase sign-in and sync, even when keys are passed. The sync code below is unchanged; flip the flag to use it. - Encrypted vault. Settings → Data & Vault keeps all data in one file,
LifeManager.lmvault, in Files › On My iPhone › Life Manager (copy it to iCloud Drive or AirDrop it like any file). It is AES-256-GCM under a PBKDF2-SHA256 key (600,000 rounds) from your passphrase, and it auto-saves after every change while unlocked. "Remember on this iPhone" keeps the passphrase in the Keychain so the vault unlocks at launch. Opening a vault (picker, or tapping a.lmvaultin Files / AirDrop) merges it with last-write-wins, like sync. A lost passphrase can't be recovered. The format is written for a future browser version using WebCrypto only: docs/VAULT_FORMAT.md, code inlib/vault/. - Where data lives on iOS. The Isar DB is in Library/Application Support (excluded from backups; moved there from Documents on first V2 launch). Documents, which Files shows, holds only the encrypted vault.
- Design. Warm cream and forest green, light and dark palettes, bundled
DM Sans + Newsreader fonts (SIL OFL, in
assets/fonts/). Home has a greeting, quick tiles and module cards, and each module has an intro page. - Check:
scripts/check.sh.
Flutter UI (Riverpod — reactive, iOS-first Cupertino styling)
│ watches Isar streams (instant)
▼
Isar (isar_community) ──► SyncService ──► Supabase (Postgres + Realtime)
on-device, source of truth push pending cloud mirror, one `items` table
pull realtime last-write-wins on updated_at
-
Local DB:
isar_community(maintained fork of Isar — the officialisar3.1.0 ships a 2023-era analyzer that can't parse Dart 3.12; the fork is a drop-in with the same API). -
Cloud: Supabase — a single
itemstable backs every screen. Deletes are soft (tombstones) so they propagate. Conflicts resolve last-write-wins onupdated_at. -
State: Riverpod. Each screen is a filtered stream over the one collection.
-
Offline: with no Supabase keys the app is a fully working local tracker; add keys later and it starts syncing.
-
Backup: Settings → Data exports everything to a JSON file via the share sheet, and imports one back. Import merges (never deletes) using the same last-write-wins rule as sync. The same screen has a full reset that clears local + cloud and signs out (needs
supabase/allow_history_delete.sql).
Key files: lib/models/item.dart (unified record + JSON mapping),
lib/services/sync_service.dart (the sync engine), lib/providers/providers.dart,
lib/data/seed_loader.dart (one-time first-launch import),
lib/services/backup_service.dart (export/import), lib/screens/*.
flutter pub get
dart run build_runner build # generates lib/models/item.g.dart
flutter run # local-only (no cloud) — works out of the boxTo enable cloud sync, put your keys in a .env file (kept out of source) and
use the launch script, which reads .env and passes the keys to Flutter:
cp .env.example .env # then fill in SUPABASE_URL and SUPABASE_ANON_KEY
./run.ps1 # Windows
./run.sh # macOS / Linux (pass -d <device> to target one)Get the two values from the Supabase dashboard → Project Settings → API:
SUPABASE_URL = the Project URL, SUPABASE_ANON_KEY = the anon public key.
(The database password is not used by the client app.) You can also skip
.env and pass --dart-define=SUPABASE_URL=... --dart-define=SUPABASE_ANON_KEY=...
directly. With no keys, the app runs fully offline (local-only).
- Create a project at supabase.com.
- SQL Editor → New query → paste
supabase/schema.sql→ Run. This creates theitemstable, indexes, realtime, and a policy. - Realtime is enabled by the schema (
alter publication ... add table items). If a second device doesn't update live, check Database → Replication and confirmitemsis in thesupabase_realtimepublication.
On first launch the app imports assets/seed/seed.json if present. That file is
git-ignored (it holds personal data). A fake seed.example.json
is committed to show the shape — copy it to seed.json and edit. The seed runs
once (guarded by a marker) and uses deterministic IDs, so it never duplicates.
- iOS (needs a Mac + Xcode):
cd ios && pod install. ThePodfilealready pinsplatform :ios, '13.0'(Isar needs iOS 13+). Openios/Runner.xcworkspace, select Runner → Signing & Capabilities, tick Automatically manage signing, and pick your Apple ID team. Then run. - Android:
minSdkis set to 33 (Android 13) inandroid/app/build.gradle.kts.
The MVP schema uses a permissive policy so sync works with just the anon key and
no login. Because this app holds financial data, adding Supabase Auth (email
magic-link) plus a per-user user_id row policy is the recommended next step —
see the commented block at the bottom of supabase/schema.sql.
flutter test # requires a Dart SDK whose install path has no spacesNote: on Windows, if your user profile path contains a space (e.g.
C:\Users\First Last\),flutter testcurrently fails while building the Apple-onlyobjective_cnative-asset hook (an upstream Dart bug — the SDK path is passed to the shell unquoted). The pure-logic tests (test/format_test.dart,test/model_test.dart) still pass on any machine or CI without a space in the path.