Import from Flex/Flexify

Open
#507 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
54/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
dart, flutter, sql
Domain
mobile

Research direction

Start by examining the attached CSV exports and SQL backup to map Flex exercises, workouts, sets, plans, and bodyweight records to GymMane’s existing data model and import flows. Then identify where another app’s import is implemented and how its mappings are tested. Done means Flex exports can be imported with past workout and bodyweight records preserved, including handling unmatched custom exercises.

Written by the indexing model from the issue text.

Description

enhancement

I have been using this app: https://github.com/brandonp2412/Flex for quite some months and would like to migrate data to this app so I can track my past progression. I have seen there are other apps listed, but not that one which is FOSS. It would be great if it can be added, before I try manually parsing the files and adding every past record.

The app name changed so I wrote both, but now is Flex.

So far it exports 2 files as CSV files:

  • graphs.csv: with all exercise types (exercise), sessions (workout), exercises logged (exerciseSet) and body weight (bodyWeight).
  • plans.csv: with sets (plans).

Data explanation:

  • Plans are sets of exercise types. i.e. push up, biceps curl, etc. (I fail to see how the repetitions of a exercise type is saved though)
  • Workout are the actual days you did some plan. i.e. I did "core plan" on 20 nov 20:00 up to 22:00. They are linked to plans by id.
  • exerciseSet are the individual exercises, logged per time you did them. i.e. 3 rows of "push up". They are linked to workouts and exercise types by id.
  • Bodyweight is recorded 'as is'. And the app automatically fills the data for "exerciseSet"s with the weight you added, but note the logs itself also have their own bodyweight field.
  • Exercise are the exercise types on the app. Both custom and default ones. Note only those found at "workout"s are actually used by user.

All data saved and [default] exercise types are pretty "standard" so I think all of them have a correspondence on app, for sure. I only added 2-3 custom exercises which may be missing.

graphs.csv
plans.csv

Workouts:
image

Plans:
image

image

I'm also attaching a copy of the backup file, but that's a SQL one. Maybe you find it easier to process that instead of 2 csv files

flex-2026-11-30.zip

Dominant language
Dart
Stars
844
Forks
98
Avg merge
1d 2h
Merged PRs (30d)
23

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from InlitX/GymMane

All issues in InlitX/GymMane

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.