Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
Website: v1.3.7 screenshots, WebP delivery, social card, skip link, idle API lookups
Duarte Santos975c9f440b99
diff --git a/assets/screenshots/home.png b/assets/screenshots/home.pngindex 3f58e79d6..8309512c1 100644Binary files a/assets/screenshots/home.png and b/assets/screenshots/home.png differdiff --git a/assets/screenshots/library.png b/assets/screenshots/library.pngindex 48cf5618e..b1440aa8c 100644Binary files a/assets/screenshots/library.png and b/assets/screenshots/library.png differdiff --git a/assets/screenshots/plan.png b/assets/screenshots/plan.pngindex f2111b3cc..163adacc5 100644Binary files a/assets/screenshots/plan.png and b/assets/screenshots/plan.png differdiff --git a/assets/screenshots/stats.png b/assets/screenshots/stats.pngindex e7ce1f4ae..699ed7739 100644Binary files a/assets/screenshots/stats.png and b/assets/screenshots/stats.png differdiff --git a/assets/screenshots/workout.png b/assets/screenshots/workout.pngindex cce8482fe..2c0346bfe 100644Binary files a/assets/screenshots/workout.png and b/assets/screenshots/workout.png differdiff --git a/assets/social.jpg b/assets/social.jpgnew file mode 100644index 000000000..b64b696a4Binary files /dev/null and b/assets/social.jpg differdiff --git a/scripts/build-api-docs.mjs b/scripts/build-api-docs.mjsindex 9ca67d430..7e203e3e9 100644--- a/scripts/build-api-docs.mjs+++ b/scripts/build-api-docs.mjs@@ -467,26 +467,32 @@ const html = `<!DOCTYPE html><title>API — openGym</title><meta name="description" content="The complete openGym HTTP API, documented as an OpenAPI spec: passkey auth, state sync, push notifications, pairing and admin routes."><meta name="theme-color" content="#000000">+<meta name="robots" content="index,follow,max-image-preview:large">+<link rel="preconnect" href="https://stats.duarte-santos.ch"><meta property="og:title" content="openGym API reference"><meta property="og:description" content="The complete openGym HTTP API as an OpenAPI spec: passkey auth, state sync, push notifications, pairing and admin routes.">-<meta property="og:image" content="https://opengym.duarte-santos.ch/img/banner.png">+<meta property="og:image" content="https://opengym.duarte-santos.ch/img/social.jpg">+<meta property="og:image:width" content="1200">+<meta property="og:image:height" content="630">+<meta property="og:image:alt" content="openGym — your training, your data, your server. Two phones showing the home and workout screens."><meta property="og:url" content="https://opengym.duarte-santos.ch/api.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="openGym API reference">-<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/banner.png">+<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/social.jpg"><link rel="canonical" href="https://opengym.duarte-santos.ch/api.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=17">+<link rel="stylesheet" href="styles.css?v=18"><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><style>${css}</style></head><body class="topnav">+<a class="skip" href="#main">Skip to content</a><nav><div class="wrap nav-in"><a class="brand" href="/">@@ -551,7 +557,7 @@ ${railTags}<a class="side-link" href="/about.html"><b>About</b><span>The story and the milestones</span></a></aside>-<main class="api-main">+<main id="main" class="api-main"><h1>API</h1><p class="lead">Every route the openGym backend serves — passkey auth, state sync,push, pairing, admin — as one hand-written@@ -609,7 +615,7 @@ ${schemaCards}</div></div></footer>-<script src="site.js?v=17" defer></script>+<script src="site.js?v=18" defer></script><script>${js}</script></body></html>diff --git a/website/README.md b/website/README.mdindex 7b6e5aec7..0ce403698 100644--- a/website/README.md+++ b/website/README.md@@ -5,7 +5,9 @@ served by nginx.Not in this folder (added at deploy time):-- `img/` — the five screenshots from `../assets/screenshots/` plus `banner.png`+- `img/` — built by `build-images.sh <dist>/img`: the five screenshots from+ `../assets/screenshots/` as PNG plus WebP at 600/1170 px (served through `<picture>`),+ `banner.png`, and `social.jpg` (1200×630, the og:image on every page)- `icon-180.png` / `icon-512.png` — copied from `../frontend/public/` (the sameicons the PWA uses, so the browser tab, home screen and app all match)- `openGym.apk` — the signed release build (see `../docs/MOBILE.md`)@@ -18,15 +20,19 @@ Not in this folder (added at deploy time):Navigation is a topic rail (`.side`): one title/subtitle list of everything on thesite, a fixed column beside the page from 1300 px up and the hamburger sheet belowthat, with a scrollspy lighting the section under the reader. The top bar keeps-only the brand, GitLab, Discord and the download button.+only the brand, GitHub, Discord and the download button.`site.js` carries five independent pieces, each one failing soft so the page iscomplete without any of them: the topic-rail sheet, its scrollspy, the scrollreveals, the demo iframe (injected only once the frame is on screen, and neverbelow 700 px, where the CSS swaps it for an "open it full-screen" card), and the-two things that come from the public gitlab.com API at view time — the star/issue-counts and the About page's release timeline. Those two URLs pointed at-api.github.com until that account was suspended; they go back once it is restored.+two things that come from the public api.github.com at view time — the star/issue+counts and the About page's release timeline. Both wait for `requestIdleCallback` so+they never compete with the hero image.++Every page starts with a "Skip to content" link (`.skip`, visible on focus) that+targets `<main id="main">`. Screenshots change under the same file name, and nginx+caches images for seven days — bump the name if a new one must show up at once.`api.html` is the one **generated** file in here: `node scripts/build-api-docs.mjs`rewrites it from `../api/openapi.yaml`. Edit the spec, re-run the script, commit both —diff --git a/website/about.html b/website/about.htmlindex 7c78e183c..03a12fec9 100644--- a/website/about.html+++ b/website/about.html@@ -6,25 +6,31 @@<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 name="robots" content="index,follow,max-image-preview:large">+<link rel="preconnect" href="https://stats.duarte-santos.ch"><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:image" content="https://opengym.duarte-santos.ch/img/social.jpg">+<meta property="og:image:width" content="1200">+<meta property="og:image:height" content="630">+<meta property="og:image:alt" content="openGym — your training, your data, your server. Two phones showing the home and workout screens."><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">+<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/social.jpg"><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=17">+<link rel="stylesheet" href="styles.css?v=18"><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">+<a class="skip" href="#main">Skip to content</a><nav><div class="wrap nav-in"><a class="brand" href="/">@@ -88,7 +94,7 @@<a class="side-link" href="api.html"><b>API</b><span>Every route, as an OpenAPI spec</span></a></aside>-<main class="wrap prose">+<main id="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 forexactly one user: me.</p>@@ -166,6 +172,6 @@</div></div></footer>-<script src="site.js?v=17" defer></script>+<script src="site.js?v=18" defer></script></body></html>diff --git a/website/api.html b/website/api.htmlindex 2096d0fba..6f54bfbe9 100644--- a/website/api.html+++ b/website/api.html@@ -9,20 +9,25 @@<title>API — openGym</title><meta name="description" content="The complete openGym HTTP API, documented as an OpenAPI spec: passkey auth, state sync, push notifications, pairing and admin routes."><meta name="theme-color" content="#000000">+<meta name="robots" content="index,follow,max-image-preview:large">+<link rel="preconnect" href="https://stats.duarte-santos.ch"><meta property="og:title" content="openGym API reference"><meta property="og:description" content="The complete openGym HTTP API as an OpenAPI spec: passkey auth, state sync, push notifications, pairing and admin routes.">-<meta property="og:image" content="https://opengym.duarte-santos.ch/img/banner.png">+<meta property="og:image" content="https://opengym.duarte-santos.ch/img/social.jpg">+<meta property="og:image:width" content="1200">+<meta property="og:image:height" content="630">+<meta property="og:image:alt" content="openGym — your training, your data, your server. Two phones showing the home and workout screens."><meta property="og:url" content="https://opengym.duarte-santos.ch/api.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="openGym API reference">-<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/banner.png">+<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/social.jpg"><link rel="canonical" href="https://opengym.duarte-santos.ch/api.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=17">+<link rel="stylesheet" href="styles.css?v=18"><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>@@ -148,6 +153,7 @@ main.api-main .lead { color: var(--fg-2); max-width: 58ch; margin: 14px 0 0; fon</style></head><body class="topnav">+<a class="skip" href="#main">Skip to content</a><nav><div class="wrap nav-in"><a class="brand" href="/">@@ -218,7 +224,7 @@ main.api-main .lead { color: var(--fg-2); max-width: 58ch; margin: 14px 0 0; fon<a class="side-link" href="/about.html"><b>About</b><span>The story and the milestones</span></a></aside>-<main class="api-main">+<main id="main" class="api-main"><h1>API</h1><p class="lead">Every route the openGym backend serves — passkey auth, state sync,push, pairing, admin — as one hand-written@@ -2272,7 +2278,7 @@ main.api-main .lead { color: var(--fg-2); max-width: 58ch; margin: 14px 0 0; fon</div></div></footer>-<script src="site.js?v=17" defer></script>+<script src="site.js?v=18" defer></script><script>/* Jumping to an anchor inside a collapsed card opens the card — and re-aligns, sincethe browser scrolled to where the target was while it was still collapsed. */diff --git a/website/build-images.sh b/website/build-images.shnew file mode 100755index 000000000..efda15877--- /dev/null+++ b/website/build-images.sh@@ -0,0 +1,17 @@+#!/usr/bin/env bash+# Builds the website's img/ folder from ../assets: the five screenshots as PNG (fallback)+# plus WebP at 600 and 1170 px wide (what <picture> actually serves), and the 1200×630+# social card. Needs ffmpeg with libwebp. Usage: website/build-images.sh <dist>/img+set -euo pipefail+out=${1:?target img dir}; mkdir -p "$out"+here=$(cd "$(dirname "$0")" && pwd)+for n in home workout stats plan library; do+ src="$here/../assets/screenshots/$n.png"+ cp "$src" "$out/$n.png"+ for w in 600 1170; do+ ffmpeg -v error -y -i "$src" -vf "scale=$w:-1:flags=lanczos" -c:v libwebp -quality 82 -compression_level 6 "$out/$n-$w.webp"+ done+done+cp "$here/../assets/social.jpg" "$out/social.jpg"+cp "$here/../assets/banner.png" "$out/banner.png"+echo "images written to $out"diff --git a/website/docs.html b/website/docs.htmlindex 3d41207c6..df055f864 100644--- a/website/docs.html+++ b/website/docs.html@@ -6,20 +6,25 @@<title>Docs — openGym</title><meta name="description" content="The complete openGym reference: every feature, installing on Android and iPhone, self-hosting with Docker, every .env setting, the AI Coach, importing from FitNotes/Strong/Hevy, backups, the MCP server, and how it's built."><meta name="theme-color" content="#000000">+<meta name="robots" content="index,follow,max-image-preview:large">+<link rel="preconnect" href="https://stats.duarte-santos.ch"><meta property="og:title" content="openGym Docs — the complete reference"><meta property="og:description" content="The complete openGym reference: every feature, self-hosting with Docker, every setting, the AI Coach, imports, backups, MCP, troubleshooting.">-<meta property="og:image" content="https://opengym.duarte-santos.ch/img/banner.png">+<meta property="og:image" content="https://opengym.duarte-santos.ch/img/social.jpg">+<meta property="og:image:width" content="1200">+<meta property="og:image:height" content="630">+<meta property="og:image:alt" content="openGym — your training, your data, your server. Two phones showing the home and workout screens."><meta property="og:url" content="https://opengym.duarte-santos.ch/docs.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="openGym Docs — the complete reference">-<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/banner.png">+<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/social.jpg"><link rel="canonical" href="https://opengym.duarte-santos.ch/docs.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=17">+<link rel="stylesheet" href="styles.css?v=18"><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>@@ -28,6 +33,7 @@</script></head><body class="topnav">+<a class="skip" href="#main">Skip to content</a><nav><div class="wrap nav-in"><a class="brand" href="/">@@ -174,7 +180,7 @@<a class="side-link" href="about.html"><b>About</b><span>The story and the milestones</span></a></aside>-<main class="wrap prose">+<main id="main" class="wrap prose"><h1>Docs</h1><p class="lead">The complete reference — every feature, every setting, every way to runopenGym. The same documents live@@ -953,6 +959,6 @@ Leg Day,Leg Press,2026-08-21,200,1</code></pre></div></div></footer>-<script src="site.js?v=17" defer></script>+<script src="site.js?v=18" defer></script></body></html>diff --git a/website/index.html b/website/index.htmlindex fc18852f3..80519f5c2 100644--- a/website/index.html+++ b/website/index.html@@ -6,20 +6,27 @@<title>openGym — free, open-source gym & body-weight tracker</title><meta name="description" content="openGym is a free, open-source gym & body-weight tracker. Download the Android app or self-host it with Docker — no account, no cloud, no telemetry."><meta name="theme-color" content="#000000">+<meta name="robots" content="index,follow,max-image-preview:large">+<link rel="preconnect" href="https://stats.duarte-santos.ch"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="openGym — your workouts, your weights, your data"><meta name="twitter:description" content="Free, open-source gym & body-weight tracker. Android APK or self-hosted with Docker. No account, no cloud, no telemetry.">-<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/banner.png">+<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/social.jpg"><meta property="og:title" content="openGym — your workouts, your weights, your data"><meta property="og:description" content="Free, open-source gym & body-weight tracker. Android APK or self-hosted with Docker. No account, no cloud, no telemetry.">-<meta property="og:image" content="https://opengym.duarte-santos.ch/img/banner.png">+<meta property="og:image" content="https://opengym.duarte-santos.ch/img/social.jpg">+<meta property="og:image:width" content="1200">+<meta property="og:image:height" content="630">+<meta property="og:image:alt" content="openGym — your training, your data, your server. Two phones showing the home and workout screens."><meta property="og:url" content="https://opengym.duarte-santos.ch/"><link rel="canonical" href="https://opengym.duarte-santos.ch/"><meta property="og:type" content="website">+<meta property="og:site_name" content="openGym"><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=17">+<link rel="preload" as="image" type="image/webp" imagesrcset="img/home-600.webp 600w, img/home-1170.webp 1170w" imagesizes="(max-width: 700px) 62vw, 300px" fetchpriority="high">+<link rel="stylesheet" href="styles.css?v=18"><!-- Marks that JS is alive before first paint, so the scroll-reveal styles neverhide content from a browser that will not run them. --><script>@@ -42,12 +49,17 @@ try {"offers":{"@type":"Offer","price":"0","priceCurrency":"USD"},"license":"https://www.gnu.org/licenses/agpl-3.0.html","url":"https://opengym.duarte-santos.ch/",+ "image":"https://opengym.duarte-santos.ch/img/social.jpg",+ "screenshot":["https://opengym.duarte-santos.ch/img/home.png","https://opengym.duarte-santos.ch/img/workout.png","https://opengym.duarte-santos.ch/img/stats.png"],+ "softwareVersion":"1.3.7","datePublished":"2026-07-18","dateModified":"2026-09-13","isAccessibleForFree":true,+ "featureList":["Weekly plan with a routine per weekday","Guided workouts with rest timer, supersets, warm-up and timed sets","Progression rules: linear, Greyskull LP, double progression","Estimated 1RM, activity heatmap, muscle balance and fatigue maps","Body-weight tracking with a goal line","Import from Hevy, Strong, FitNotes and Apple Health","Passkey login and multi-device sync when self-hosted","Standalone Android APK with no account","14 languages","Optional AI coach on your own API key"],"downloadUrl":"https://opengym.duarte-santos.ch/openGym.apk","author":{"@type":"Person","name":"Duarte Santos","url":"https://duarte-santos.ch"},"sameAs":["https://github.com/DuarteSantos8/openGym","https://gitlab.com/DuarteSantos8/opengym","https://discord.gg/e62jY6fwVb"]}</script></head><body class="topnav">+<a class="skip" href="#main">Skip to content</a><!-- Icon set: one sprite, referenced with <use>. Line icons at 24×24, stroke 1.7. --><svg width="0" height="0" style="position:absolute" aria-hidden="true" focusable="false"><defs>@@ -144,6 +156,7 @@ try {<a class="side-link" href="about.html"><b>About</b><span>The story and the milestones</span></a></aside>+<main id="main"><header class="hero"><div class="wrap"><p class="eyebrow">openGym</p>@@ -157,8 +170,11 @@ try {</div><div class="hero-stage"><div class="device">- <img src="img/home.png" alt="openGym home screen: the week at a glance, today's session and a body-weight chart"- width="1170" height="2532" fetchpriority="high">+ <picture>+ <source type="image/webp" srcset="img/home-600.webp 600w, img/home-1170.webp 1170w" sizes="(max-width: 700px) 62vw, 300px">+ <img src="img/home.png" alt="openGym home screen: the week at a glance, today's session and a body-weight chart"+ width="1170" height="2532" fetchpriority="high" decoding="async">+ </picture></div></div><div class="hero-fade"></div>@@ -347,11 +363,11 @@ try {</div><div class="bleed rv"><div class="rail">- <figure><div class="device"><img src="img/home.png" alt="Home screen with the weekly overview and body-weight chart" loading="lazy" width="1170" height="2532"></div><figcaption>Home</figcaption></figure>- <figure><div class="device"><img src="img/workout.png" alt="Guided workout screen with sets, rest timer and pre-filled weights" loading="lazy" width="1170" height="2532"></div><figcaption>Workout</figcaption></figure>- <figure><div class="device"><img src="img/stats.png" alt="Stats screen with the activity heatmap and charts" loading="lazy" width="1170" height="2532"></div><figcaption>Stats</figcaption></figure>- <figure><div class="device"><img src="img/plan.png" alt="Weekly plan screen with a routine per weekday" loading="lazy" width="1170" height="2532"></div><figcaption>Plan</figcaption></figure>- <figure><div class="device"><img src="img/library.png" alt="Exercise library with search and filters" loading="lazy" width="1170" height="2532"></div><figcaption>Library</figcaption></figure>+ <figure><div class="device"><picture><source type="image/webp" srcset="img/home-600.webp 600w, img/home-1170.webp 1170w" sizes="(max-width: 700px) 60vw, 240px"><img src="img/home.png" alt="Home screen with the weekly overview and body-weight chart" loading="lazy" decoding="async" width="1170" height="2532"></picture></div><figcaption>Home</figcaption></figure>+ <figure><div class="device"><picture><source type="image/webp" srcset="img/workout-600.webp 600w, img/workout-1170.webp 1170w" sizes="(max-width: 700px) 60vw, 240px"><img src="img/workout.png" alt="Guided workout screen with sets, rest timer and pre-filled weights" loading="lazy" decoding="async" width="1170" height="2532"></picture></div><figcaption>Workout</figcaption></figure>+ <figure><div class="device"><picture><source type="image/webp" srcset="img/stats-600.webp 600w, img/stats-1170.webp 1170w" sizes="(max-width: 700px) 60vw, 240px"><img src="img/stats.png" alt="Stats screen with the activity heatmap and charts" loading="lazy" decoding="async" width="1170" height="2532"></picture></div><figcaption>Stats</figcaption></figure>+ <figure><div class="device"><picture><source type="image/webp" srcset="img/plan-600.webp 600w, img/plan-1170.webp 1170w" sizes="(max-width: 700px) 60vw, 240px"><img src="img/plan.png" alt="Weekly plan screen with a routine per weekday" loading="lazy" decoding="async" width="1170" height="2532"></picture></div><figcaption>Plan</figcaption></figure>+ <figure><div class="device"><picture><source type="image/webp" srcset="img/library-600.webp 600w, img/library-1170.webp 1170w" sizes="(max-width: 700px) 60vw, 240px"><img src="img/library.png" alt="Exercise library with search and filters" loading="lazy" decoding="async" width="1170" height="2532"></picture></div><figcaption>Library</figcaption></figure></div></div><div class="wrap"><p class="rail-hint">Swipe through them.</p></div>@@ -530,6 +546,8 @@ try {+</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">@@ -542,6 +560,6 @@ try {</div></div></footer>-<script src="site.js?v=17" defer></script>+<script src="site.js?v=18" defer></script></body></html>diff --git a/website/llms.txt b/website/llms.txtnew file mode 100644index 000000000..864561a3c--- /dev/null+++ b/website/llms.txt@@ -0,0 +1,20 @@+# openGym++> Free, open-source gym & body-weight tracker (AGPL-3.0). Runs as a standalone+> Android app (sideloaded APK) or self-hosted with Docker (passkey profiles,+> multi-device sync, PWA). No account required, no cloud, no telemetry.++## Docs+- [Complete reference](https://opengym.duarte-santos.ch/docs.html): every feature, self-hosting, every .env setting, AI Coach, imports (FitNotes/Strong/Hevy/Apple Health), backups, MCP server, troubleshooting+- [HTTP API](https://opengym.duarte-santos.ch/api.html): OpenAPI spec, also at [openapi.yaml](https://opengym.duarte-santos.ch/openapi.yaml)+- [README](https://opengym.duarte-santos.ch/README.md): project overview in Markdown++## Try & get it+- [Live demo](https://opengym.duarte-santos.ch/demo/): the real app with example data, in the browser+- [Android APK](https://opengym.duarte-santos.ch/openGym.apk): signed, sideloadable; SHA-256 next to it at openGym.apk.sha256 and on the GitHub release+- [About](https://opengym.duarte-santos.ch/about.html): the story and every release++## Source & community+- [GitHub repository](https://github.com/DuarteSantos8/openGym): code, issues, pull requests, releases+- [GitLab mirror](https://gitlab.com/DuarteSantos8/opengym): CI, APK and image builds+- [Discord](https://discord.gg/e62jY6fwVb): release announcements and self-hosting helpdiff --git a/website/robots.txt b/website/robots.txtnew file mode 100644index 000000000..397fc4aba--- /dev/null+++ b/website/robots.txt@@ -0,0 +1,4 @@+User-agent: *+Allow: /++Sitemap: https://opengym.duarte-santos.ch/sitemap.xmldiff --git a/website/site.js b/website/site.jsindex db2964db2..bba42a763 100644--- a/website/site.js+++ b/website/site.js@@ -10,6 +10,9 @@ const GH_REPO = 'https://api.github.com/repos/DuarteSantos8/openGym'// Origin, so the browser is allowed to read it. The code is the permanent invite in the// nav; if that invite is ever revoked this returns 404 and the count simply stays blank.const DC_INVITE = 'https://discord.com/api/v10/invites/e62jY6fwVb?with_counts=1'+// The two network lookups below are decoration; they wait until the page is idle so they+// never compete with the stylesheet, the hero image or the demo frame.+const whenIdle = (fn) => ('requestIdleCallback' in window ? requestIdleCallback(fn, { timeout: 2500 }) : setTimeout(fn, 1200))/* ------------------------------------------------------- one panel controllerThe navigation sheet and the contents drawer are the same object with different@@ -232,7 +235,7 @@ function panel({ opener, panelEl, flag, closeBtn }) {The cache keys carry a _gh2 suffix: a visitor with a still-warm entry from the GitLabweeks would otherwise be read with the old field names and show NaN. */-;(async () => {+;whenIdle(async () => {const set = (id, v) => document.querySelectorAll('[data-gh="' + id + '"]').forEach(el => { el.textContent = v })try {let d = null@@ -253,13 +256,13 @@ function panel({ opener, panelEl, flag, closeBtn }) {// Leave the placeholder standing rather than writing an empty box.if (d.open_issues_count !== '' && d.open_issues_count != null) set('issues-n', d.open_issues_count)} catch (e) { /* offline / rate-limited — leave placeholders */ }-})()+})/* --------------------------------------------------- Discord members (nav + specs)Same shape as the repo counts above, and just as optional: the placeholder next tothe Discord link is empty, so a blocked or rate-limited request leaves the linkreading exactly as it did before anyone counted anything. */-;(async () => {+;whenIdle(async () => {const set = (id, v) => document.querySelectorAll('[data-dc="' + id + '"]').forEach(el => { el.textContent = v })try {let n = null@@ -278,7 +281,7 @@ function panel({ opener, panelEl, flag, closeBtn }) {set('members', fmt)set('members-n', fmt)} catch (e) { /* offline / blocked — the link keeps its plain label */ }-})()+})/* -------------------------------------------------------------- about timelineBuilt from the published GitHub releases, so the page updates itself with everydiff --git a/website/sitemap.xml b/website/sitemap.xmlnew file mode 100644index 000000000..c6514c6e0--- /dev/null+++ b/website/sitemap.xml@@ -0,0 +1,19 @@+<?xml version="1.0" encoding="UTF-8"?>+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">+ <url>+ <loc>https://opengym.duarte-santos.ch/</loc>+ <lastmod>2026-09-13</lastmod>+ </url>+ <url>+ <loc>https://opengym.duarte-santos.ch/docs.html</loc>+ <lastmod>2026-09-13</lastmod>+ </url>+ <url>+ <loc>https://opengym.duarte-santos.ch/about.html</loc>+ <lastmod>2026-09-13</lastmod>+ </url>+ <url>+ <loc>https://opengym.duarte-santos.ch/api.html</loc>+ <lastmod>2026-09-13</lastmod>+ </url>+</urlset>diff --git a/website/styles.css b/website/styles.cssindex c6bf4d1d8..599560238 100644--- a/website/styles.css+++ b/website/styles.css@@ -392,7 +392,7 @@ body.menu-open::after, body.contents-open::after { opacity: 1; pointer-events: aposition: relative;padding-bottom: 0; border-radius: 42px 42px 0 0;}-.hero-stage .device > img {+.hero-stage .device > img, .hero-stage .device > picture > img {height: clamp(300px, 44vh, 500px);object-fit: cover; object-position: top center;border-radius: 34px 34px 0 0;@@ -412,7 +412,7 @@ body.menu-open::after, body.contents-open::after { opacity: 1; pointer-events: abox-shadow: 0 40px 90px -28px rgba(0, 0, 0, .95),inset 0 0 0 1px rgba(255, 255, 255, .07);}-.device > img, .device > iframe, .device > .device-slot {+.device > img, .device > picture > img, .device > iframe, .device > .device-slot {width: 100%; border: 0; border-radius: 34px; background: #000; display: block;}@@ -500,7 +500,7 @@ section { padding: var(--sec) 0 0; }.rail::-webkit-scrollbar { display: none; }.rail figure { flex: 0 0 auto; width: clamp(200px, 56vw, 250px); scroll-snap-align: center; }.rail .device { padding: 7px; border-radius: 34px; }-.rail .device > img { border-radius: 27px; }+.rail .device > img, .rail .device > picture > img { border-radius: 27px; }.rail figcaption {color: var(--fg-3); font-size: 13.5px; text-align: center; margin-top: 12px;letter-spacing: 0;@@ -792,6 +792,15 @@ table.cfg td:first-child { white-space: nowrap; width: 1%; padding-right: 26px;.tl .when { display: block; color: var(--fg-3); font-size: 13.5px; margin-top: 2px; }.tl p { margin-top: 6px; font-size: 15.5px; }+/* ------------------------------------------------------------------ skip link+ First tab stop on every page; invisible until focused. */+.skip {+ position: absolute; left: 16px; top: -100px; z-index: 100;+ background: var(--acc); color: var(--acc-ink); padding: 10px 16px; border-radius: 999px;+ font-weight: 700; text-decoration: none;+}+.skip:focus { top: 16px; outline: 2px solid var(--fg); outline-offset: 2px; }+/* ------------------------------------------------------------- scroll revealOnly armed when JS is running, so the page is fully visible without it. */@@ -800,7 +809,7 @@ table.cfg td:first-child { white-space: nowrap; width: 1%; padding-right: 26px;transition: opacity .8s var(--ease), transform .8s var(--ease);}.js .rv.in { opacity: 1; transform: none; }-@media (prefers-reduced-motion: reduce) {+@media (prefers-reduced-motion: reduce), print {.js .rv { opacity: 1; transform: none; transition: none; }}