Gym workout journal
  • Swift 98.4%
  • JavaScript 1.2%
  • Nunjucks 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-01 12:00:00 -05:00
Barzel feat(watch): initial impl 2026-11-01 12:00:00 -05:00
Barzel.xcodeproj feat(watch): initial impl 2026-11-01 12:00:00 -05:00
BarzelWatch feat(watch): initial impl 2026-11-01 12:00:00 -05:00
BarzelWidget feat(live): initial impl 2026-11-01 12:00:00 -05:00
site feat(site): initial impl 2026-11-01 12:00:00 -05:00
.gitignore chore(git): create .gitignore 2026-11-01 12:00:00 -05:00
.swift-format feat: initial impl 2026-11-01 12:00:00 -05:00
LICENSE-APACHE chore(license): initial release 2026-11-01 12:00:00 -05:00
LICENSE-MIT chore(license): initial release 2026-11-01 12:00:00 -05:00
PRIVACY.md feat(watch): initial impl 2026-11-01 12:00:00 -05:00
README.md feat(watch): initial impl 2026-11-01 12:00:00 -05:00

Barzel

Workout journal for iPhone and iPad.

Important

Consider this to be pre-alpha software. I make no guarantee of the stability of any documented APIs until the first official release.

Goal

This project aims to provide an offline workout journal for iPhone and iPad. A workout is logged set by set, started freestyle or from a routine that lists its exercises with a target for each set. Routines can be put in a rotation, so that a new workout suggests the routine after the one finished last. Each set starts filled in from the last time its exercise was logged. The exercise library holds the 287 exercises of the kinase dataset, each with its muscles, equipment, steps and tips, and all but 19 with illustrations. Each exercise's page charts the user's progress and shows their personal best. The stats page shows a summary of the finished workouts, a chart of the time trained, and a heatmap of the days trained each year. While a workout runs, a Live Activity shows it on the Lock Screen and in the Dynamic Island, with one button that logs the next set and another that skips the rest of the exercise. While the iPhone is nearby, an Apple Watch app shows the running workout with the button that logs the next set, and starts a workout, freestyle or from a routine. The journal stays on your devices, and exports to a single JSON file that another device can import.

Organization

The project is partitioned into the SwiftUI app, its Live Activity extension, its watch app, the bundled exercise data, and the site that serves this document and the privacy policy.

Workspace

Xcode builds the app, its extension and its watch app from a single project, with no package dependencies. The site is built separately with Bun.

./
├── Barzel/                 # iOS and iPadOS app
│  ├── AppIcon.icon/        # app icon
│  ├── Assets.xcassets/     # accent colour
│  ├── BarzelApp.swift      # entry point
│  ├── Build/               # version and build number
│  ├── Extra/               # extensions and previews
│  ├── Files/               # license and privacy texts
│  ├── Icons/               # app icon view
│  ├── Model/               # models, export and settings
│  ├── Resources/           # exercise data and illustrations
│  └── Views/               # screens
├── Barzel.xcodeproj/       # Xcode project
├── BarzelWatch/            # watchOS app
├── BarzelWidget/           # Live Activity extension
├── LICENSE-APACHE          # apache 2.0 license
├── LICENSE-MIT             # mit license
├── PRIVACY.md              # privacy policy
├── README.md               # this document
└── site/                   # website

Modules

Main components of barzel are outlined below.

  • Barzel: the iOS and iPadOS app, built with SwiftUI and SwiftData. Its main page opens the stats, routines and exercises, and becomes a sidebar on iPad.
  • BarzelWidget: widget extension that shows the running workout as a Live Activity.
  • BarzelWatch: the watchOS app, a remote for the workout running on the iPhone.
  • site: website that serves this document and the privacy policy, built with Eleventy.

Credits

Barzel would not be possible without the open exercise data it bundles.

everkinetic is by Greg Priday. Both are licensed under Creative Commons Attribution-ShareAlike 4.0. The illustrations are bundled unchanged, and the data files hold kinase's data with each exercise title stored as a structured label.

Privacy

The project does not collect or transmit any data. Any data used by the project remains on your devices.

See the Privacy Policy for full details.

License

This project is dual-licensed under both the MIT License and the Apache License 2.0. You have permission to use this code under the conditions of either license pursuant to the rights granted by the chosen license.

The bundled exercise data, in Exercises and Exercises.xcassets, remains under the Creative Commons Attribution-ShareAlike 4.0 license.