In development · Apache 2.0
The 5x5 tracker that’s free. All of it.
LibreLifts logs your sets, adds weight when you hit your reps and takes some off when you stall. Open source, no account, and your data stays on your device.
$ git clone https://github.com/vindotski/librelifts.git
- For every feature, for good
- $0
- Accounts to create
- 0
- Platforms from one codebase
- 4
- Lifts, three days a week
- 5
// Why LibreLifts
A logbook shouldn’t need a subscription
5x5 is about as simple as lifting gets: three lifts a workout, five sets of five, a little more weight next time. The app for it has one job, which is to remember where you are and tell you what goes on the bar.
StrongLifts, the best-known app for the program, is now a subscription. LibreLifts is the same idea as a free and open source app: every feature is free, the code is public, and nothing leaves your device unless you export it.
// The core
What the first release does
The smallest app that is useful for 5x5. This is what is being built now.
A / B
The program
Workout A is squat, bench press and barbell row. Workout B is squat, overhead press and deadlift. They alternate, and the app knows which one is next.
1 tap
Tap to log
Tap a set when you finish it. Tap again for each rep you missed. That is all the typing a workout needs.
+2.5 kg
Adds weight for you
Hit every rep and the lift goes up next time. Miss some and you repeat the weight until you get it.
−10%
Deloads when you stall
Fail the same lift three sessions in a row and it drops ten percent, so you can build back up past the sticking point.
3:00 / 5:00
Rest timer
Starts when you log a set: three minutes after a good set, five after a missed one.
on device
Your data stays with you
Everything is stored on your device. No account, no server, and it works without a connection.
// How it adds weight
One rule, tested once, the same everywhere
The rules of the program are plain TypeScript with their own tests, shared by every platform. This is the real one, straight from the repository.
packages/core/src/progression.ts
/** One lift in one finished workout. */
export type LiftResult = {
/** The weight on the bar, in the lifter's unit. */
weight: number
/** The reps each set aimed for. */
targetReps: number
/** The reps done in each set, in order. */
reps: number[]
}
/** True when every set reached its target reps. */
export function isSuccess(result: LiftResult): boolean {
return result.reps.length > 0 && result.reps.every((reps) => reps >= result.targetReps)
}
/**
* The weight for this lift in the next workout: up by `increment` after a
* successful session, the same weight again otherwise.
*/
export function nextWeight(result: LiftResult, increment: number): number {
return isSuccess(result) ? result.weight + increment : result.weight
}Squat, four sessions, +2.5 kg
| Day | kg | Reps | Next |
|---|---|---|---|
| Mon | 60 | 55555 | ↑ 62.5 |
| Wed | 62.5 | 55555 | ↑ 65 |
| Fri | 65 | 55443 | = 65 |
| Mon | 65 | 55555 | ↑ 67.5 |
Every rep done, and the weight goes up. A missed rep, and it stays. Three missed sessions in a row on one lift take ten percent off.
// Platforms
One codebase, four places to lift
Built with Expo and React Native, with Electron around the web build for desktop. A test screen already runs on all four.
iOS
A native app for iPhone. Apple Health, widgets and Apple Watch are on the later list.
Android
A native app for Android. Health Connect and widgets are on the later list.
Web
Runs in the browser and installs like an app. Nothing to download to try it.
Desktop
For macOS, Windows and Linux. A bigger screen for looking back over your training.
// Roadmap
What is planned, and in what order
The scope is written down before the code. Every feature of StrongLifts has a place on this list, or a reason it is left out.
MVP
Building now
- The 5x5 program, workouts A and B
- Tap to log sets
- Automatic weight increases
- Deload after three failed sessions
- Rest timer
- kg or lb
- Workout history
- Data stored on your device
Next
After the MVP
- CSV and openweight export
- Warmup and plate calculators
- Adjustable increments and deloads
- Suggested starting weights
- Training days and schedule
- Notes and body weight
- Progress graphs and records
- Light and dark theme
Later
In scope, not scheduled
- Assistance and custom exercises
- More programs
- Apple Health and Health Connect
- Apple Watch, widgets, Live Activities
- Optional accounts and sync
- Import from other apps
- Exercise instructions
- Translations
Won’t include
- Paywalls, subscriptions and trials
- A required account
- Ads and marketing email
- Tracking analytics
// Your data
Your training log is yours
Years of training should not be locked inside one app.
now
Stored on your device
Your training log lives where you train: on your phone, your browser or your computer. There is no server to send it to.
next
Export in open formats
CSV for spreadsheets, and openweight, an open JSON format for strength training, so your history can move to another app.
later
Sync, if you want it
Accounts and sync across devices are planned as an option. Using LibreLifts will never need one.
Follow the build
The plan, the decisions and the code are all in the open.