workout_parser · dart · v0.1.0
paste a workout. get sets.
A routine from a note, a WhatsApp message or an AI chat goes in; days, exercises, sets, reps, holds, rest and supersets come out. This page runs the real package from pub.dev, compiled to JavaScript, in your browser. Nothing you paste leaves this page.
reading…
highlighted means the parser filled it in rather than reading it, so check it. Everything else came from your text.
in your app
Pure Dart, offline, no API calls and no Flutter dependency: apps, servers and command-line tools all work. Every value says where it came from, so you can ask people to check anything that wasn’t written.
import 'package:workout_parser/workout_parser.dart';
final routine = RoutineParser().parse(text);
for (final day in routine.days) {
for (final e in day.exercises) {
print('${e.displayName}: ${e.sets} × ${e.target.label}');
// Incline Dumbbell Press: 3 × 10 reps
}
}
routine.flaggedCount; // how many exercises need a look
Built for neFaRec, where you paste the routine you already follow. MIT licensed; exercise names from free-exercise-db.