website: the relaunched landing page

This has been serving on opengym.duarte-santos.ch for a while without ever being
committed, so the repository and the live site had drifted apart — a deploy from
a clean checkout would have rolled the site back to the old page. This commits
what is actually running.

The page is rebuilt around a bento layout with real device frames, a mobile nav
that opens a proper menu instead of hiding the links, and a scroll reveal that
checks prefers-reduced-motion before animating anything. New "Elsewhere" section
collecting where the project actually lives: GitLab for code, issues and
releases, Discord, and Buy Me a Coffee.

The download line still reads v1.2.9 and the APK next to it is still the 1.2.9
build; both are corrected in the release commit, where the new APK exists.
This commit is contained in:
Duarte Santos committed 2026-08-25 22:07:04 +02:00
1 parent 9bec4bb785
commit af4de8b8ff
6 files changed
+1201 -504

No files matched your search

+62 -60
View File
@@ -2,14 +2,15 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<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="#0c0e12">
<meta name="theme-color" content="#000000">
<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=3">
<link rel="stylesheet" href="styles.css?v=5">
<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>
@@ -17,16 +18,19 @@
<nav><div class="wrap nav-in">
<a class="brand" href="/">
<img src="icon-180.png" alt="" width="26" height="26" style="border-radius:6px">
<img src="icon-180.png" alt="" width="24" height="24">
openGym
</a>
<div class="nav-links">
<a href="/#features" class="hide-s">Features</a>
<a href="/#screens" class="hide-s">Screenshots</a>
<a href="/#demo" class="hide-s">Demo</a>
<button class="nav-toggle" aria-expanded="false" aria-controls="menu" aria-label="Menu">
<span></span><span></span>
</button>
<div class="nav-links" id="menu">
<a href="/#features">Features</a>
<a href="/#screens">Screenshots</a>
<a href="/#demo">Demo</a>
<a href="docs.html">Docs</a>
<a href="about.html" class="hide-s">About</a>
<a href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener"><span data-gh="stars">GitLab</span></a>
<a href="about.html">About</a>
<a href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">GitLab <span data-gh="stars"></span></a>
<a href="https://discord.gg/e62jY6fwVb" rel="noopener">Discord</a>
<a class="cta" href="/#download">Download</a>
</div>
@@ -34,66 +38,64 @@
<!-- TEMPORARY: GitHub account suspended -> repo lives on gitlab.com. Remove this block and
revert the links (+ site.js) to github.com once the account is restored. -->
<div class="alert" role="alert"><div class="wrap">
<div class="alert-tag">⚠️ Important notice</div>
<h2>My GitHub account has been suspended — the openGym repo is gone with it</h2>
<p><b>github.com/DuarteSantos8/openGym is offline.</b> The repository and the releases are
unreachable — not by choice. openGym itself is unaffected: the app, the APK on this page,
the demo (now hosted here) and every self-hosted install keep working exactly as before.</p>
<p>Until I get the account back, the code lives on GitLab — and the Discord is where I will
announce the moment it is resolved:</p>
<div class="alert-actions">
<a class="btn alert-btn" href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">gitlab.com/DuarteSantos8/opengym</a>
<a class="btn dc-btn" href="https://discord.gg/e62jY6fwVb" rel="noopener">Join the Discord</a>
</div>
<p class="alert-note">Every repository link on this site now points at GitLab — same code, same
AGPL-3.0 license, same history, and the releases, container images and APK builds are back.</p>
<div class="notice-wrap"><div class="wrap">
<aside class="notice" role="note">
<div class="notice-tag">Repository moved</div>
<h2>My GitHub account was suspended, and the openGym repo went with it.</h2>
<p><b>github.com/DuarteSantos8/openGym is offline</b> — not by choice. The app is
untouched: the APK, the demo and every self-hosted install work exactly as before. The
code, the releases, the container images and the APK builds now live on GitLab under
the same AGPL-3.0 license, and every repository link here points there.</p>
<div class="actions">
<a class="btn" href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">Open on GitLab</a>
<a class="btn dc-btn" href="https://discord.gg/e62jY6fwVb" rel="noopener">Join the Discord</a>
</div>
</aside>
</div></div>
<main class="wrap prose">
<h1>About openGym</h1>
<p class="lead">openGym wasn't planned as a product. It started as a tiny app I built for
one user: me.</p>
<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 — 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>
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 "ask my body weight before the first set"
ritual — none of that came from a feature list. It came from actually standing in the
gym with the thing in my hand.</p>
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 — sign in with your fingerprint,
no passwords, everyone's data separate — and sync, so the log survives any phone.
Somewhere along the way the little page got 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 — plus importers for
FitNotes, Strong, Hevy and Apple Health, and finally became a native Android app you can
install from this site.</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 — including me — should be able to take a closed,
paid version of it away from the community.</p>
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's the quality bar: I'm the first user of every release.</p>
session with it. That is the quality bar: I am the first user of every release.</p>
<p class="who" style="color:var(--faint)">— <a href="https://duarte-santos.ch" rel="noopener">Duarte Santos</a></p>
<p class="who">— <a href="https://duarte-santos.ch" rel="noopener">Duarte Santos</a></p>
<h2>Milestones</h2>
<h2 id="milestones-h">Milestones</h2>
<!-- The releases below are a static fallback: site.js replaces them with the live list
of published GitHub releases, so this page never needs manual updating. Only the
first entry (pre-GitHub) is permanent. -->
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, 1,324-exercise
<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>
@@ -101,33 +103,33 @@
<h2>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
doesn't 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>
<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="hero-btns" style="justify-content:flex-start;margin:30px 0 10px">
<div class="actions" style="margin:38px 0 0">
<a class="btn" href="/#download">Get openGym</a>
<a class="btn ghost" href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">Star it on GitLab</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>openGym · AGPL-3.0 · © 2026 <a href="https://duarte-santos.ch" rel="noopener">Duarte Santos</a></span>
<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" class="hide-s">About</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" defer></script>
<script src="site.js?v=5" defer></script>
</body>
</html>