The docs page used to swap the site's links for its own three and unfold the chapter rail on arrival, so half the navigation vanished the moment you opened the documentation and a sidebar you never asked for was already there. Both are gone. Every page — home, about, docs, API — now serves a byte-identical nav bar and navigation sheet; which page you are on is marked with aria-current at runtime, so nothing is ever added or dropped from the markup to say it. The rail is now separate from the header and the same object everywhere: closed in CSS at every width, opened by one Contents pill, closed by the ✕ in its own sticky header, by Escape, or by a tap on the dimmed page. No preference is remembered any more and the stale og_rail key is cleared on sight. One panel controller in site.js drives both the sheet and the drawer, traps focus while either is open and hands it back to the button that opened it. api.html no longer carries a private copy of any of this. Also: visibility is switched at one instant instead of being transitioned — interpolating it left both panels hidden through their own opening animation, so they popped in at the end and nothing inside could take focus until then. Long inline code breaks instead of widening the page (docs ran 21px wide of a 320px screen), the header folds at one breakpoint rather than three, and every control in the rail clears 44px. 246 headless assertions across four pages and five widths: nav and sheet markup identical, drawer shut on first paint, no horizontal overflow, focus returned, reduced motion honoured, no console errors.
169 lines
9.2 KiB
HTML
169 lines
9.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
|
<title>About — openGym</title>
|
|
<meta name="description" content="The story behind openGym: a gym tracker that started as a tiny personal app on a homelab server and grew into an open-source project.">
|
|
<meta name="theme-color" content="#000000">
|
|
<meta property="og:title" content="About openGym">
|
|
<meta property="og:description" content="How openGym came to be: a tracker built for one user, open-sourced under the AGPL, with every release documented.">
|
|
<meta property="og:image" content="https://opengym.duarte-santos.ch/img/banner.png">
|
|
<meta property="og:url" content="https://opengym.duarte-santos.ch/about.html">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:site_name" content="openGym">
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:title" content="About openGym">
|
|
<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/banner.png">
|
|
<link rel="canonical" href="https://opengym.duarte-santos.ch/about.html">
|
|
<link rel="icon" type="image/png" sizes="512x512" href="icon-512.png">
|
|
<link rel="icon" type="image/png" sizes="180x180" href="icon-180.png">
|
|
<link rel="apple-touch-icon" href="icon-180.png">
|
|
<link rel="stylesheet" href="styles.css?v=12">
|
|
<script>document.documentElement.className += ' js'</script>
|
|
<!-- Umami web analytics for opengym.duarte-santos.ch (self-hosted, cookieless). -->
|
|
<script defer src="https://stats.duarte-santos.ch/script.js" data-website-id="db36019e-50f4-453c-9c56-d0588aefe233"></script>
|
|
</head>
|
|
<body class="topnav">
|
|
|
|
<nav><div class="wrap nav-in">
|
|
<a class="brand" href="/">
|
|
<img src="icon-180.png" alt="" width="24" height="24">
|
|
openGym
|
|
</a>
|
|
<div class="nav-quick">
|
|
<a class="ql site" href="/#features">Features</a>
|
|
<a class="ql site" href="/#screens">Screenshots</a>
|
|
<a class="ql site" href="/#demo">Demo</a>
|
|
<a class="ql site" href="/docs.html">Docs</a>
|
|
<a class="ql site" href="/api.html">API</a>
|
|
<a class="ql site" href="/about.html">About</a>
|
|
<a class="ql" href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">GitLab <span data-gh="stars"></span></a>
|
|
<a class="ql" href="https://discord.gg/e62jY6fwVb" rel="noopener">Discord</a>
|
|
<a class="cta" href="/#download">Download</a>
|
|
</div>
|
|
<button class="nav-toggle" id="navtoggle" aria-expanded="false" aria-controls="sitemenu" aria-label="Menu">
|
|
<span></span><span></span>
|
|
</button>
|
|
</div></nav>
|
|
|
|
<!-- The navigation sheet: the header's links again, for the widths where the bar has
|
|
room only for the brand and the download. Byte-identical on every page, like the
|
|
bar above it — nothing is ever dropped because of which page you are on. -->
|
|
<div class="navsheet" id="sitemenu" role="navigation" aria-label="Site" aria-hidden="true">
|
|
<div class="nl-rows">
|
|
<a class="nl" href="/#features">Features</a>
|
|
<a class="nl" href="/#screens">Screenshots</a>
|
|
<a class="nl" href="/#demo">Demo</a>
|
|
<a class="nl" href="/docs.html">Docs</a>
|
|
<a class="nl" href="/api.html">API</a>
|
|
<a class="nl" href="/about.html">About</a>
|
|
<a class="nl" href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">GitLab <span data-gh="stars"></span></a>
|
|
<a class="nl" href="https://discord.gg/e62jY6fwVb" rel="noopener">Discord</a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- The one control that opens the contents, at every width. The drawer it opens is
|
|
closed in CSS, so it is shut on first paint whether or not the script runs. -->
|
|
<button class="toc-btn" id="tocbtn" aria-expanded="false" aria-controls="menu">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" aria-hidden="true"><path d="M4 6.5h16M4 12h16M4 17.5h10"/></svg>
|
|
Contents
|
|
</button>
|
|
|
|
<!-- The contents drawer: one list, one way in, one way out. Closed by default at
|
|
every width, and no preference is remembered — see .side in styles.css. -->
|
|
<aside class="side" id="menu" aria-label="Contents" aria-hidden="true">
|
|
<div class="side-top">
|
|
<p class="side-title">Contents</p>
|
|
<button class="rail-close" aria-label="Close contents"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M5 5l14 14M19 5L5 19"/></svg></button>
|
|
</div>
|
|
<p class="side-label">On this page</p>
|
|
<a class="side-link" href="#milestones-h"><b>Milestones</b><span>Every release, straight from GitLab</span></a>
|
|
<a class="side-link" href="#principles"><b>Principles</b><span>The rules that don't move</span></a>
|
|
<p class="side-label">More</p>
|
|
<a class="side-link" href="/"><b>Home</b><span>The tour, the demo, the download</span></a>
|
|
<a class="side-link" href="docs.html"><b>Docs</b><span>Install, self-host, import</span></a>
|
|
<a class="side-link" href="api.html"><b>API</b><span>Every route, as an OpenAPI spec</span></a>
|
|
</aside>
|
|
|
|
<main class="wrap prose">
|
|
<h1>About openGym</h1>
|
|
<p class="lead">openGym was not planned as a product. It started as a tiny app built for
|
|
exactly one user: me.</p>
|
|
|
|
<p>I wanted three things at the gym: log my workouts, track my body weight, and see whether
|
|
any of it was going anywhere. Every app I tried wanted a subscription, an account, or my
|
|
training data on someone else's servers, and usually all three. So I did the homelab
|
|
thing: built a small mobile web page, put it on my own server, and started logging.</p>
|
|
|
|
<p>It turns out a tracker you build for yourself gets sharpened in a way products don't.
|
|
Every awkward tap at the squat rack became that evening's fix. The guided workout flow,
|
|
the weight pre-fills, the rest timer, the ritual of asking for body weight before the
|
|
first set: none of that came off a feature list. It came from standing in the gym with
|
|
the thing in my hand.</p>
|
|
|
|
<p>Then friends wanted in. That brought passkey profiles, so everyone signs in with a
|
|
fingerprint and keeps their own data, and sync, so the log survives any phone. Somewhere
|
|
along the way the little page was rewritten into a proper React app, learned 13 languages,
|
|
grew a muscle map that reads three ways (where the volume went, what is still recovering,
|
|
and what each muscle is actually strong at), picked up importers for FitNotes, Strong,
|
|
Hevy and Apple Health, and finally became a native Android app you can install from
|
|
this site.</p>
|
|
|
|
<p>In July 2026 I open-sourced the whole thing under the <b>AGPL</b>. The license is the
|
|
point, not a footnote: your training data should be yours, the software that holds it
|
|
should be inspectable, and nobody, me included, should be able to take a closed, paid
|
|
version of it away from the community.</p>
|
|
|
|
<p>openGym still runs on the same homelab server it started on, and I still log every
|
|
session with it. That is the quality bar: I am the first user of every release.</p>
|
|
|
|
<p class="who">— <a href="https://duarte-santos.ch" rel="noopener">Duarte Santos</a></p>
|
|
|
|
<h2 id="milestones-h">Milestones</h2>
|
|
<!-- The releases below are a static fallback: site.js replaces them with the live list
|
|
of published GitLab releases, so this page never needs manual updating. Only the
|
|
first entry (pre-open-source) is permanent. -->
|
|
<ul class="tl" id="milestones">
|
|
<li><b>The personal app</b><span class="when">early summer 2026</span>
|
|
<p>A hand-written vanilla-JS page on my own server. One user, zero ambitions.</p></li>
|
|
<li data-fallback><b>v1.0.0 — open-sourced</b><span class="when">July 20, 2026</span>
|
|
<p>Docker Compose self-hosting, passkey profiles, guided workouts, a 1,324-exercise
|
|
library. AGPL from day one.</p></li>
|
|
<li data-fallback><b>Every release since</b><span class="when">ongoing</span>
|
|
<p>See the full list on <a href="https://gitlab.com/DuarteSantos8/opengym/-/releases" rel="noopener">GitLab → Releases</a>.</p></li>
|
|
</ul>
|
|
|
|
<h2 id="principles">Principles</h2>
|
|
<ul>
|
|
<li><b>Your data is yours.</b> Local-first, one-file backups, no lock-in. Leaving openGym
|
|
must always be one export away.</li>
|
|
<li><b>No telemetry, ever.</b> If a feature needs analytics to justify itself, it does
|
|
not ship.</li>
|
|
<li><b>Dependency-light.</b> The backend is one Node file with a single dependency; the
|
|
frontend is React, a router and a store. Small enough to actually audit.</li>
|
|
<li><b>Open source that stays open.</b> AGPL-3.0, so every fork and every hosted version
|
|
owes its code back to everyone.</li>
|
|
</ul>
|
|
|
|
<div class="actions" style="margin:38px 0 0">
|
|
<a class="btn" href="/#download">Get openGym</a>
|
|
<a class="link" href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">Star it on GitLab</a>
|
|
</div>
|
|
</main>
|
|
|
|
<footer><div class="wrap foot">
|
|
<span class="c">openGym · AGPL-3.0 · © 2026 <a href="https://duarte-santos.ch" rel="noopener">Duarte Santos</a></span>
|
|
<div class="links">
|
|
<a href="docs.html">Docs</a>
|
|
<a href="about.html">About</a>
|
|
<a href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">GitLab</a>
|
|
<a href="https://discord.gg/e62jY6fwVb" rel="noopener">Discord</a>
|
|
<a href="/#download">Download</a>
|
|
</div>
|
|
</div></footer>
|
|
|
|
<script src="site.js?v=12" defer></script>
|
|
</body>
|
|
</html>
|