Skip to content

sergei-argutin/repdb-example-flutter

Repository files navigation

RepDB Example — Flutter

A small Flutter (Material 3) starter that browses 400 fitness exercises from the RepDB free-tier dataset.

Features

  • Responsive grid catalog with 2/3/4 columns based on viewport
  • In-memory search (substring match across name, body part, equipment)
  • Detail screen with flat start/peak frames (or a single-pose "main" frame), instructions, primary/secondary muscles, MET, and muscle / equipment icons with localized labels
  • Standard-tier teaser: a "Standard tier preview" gallery on the catalog screen shows 5 looping animations — the exact clips shown on repdb.co, auto-played natively by Image.asset — badged "evaluation only" with a link to pricing
  • Hero animation on the peak frame between catalog and detail
  • EN / DE / ES locale switch (translates exercise data — UI strings are EN)
  • Light + dark themes derived from a single seed color

Run

flutter pub get
flutter run -d chrome    # or your iOS/Android simulator

Build

flutter build web        # → build/web/
flutter build apk --debug

What's vendored where

assets/exercises.json         # the free-tier bundle (400 exercises)
assets/images/flat/*.webp     # 745 flat webp (start/peak pairs + single-pose "main")
assets/images/muscles/*.webp  # 27 muscle icons
assets/images/equipment/*.webp# 46 equipment icons
assets/images/samples/*.webp  # 5 paid-tier looping animations (evaluation-only)
LICENSE-free.md               # RepDB Free Tier License for the bundle data & images
LICENSE                       # MIT for the example code

pubspec.yaml registers each of those directories; Flutter handles per-platform asset bundling for you. The five sample animations are derived at load time from the .webp files present in assets/images/samples/ (see Bundle in lib/data/bundle.dart) — there's no hardcoded list.

Data & license

This demo uses the RepDB free tier: a dated snapshot of 400 exercises with flat-style images, under the RepDB Free Tier License.

Attribution required. Keep a visible link — "Exercise data by RepDB (repdb.co)" — in your app's credits, README, or footer.

No generative-AI derivation. The images may not be used as input, reference, or conditioning material for generative models (image-to-image, style transfer, fine-tuning, or similar). See term 5 of LICENSE-free.md.

No redistribution as a dataset — in-app use only. The samples/ folder is evaluation-only and is not covered by the free-use grant.

For the full, growing dataset with two visual styles, transparent backgrounds, animations, 1024px images, and multilingual data, see https://repdb.co/pricing.

Exercise data & images: RepDB (https://repdb.co)

Sister demos

License

MIT for the example code (LICENSE). Bundle data & images under the RepDB Free Tier License. PRs welcome — accessibility improvements especially.

About

Flutter example app for the REPDB exercise dataset (preview): native animated WebP, two visual styles, muscle/equipment icons, EN/DE/ES.

Topics

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE-free.md

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors