Contribute

Publish a workout pack.

Anyone can run a community repository: a coach with a structured plan, a training group sharing their winter intervals, or a single rider who's built a pack worth handing out. The process is two static JSON files and a pull request.

The shape of the deal

  1. You write a manifest.json describing your repository (name, author, homepage) with all your workouts embedded inline.
  2. You host it over HTTPS, anywhere that serves a JSON file with permissive CORS. GitHub Pages, Codeberg Pages, your own web folder.
  3. You open a pull request against this app's Codeberg repository adding a single entry to website/registry.json that points at your manifest URL.
  4. On merge, your repository shows up in the community browser and is subscribable from inside the app.

1. Write your manifest (and bundles)

A repository is two kinds of file:

Manifest top-level fields

FieldTypeRequiredNotes
schemaVersionintegeryes Manifest format version. Currently 2. The app rejects manifests with versions higher than it understands and shows a "please upgrade" hint.
idstringyes Stable, unique identifier (kebab-case). Used as a folder name and as the dedup key, so don't change it after publishing.
namestringyes What's shown on the card. Up to about 40 characters reads well.
descriptionstringno One or two sentences. Plain text, no markdown.
authorstringno Your name, your collective, or your handle.
homepagestring (URL)no Optional link from the repo card to your site.
updatedEpochinteger (ms)no Unix epoch in milliseconds. Lets the app show "updated 3 days ago".
bundlesarrayyes Pointers to your bundle files. See the next table. Every published workout lives in some bundle; the manifest itself never contains segments.

Each bundle entry

FieldTypeRequiredNotes
idstringyes Stable bundle id (kebab-case). Used as the cache key on the app side, so don't rename after publication.
namestringno Maintainer-facing label. Bundles aren't shown to end users; this only helps you and other contributors.
schemaVersionintegeryes Format version of the bundle file. Currently 1 = bare JSON array of workout objects. Bumped if/when the bundle wrapper changes.
versionintegeryes Bump this every time you change any workout in the bundle, even by one second. The app re-downloads only when this number increases. Forgetting to bump it is the #1 cause of "my edit didn't show up".
urlstringyes Absolute (https://…) or relative to the manifest's URL. Relative is the portable form: survives a host change.

Each workout (inside a bundle file)

A bundle file is a JSON array; each element is a workout object:

FieldTypeRequiredNotes
schemaVersionintegerno Workout format version. Defaults to 1. Workouts with versions higher than the app understands are skipped, so future formats can land in an existing bundle without breaking older clients.
idstringyes Unique within your repo. Prefix with your repo id to avoid collisions with bundled or other-repo workouts (e.g. "alpine-tempo-3x10" rather than just "tempo-3x10").
namestringyes Display name. Keep it short; it shows on small cards.
descriptionstringno Why someone would ride this. One paragraph max.
tagsarray<string>no Free-form labels: "Threshold", "VO2 Max", "Recovery", etc.
segmentsarrayyes Sequential intervals. Each has lengthInSeconds (1–14400), powerPercentFTP (0–300), and intervalType: "CONSTANT".

Example: minimum viable repo

Two files. Copy, edit, host.

manifest.json

{
  "schemaVersion": 2,
  "id": "alpine-coach",
  "name": "Alpine Coach",
  "description": "Threshold and VO2 work tuned for stage racers.",
  "author": "Alpine Coach Collective",
  "homepage": "https://alpinecoach.example",
  "updatedEpoch": 1746547200000,
  "bundles": [
    {
      "id": "main",
      "schemaVersion": 1,
      "version": 1,
      "url": "main.json"
    }
  ]
}

main.json (sibling of the manifest):

[
  {
    "schemaVersion": 1,
    "id": "alpine-warmup-2min",
    "name": "Quick Warmup",
    "description": "Two-minute pre-effort opener.",
    "tags": ["Warm-up"],
    "segments": [
      { "lengthInSeconds": 60, "powerPercentFTP": 50, "intervalType": "CONSTANT" },
      { "lengthInSeconds": 60, "powerPercentFTP": 75, "intervalType": "CONSTANT" }
    ]
  }
]

For a longer reference, see the starter pack manifest and its main bundle: six workouts spanning warm-up through VO2.

Splitting workouts across multiple bundles

For small repos, one bundle is fine. Split when you have logical groups that change at different rates: e.g. weekly-plan bumped every Monday and warmups updated rarely. Riders only re-download the bundle whose version moved.

2. Host it

The app fetches your manifest over plain HTTPS. Anywhere that serves static JSON works. Two things matter:

Test your URL by opening it directly in a browser. If you see your JSON, you're good. If you see "blocked by CORS" in the devtools console, fix your host's headers.

3. Submit to the registry

Listing your repo in the community browser is a one-line addition to website/registry.json. Open a pull request on the app's Codeberg repository:

  1. Fork the repository.
  2. Edit website/registry.json and append a new entry to the repositories array. The fields:
    {
      "id": "alpine-coach",
      "name": "Alpine Coach",
      "description": "Threshold and VO2 work tuned for stage racers.",
      "author": "Alpine Coach Collective",
      "manifestUrl": "https://alpinecoach.example/manifest.json",
      "tags": ["Threshold", "VO2 Max"],
      "homepage": "https://alpinecoach.example"
    }
    The id here must match the id in your manifest. tags here are repo-level (shown on the card); they're independent from per-workout tags.
  3. Open a pull request with a short note about who you are and what the pack covers.

On merge, your repo appears in the community list within minutes (just a static-site rebuild). No backend, no account, no review queue beyond a quick sanity check that the manifest URL is reachable and the JSON parses.

Updating after publication

Style guidelines (suggestions, not gates)

← Back to community Open on Codeberg ↗