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: Ko-fi next to Buy me a coffee in a shared support card
Duarte Santoseccdab6486dd
diff --git a/scripts/build-api-docs.mjs b/scripts/build-api-docs.mjsindex 654a8de27..c91fc89f6 100644--- a/scripts/build-api-docs.mjs+++ b/scripts/build-api-docs.mjs@@ -493,7 +493,7 @@ const html = `<!DOCTYPE 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=23">+<link rel="stylesheet" href="styles.css?v=24"><script>document.documentElement.className += ' js'</script><!-- Umami web analytics for opengym.ch (self-hosted, cookieless). --><script defer src="https://stats.duarte-santos.ch/script.js" data-website-id="db36019e-50f4-453c-9c56-d0588aefe233"></script>@@ -623,7 +623,7 @@ ${schemaCards}</div></div></footer>-<script src="site.js?v=23" defer></script>+<script src="site.js?v=24" defer></script><script>${js}</script></body></html>diff --git a/website/about.html b/website/about.htmlindex fa30c3f54..47e961a18 100644--- a/website/about.html+++ b/website/about.html@@ -24,7 +24,7 @@<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=23">+<link rel="stylesheet" href="styles.css?v=24"><script>document.documentElement.className += ' js'</script><!-- Umami web analytics for opengym.ch (self-hosted, cookieless). --><script defer src="https://stats.duarte-santos.ch/script.js" data-website-id="db36019e-50f4-453c-9c56-d0588aefe233"></script>@@ -178,6 +178,6 @@</div></div></footer>-<script src="site.js?v=23" defer></script>+<script src="site.js?v=24" defer></script></body></html>diff --git a/website/api.html b/website/api.htmlindex 4466f78b9..21a23a2f4 100644--- a/website/api.html+++ b/website/api.html@@ -27,7 +27,7 @@<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=23">+<link rel="stylesheet" href="styles.css?v=24"><script>document.documentElement.className += ' js'</script><!-- Umami web analytics for opengym.ch (self-hosted, cookieless). --><script defer src="https://stats.duarte-santos.ch/script.js" data-website-id="db36019e-50f4-453c-9c56-d0588aefe233"></script>@@ -5113,7 +5113,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=23" defer></script>+<script src="site.js?v=24" 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/docs.html b/website/docs.htmlindex 4aa445ac4..7b5bb5f3f 100644--- a/website/docs.html+++ b/website/docs.html@@ -24,7 +24,7 @@<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=23">+<link rel="stylesheet" href="styles.css?v=24"><script>document.documentElement.className += ' js'</script><!-- Umami web analytics for opengym.ch (self-hosted, cookieless). --><script defer src="https://stats.duarte-santos.ch/script.js" data-website-id="db36019e-50f4-453c-9c56-d0588aefe233"></script>@@ -970,7 +970,8 @@ Leg Day,Leg Press,2026-08-21,200,1</code></pre><h3>Is it really free?</h3><p>Yes, free as in cost <i>and</i> as in freedom (AGPL-3.0). No pro tier, no lockedfeatures, no ads, and the license keeps every fork open source too. If it replaced a- paid tracker for you, there's a <a href="https://buymeacoffee.com/duartesantos" rel="noopener">coffee button</a>,+ paid tracker for you, there's a <a href="https://buymeacoffee.com/duartesantos" rel="noopener">coffee button</a>+ and a <a href="https://ko-fi.com/opengym" rel="noopener">Ko-fi page</a>,though a star, a bug report or a pull request is worth just as much.</p><h3>Why isn't it on the Play Store / App Store?</h3><p>By choice (and on iOS, by Apple's rules for sideloading). Store accounts cost money,@@ -1029,6 +1030,6 @@ Leg Day,Leg Press,2026-08-21,200,1</code></pre></div></div></footer>-<script src="site.js?v=23" defer></script>+<script src="site.js?v=24" defer></script></body></html>diff --git a/website/index.html b/website/index.htmlindex c32e92cf5..de80178ca 100644--- a/website/index.html+++ b/website/index.html@@ -26,7 +26,7 @@<link rel="icon" type="image/png" sizes="180x180" href="icon-180.png"><link rel="apple-touch-icon" href="icon-180.png"><link rel="preload" as="image" type="image/webp" imagesrcset="img/home-480.webp 480w, 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=23">+<link rel="stylesheet" href="styles.css?v=24"><!-- Marks that JS is alive before first paint, so the scroll-reveal styles neverhide content from a browser that will not run them. --><script>@@ -75,6 +75,7 @@ try {<symbol id="i-gitlab" viewBox="0 0 24 24"><path d="m23.6004 9.5927-.0337-.0862L20.3.9814a.851.851 0 0 0-.3362-.405.8748.8748 0 0 0-.9997.0539.8748.8748 0 0 0-.29.4399l-2.2055 6.748H7.5375l-2.2057-6.748a.8573.8573 0 0 0-.29-.4412.8748.8748 0 0 0-.9997-.0537.8585.8585 0 0 0-.3362.4049L.4332 9.5015l-.0325.0862a6.0657 6.0657 0 0 0 2.0119 7.0105l.0113.0087.03.0213 4.976 3.7264 2.462 1.8633 1.4995 1.1321a1.0085 1.0085 0 0 0 1.2197 0l1.4995-1.1321 2.4619-1.8633 5.006-3.7489.0125-.01a6.0682 6.0682 0 0 0 2.0094-7.003z"/></symbol><symbol id="i-github" viewBox="0 0 24 24"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></symbol><symbol id="i-bmc" viewBox="0 0 24 24"><path d="M20.216 6.415l-.132-.666c-.119-.598-.388-1.163-1.001-1.379-.197-.069-.42-.098-.57-.241-.152-.143-.196-.366-.231-.572-.065-.378-.125-.756-.192-1.133-.057-.325-.102-.69-.25-.987-.195-.4-.597-.634-.996-.788a5.723 5.723 0 00-.626-.194c-1-.263-2.05-.36-3.077-.416a25.834 25.834 0 00-3.7.062c-.915.083-1.88.184-2.75.5-.318.116-.646.256-.888.501-.297.302-.393.77-.177 1.146.154.267.415.456.692.58.36.162.737.284 1.123.366 1.075.238 2.189.331 3.287.37 1.218.05 2.437.01 3.65-.118.299-.033.598-.073.896-.119.352-.054.578-.513.474-.834-.124-.383-.457-.531-.834-.473-.466.074-.96.108-1.382.146-1.177.08-2.358.082-3.536.006a22.228 22.228 0 01-1.157-.107c-.086-.01-.18-.025-.258-.036-.243-.036-.484-.08-.724-.13-.111-.027-.111-.185 0-.212h.005c.277-.06.557-.108.838-.147h.002c.131-.009.263-.032.394-.048a25.076 25.076 0 013.426-.12c.674.019 1.347.067 2.017.144l.228.031c.267.04.533.088.798.145.392.085.895.113 1.07.542.055.137.08.288.111.431l.319 1.484a.237.237 0 01-.199.284h-.003c-.037.006-.075.01-.112.015a36.704 36.704 0 01-4.743.295 37.059 37.059 0 01-4.699-.304c-.14-.017-.293-.042-.417-.06-.326-.048-.649-.108-.973-.161-.393-.065-.768-.032-1.123.161-.29.16-.527.404-.675.701-.154.316-.199.66-.267 1-.069.34-.176.707-.135 1.056.087.753.613 1.365 1.37 1.502a39.69 39.69 0 0011.343.376.483.483 0 01.535.53l-.071.697-1.018 9.907c-.041.41-.047.832-.125 1.237-.122.637-.553 1.028-1.182 1.171-.577.131-1.165.2-1.756.205-.656.004-1.31-.025-1.966-.022-.699.004-1.556-.06-2.095-.58-.475-.458-.54-1.174-.605-1.793l-.731-7.013-.322-3.094c-.037-.351-.286-.695-.678-.678-.336.015-.718.3-.678.679l.228 2.185.949 9.112c.147 1.344 1.174 2.068 2.446 2.272.742.12 1.503.144 2.257.156.966.016 1.942.053 2.892-.122 1.408-.258 2.465-1.198 2.616-2.657.34-3.332.683-6.663 1.024-9.995l.215-2.087a.484.484 0 01.39-.426c.402-.078.787-.212 1.074-.518.455-.488.546-1.124.385-1.766zm-1.478.772c-.145.137-.363.201-.578.233-2.416.359-4.866.54-7.308.46-1.748-.06-3.477-.254-5.207-.498-.17-.024-.353-.055-.47-.18-.22-.236-.111-.71-.054-.995.052-.26.152-.609.463-.646.484-.057 1.046.148 1.526.22.577.088 1.156.159 1.737.212 2.48.226 5.002.19 7.472-.14.45-.06.899-.13 1.345-.21.399-.072.84-.206 1.08.206.166.281.188.657.162.974a.544.544 0 01-.169.364zm-6.159 3.9c-.862.37-1.84.788-3.109.788a5.884 5.884 0 01-1.569-.217l.877 9.004c.065.78.717 1.38 1.5 1.38 0 0 1.243.065 1.658.065.447 0 1.786-.065 1.786-.065.783 0 1.434-.6 1.499-1.38l.94-9.95a3.996 3.996 0 00-1.322-.238c-.826 0-1.491.284-2.26.613z"/></symbol>+ <symbol id="i-kofi" viewBox="0 0 24 24"><path d="M11.351 2.715c-2.7 0-4.986.025-6.83.26C2.078 3.285 0 5.154 0 8.61c0 3.506.182 6.13 1.585 8.493 1.584 2.701 4.233 4.182 7.662 4.182h.83c4.209 0 6.494-2.234 7.637-4a9.5 9.5 0 0 0 1.091-2.338C21.792 14.688 24 12.22 24 9.208v-.415c0-3.247-2.13-5.507-5.792-5.87-1.558-.156-2.65-.208-6.857-.208m0 1.947c4.208 0 5.09.052 6.571.182 2.624.311 4.13 1.584 4.13 4v.39c0 2.156-1.792 3.844-3.87 3.844h-.935l-.156.649c-.208 1.013-.597 1.818-1.039 2.546-.909 1.428-2.545 3.064-5.922 3.064h-.805c-2.571 0-4.831-.883-6.078-3.195-1.09-2-1.298-4.155-1.298-7.506 0-2.181.857-3.402 3.012-3.714 1.533-.233 3.559-.26 6.39-.26m6.547 2.287c-.416 0-.65.234-.65.546v2.935c0 .311.234.545.65.545 1.324 0 2.051-.754 2.051-2s-.727-2.026-2.052-2.026m-10.39.182c-1.818 0-3.013 1.48-3.013 3.142 0 1.533.858 2.857 1.949 3.897.727.701 1.87 1.429 2.649 1.896a1.47 1.47 0 0 0 1.507 0c.78-.467 1.922-1.195 2.623-1.896 1.117-1.039 1.974-2.364 1.974-3.897 0-1.662-1.247-3.142-3.039-3.142-1.065 0-1.792.545-2.338 1.298-.493-.753-1.246-1.298-2.312-1.298"/></symbol><symbol id="i-calendar" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="3.2" y="4.8" width="17.6" height="16" rx="2.4"/><path d="M3.2 9.6h17.6M8.4 3.2v3.2M15.6 3.2v3.2"/></symbol><symbol id="i-link" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M10.2 13.8a3.6 3.6 0 0 0 5.4.4l2.6-2.6a3.6 3.6 0 0 0-5.1-5.1l-1.5 1.5"/><path d="M13.8 10.2a3.6 3.6 0 0 0-5.4-.4l-2.6 2.6a3.6 3.6 0 0 0 5.1 5.1l1.5-1.5"/></symbol><symbol id="i-timer" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="13.4" r="7.6"/><path d="M12 9.4v4l2.6 1.6M9.4 2.6h5.2"/></symbol>@@ -536,15 +537,18 @@ try {</a>- <a class="pad bmc" href="https://buymeacoffee.com/duartesantos" rel="noopener">+ <div class="pad bmc"><span class="pad-ic"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-bmc"/></svg></span><span class="pad-body">- <b>Buy me a coffee</b>+ <b>Support the project</b><span>openGym is free, and stays free.</span>- <span class="rest">If it saved you a subscription, this is the one place to say thanks.</span>+ <span class="rest">If it saved you a subscription, pick your favourite cup and say thanks.</span></span>- <span class="pad-go">Support the project</span>- </a>+ <span class="pad-links">+ <a class="pad-go" href="https://buymeacoffee.com/duartesantos" rel="noopener">Buy me a coffee</a>+ <a class="pad-go kofi" href="https://ko-fi.com/opengym" rel="noopener"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-kofi"/></svg>Ko-fi</a>+ </span>+ </div><a class="pad discord" href="https://discord.gg/e62jY6fwVb" rel="noopener"><span class="pad-ic"><svg viewBox="0 0 71 55" aria-hidden="true"><use href="#i-discord"/></svg></span>@@ -575,6 +579,6 @@ try {</div></div></footer>-<script src="site.js?v=23" defer></script>+<script src="site.js?v=24" defer></script></body></html>diff --git a/website/styles.css b/website/styles.cssindex 4c5ecd77c..191b2c1f1 100644--- a/website/styles.css+++ b/website/styles.css@@ -674,6 +674,13 @@ section { padding: var(--sec) 0 0; }.pad.bmc { --brand: #ffdd00; }.pad.discord { --brand: #5865f2; }.pad.dead .pad-go::after { display: none; }+/* The support card holds two destinations, so it is a box with two links instead of one+ big link; each link carries its own brand colour. */+.pad-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; }+.pad-links .pad-go { margin-top: 0; }+.pad-links .pad-go:hover { text-decoration: none; filter: brightness(1.15); }+.pad-go.kofi { --brand: #ff5e5b; color: var(--brand); }+.pad-go.kofi svg { width: 17px; height: 17px; fill: currentColor; }.pad-body .tag {display: inline-block; padding: 2px 7px; border-radius: 6px;background: rgba(255, 159, 10, .14); color: #ffb340;@@ -692,6 +699,8 @@ section { padding: var(--sec) 0 0; }seven lines. The identity and the destination survive; the detail does not. */.pad .rest { display: none; }.pad-go { font-size: 13px; margin-top: 14px; }+ .pad-links { margin-top: 14px; }+ .pad-links .pad-go { margin-top: 0; }}/* ------------------------------------------------------------------ footer */