Skip to content

0005 local first

github-actions[bot] edited this page Nov 17, 2026 · 1 revision

Local-first; accounts and sync later through Spotcraft

Status: accepted · Implementation: planned · Date: 2026-11-17

Context

StrongLifts syncs through its own server and needs an account to do it; workouts logged while signed out stay on the device. librelifts is free (ADR 0003), so a hosted backend is a cost with nothing to pay for it, and an account wall is exactly what the project wants to avoid.

Decision

  • All data lives on the device. The app works fully with no account and no network.
  • No server at launch. Backup is by export (see docs/parity.md).
  • Accounts and cross-device sync come later, through Spotcraft, as an option. Signing in never becomes a requirement for using the app.

Consequences

  • The MVP needs no backend, no auth and no privacy policy for hosted data.
  • Until export ships, losing the device or clearing browser storage loses the data. Export is the first item after the MVP for that reason.
  • The local data model has to be designed so that sync can be added later: stable ids and timestamps on records from the start.

Clone this wiki locally