Introduction
Listoca, a to-do app for the phone that works offline and syncs when you want it.
Listoca is a to-do app for the phone. It opens to working lists with no account and no network. Signing in with Apple or Google and buying the Sync plan puts the same lists on every device, live; a synced list can be shared with people who each get a role. A web app gives the operator an admin area; the marketing site is the landing page; these docs complete it.
There is no server of our own: Postgres, sign-in and server-side code run on a self-hosted Supabase, and a self-hosted PowerSync service syncs the devices.
What's included
Lists and tasks
The reference feature: two homes on every device, the device states, deleting that asks.
Offline data and sync
A local SQLite database on every device, row level security in Postgres, sync streams, and refused changes that are kept instead of lost.
Native app
Expo: Home, lists, the task sheet, reminders the device schedules, settings, the intro.
Authentication
Apple and Google on Supabase Auth, and an email link for development builds.
Payments
The Sync plan through RevenueCat, the pause when it ends, and the clean-up after 30 days.
Server-side code
Database functions, Edge Functions, scheduled jobs and emails, without an API server.
Web app
The admin area, on the same Supabase backend.
Every app is translated (English and German, more languages are a JSON file away).
How data moves
- Reads on the device never touch the network: screens query the local database and update when a row changes.
- Writes on the device land in the local database at once and wait in an upload queue. Online and signed in, the queue uploads to Postgres, where row level security decides.
- Sync down is PowerSync reading Postgres's replication stream and sending each device the rows its streams select.
- The web app reads and writes Postgres directly, under the same policies.
Start with the installation.