Apps/Dumbbell

Build Dumbbell

Log workouts, track progress, and keep training records on your device — no account or subscription. Includes ads; workout logging works offline.

Rebuild prompt

Use this as a starting prompt with an AI coding agent, then adapt it to your stack.

Rebuild prompt — Dumbbell

Copy and adapt this prompt if you want to rebuild a similar app with an AI coding agent.


Build a free, offline-first mobile workout tracker called Dumbbell.

Product rules

  • No accounts, no login, no training-data backend, no subscriptions. Google AdMob supports the free app with a History banner and an interstitial after every second completed workout when available; save first and retain normal close/skip controls.
  • All workout and profile data stays in private on-device storage by default.
  • Users can export backups; uninstalling or losing the device can delete local data — make that clear in Settings.
  • Target Android first. Keep the app usable fully offline.

Core features

  1. Start a workout with a persistent elapsed timer. If the user leaves mid-workout, let them resume or discard the draft.
  2. Log exercises with sets: reps + weight. Support kg and lb (store weight in kg; convert for display/input).
  3. Browse an exercise library with short form cues / illustrations bundled offline.
  4. View history: browse, edit, and delete past workouts, sets, and body-weight entries.
  5. Progress: charts for exercise performance, workout consistency (calendar), and body-weight history.
  6. Optional post-workout photo + shareable summary image via the system share sheet.
  7. CSV export of workouts and a Backup CSV import that restores the app’s own export format.
  8. Settings for units, data export/import, and a readable privacy policy.

Visual direction

  • Dark shell: background #10110F, surfaces #1C1E1A.
  • Accent lime #D5FF3F for primary actions and selected states.
  • Text #F5F5EF, secondary #A8ACA0.
  • Large bold headlines, rounded cards (~20–24px), lime-filled primary buttons with dark text.
  • Mobile-first, fast set entry over decorative chrome. Restrained motion only where it helps (timer, set logged feedback).

Architecture preferences

  • Flutter + GetX for routing, bindings, and reactive controllers.
  • Immutable serializable domain models.
  • Local database (Sembast) with a schema version; never wipe unknown future fields.
  • One application-level workout controller coordinating the live session and persistence.
  • Persist the draft on every meaningful edit; derive elapsed time from the start timestamp.

Explicitly out of scope

Social feeds, calories, trainers, Health Connect medical claims, forced updates, analytics SDKs, and anything that requires an account.

Steps

How Dumbbell was built

A practical path you can follow with the rebuild prompt on this page and the reference images below.

1. Lock the product, not the pixels

Start from a short plan: free, offline, no login, log sets, timer with resume, history, progress, local export. Cut nutrition, social, and anything that needs a server. Write the privacy story early — on-device storage, user-initiated share/export only.

2. Steal the visual language, not the feature set

Study dark + lime fitness references (see the gallery). Extract tokens: near-black canvas, charcoal cards, chartreuse CTAs, bold type. Ignore community feeds and calorie widgets that are not in scope. Build empty states in the same system so the first open still feels finished.

3. Scaffold Flutter with a clear domain core

Create models for workout, exercise, set, body-weight entry, and settings. Add a versioned local repository (Sembast works well). Put GetX routes/bindings around feature pages: home, live workout, library, progress, history, settings.

4. Ship the live workout loop first

Start workout → show elapsed timer → add exercises → log sets → finish or discard. Persist the draft continuously so a kill/restart can resume. This path is the product; charts and polish wait until logging feels fast.

5. History, edit, and progress

List past sessions, allow edit/delete, then add charts for load over time, training-day calendar, and body weight. Keep units consistent (store kg, display kg/lb).

6. Library, photos, share, backup

Bundle exercise cues offline. Add optional workout photos and a shareable summary through the system share sheet. Export readable CSV and a Backup CSV that the app can import again. Document that photos/profile stay out of backups if that is your policy.

7. Release hygiene

Host a public privacy policy URL (this site’s /app/dumbbell/privacy), wire store listing copy, sign the Android release, and test on a real device. Prefer flexible Play updates over any forced gate that blocks offline use.

Reference images

Visual direction references used while designing Dumbbell.

Dumbbell reference 1
Dumbbell reference 2
Dumbbell reference 3
Dumbbell reference 4