Site: GitHub is home again, GitLab a mirror
Nav, footer, the Elsewhere pads and every deep link point at github.com; GitLab keeps a pad and a footer link as the mirror whose CI signs the APK. Stars, forks, issues and the About timeline come from api.github.com again (new cache keys so a warm GitLab-era entry is not misread). The dead-pad rules from the suspension weeks are gone. Cache-bust 17.
This commit is contained in:
1 parent
265bbc83f5
commit
0c18a808ce
7 files changed
+95
-93
No files matched your search
+24
-22
@@ -19,7 +19,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=16">
|
||||
<link rel="stylesheet" href="styles.css?v=17">
|
||||
<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>
|
||||
@@ -41,7 +41,7 @@
|
||||
<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://github.com/DuarteSantos8/openGym" rel="noopener">GitHub <span data-gh="stars"></span></a>
|
||||
<a class="ql" href="https://discord.gg/e62jY6fwVb" rel="noopener">Discord <span data-dc="members"></span></a>
|
||||
<a class="ql coffee" href="https://buymeacoffee.com/duartesantos" rel="noopener" aria-label="Buy me a coffee"><svg viewBox="0 0 24 24" aria-hidden="true"><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"/></svg><span>Buy me a coffee!</span></a>
|
||||
<a class="cta" href="/#download">Download</a>
|
||||
@@ -62,7 +62,7 @@
|
||||
<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://github.com/DuarteSantos8/openGym" rel="noopener">GitHub <span data-gh="stars"></span></a>
|
||||
<a class="nl" href="https://discord.gg/e62jY6fwVb" rel="noopener">Discord <span data-dc="members"></span></a>
|
||||
<a class="nl coffee" href="https://buymeacoffee.com/duartesantos" rel="noopener">Buy me a coffee! <svg viewBox="0 0 24 24" aria-hidden="true"><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"/></svg></a>
|
||||
</div>
|
||||
@@ -178,7 +178,7 @@
|
||||
<h1>Docs</h1>
|
||||
<p class="lead">The complete reference — every feature, every setting, every way to run
|
||||
openGym. The same documents live
|
||||
<a href="https://gitlab.com/DuarteSantos8/opengym/-/blob/main/docs" rel="noopener">in the repository</a>,
|
||||
<a href="https://github.com/DuarteSantos8/openGym/blob/main/docs" rel="noopener">in the repository</a>,
|
||||
next to the code they describe.</p>
|
||||
|
||||
<div class="toc">
|
||||
@@ -221,7 +221,7 @@
|
||||
<li><a href="https://gitlab.com/DuarteSantos8/opengym/-/packages" rel="noopener">GitLab's package registry</a> —
|
||||
every version under <code>opengym-android/<version>/</code>, with a
|
||||
<code>.sha256</code> checksum beside it.</li>
|
||||
<li>The <a href="https://gitlab.com/DuarteSantos8/opengym/-/releases" rel="noopener">GitLab release</a> for that version, which links to both.</li>
|
||||
<li>The <a href="https://github.com/DuarteSantos8/openGym/releases" rel="noopener">GitHub release</a> for that version, with the APK and its <code>.sha256</code> attached.</li>
|
||||
</ul>
|
||||
<p>Got the file from anywhere else? Verify it against the registry's <code>.sha256</code>
|
||||
before installing. <b>Updates come to you:</b> when a newer release exists, Settings → Data
|
||||
@@ -245,7 +245,7 @@
|
||||
<li><b>Build it onto your own iPhone:</b> with a Mac and Xcode 15+, the native Capacitor
|
||||
app runs on your device with a free Apple ID (Apple expires the signature after
|
||||
7 days; re-run from Xcode to renew — <b>AltStore</b> can automate that re-signing over
|
||||
Wi-Fi). See <a href="https://gitlab.com/DuarteSantos8/opengym/-/blob/main/docs/MOBILE.md" rel="noopener">docs/MOBILE.md</a>.</li>
|
||||
Wi-Fi). See <a href="https://github.com/DuarteSantos8/openGym/blob/main/docs/MOBILE.md" rel="noopener">docs/MOBILE.md</a>.</li>
|
||||
<li><b>Just looking?</b> Try the <a href="/demo/">in-browser demo</a> — the real app with
|
||||
example data, no account and nothing to install.</li>
|
||||
</ul>
|
||||
@@ -432,7 +432,7 @@
|
||||
<p>The self-hosted flavor is two small containers (web + API) and a folder of your data.
|
||||
You need <a href="https://docs.docker.com/get-docker/" rel="noopener">Docker</a> with
|
||||
Compose:</p>
|
||||
<pre><code>git clone https://gitlab.com/DuarteSantos8/opengym
|
||||
<pre><code>git clone https://github.com/DuarteSantos8/openGym
|
||||
cd openGym
|
||||
cp .env.example .env
|
||||
docker compose pull # prebuilt images (amd64 + arm64) — skip to build from source
|
||||
@@ -481,7 +481,7 @@ docker compose up -d # restart alone does NOT re-read .env</code></pre>
|
||||
people join.</div>
|
||||
<p>Want a valid certificate <b>without</b> exposing anything to the internet — HTTPS on a
|
||||
LAN-only address? That works too (wildcard cert via a DNS challenge, Caddy in front):
|
||||
<a href="https://gitlab.com/DuarteSantos8/opengym/-/blob/main/docs/SELF_HOSTING_HTTPS.md" rel="noopener">docs/SELF_HOSTING_HTTPS.md</a>.
|
||||
<a href="https://github.com/DuarteSantos8/openGym/blob/main/docs/SELF_HOSTING_HTTPS.md" rel="noopener">docs/SELF_HOSTING_HTTPS.md</a>.
|
||||
A VPN or an auth proxy (Authelia, Cloudflare Access…) in front composes with all of
|
||||
this.</p>
|
||||
|
||||
@@ -508,10 +508,11 @@ docker compose pull # (or: docker compose up -d --build, if building from
|
||||
docker compose up -d</code></pre>
|
||||
<p>Your <code>./data</code> and the downloaded media are untouched; the app shell is
|
||||
versioned so clients pick up changes on next load. Releases are announced on
|
||||
<a href="https://gitlab.com/DuarteSantos8/opengym/-/releases" rel="noopener">GitLab</a>
|
||||
<a href="https://github.com/DuarteSantos8/openGym/releases" rel="noopener">GitHub</a>
|
||||
and <a href="https://discord.gg/e62jY6fwVb" rel="noopener">Discord</a>; container images
|
||||
(amd64 + arm64) are published to
|
||||
<a href="https://gitlab.com/DuarteSantos8/opengym/container_registry" rel="noopener">GitLab's registry</a>
|
||||
and mirrored to <a href="https://github.com/DuarteSantos8/openGym/pkgs/container/opengym-api" rel="noopener">GHCR</a>
|
||||
on every release.</p>
|
||||
|
||||
<h2 id="env">Every setting</h2>
|
||||
@@ -680,7 +681,7 @@ ALLOW_GUEST=0 # remove "Continue without account"</code></pre>
|
||||
<code>COACH_DISABLED=1</code> in the environment switches the feature off harder than any
|
||||
toggle. The Coach is not a doctor or a physiotherapist — if something hurts, ask a
|
||||
professional. Full details, including exactly what is sent and how credentials are stored:
|
||||
<a href="https://gitlab.com/DuarteSantos8/opengym/-/blob/main/docs/AI_COACH.md" rel="noopener">docs/AI_COACH.md</a>.</p>
|
||||
<a href="https://github.com/DuarteSantos8/openGym/blob/main/docs/AI_COACH.md" rel="noopener">docs/AI_COACH.md</a>.</p>
|
||||
|
||||
<h2 id="mcp">Ask an AI about your training (MCP)</h2>
|
||||
<p>openGym ships an optional <b>MCP server</b>: a small read-only bridge that lets a client
|
||||
@@ -704,7 +705,7 @@ ALLOW_GUEST=0 # remove "Continue without account"</code></pre>
|
||||
isn't there. No new auth (the filesystem is the boundary), no telemetry, no network; the
|
||||
LLM never sees passkeys or session secrets. Setup is <code>cd mcp && npm
|
||||
install</code> plus a few lines of client config:
|
||||
<a href="https://gitlab.com/DuarteSantos8/opengym/-/blob/main/mcp/README.md" rel="noopener">mcp/README.md</a>.</p>
|
||||
<a href="https://github.com/DuarteSantos8/openGym/blob/main/mcp/README.md" rel="noopener">mcp/README.md</a>.</p>
|
||||
|
||||
<h2 id="import">Import your training history</h2>
|
||||
<p>Coming from another tracker? <b>Settings → Data → Import from another app</b> reads a
|
||||
@@ -746,7 +747,7 @@ Leg Day,Leg Press,2026-08-21,200,1</code></pre>
|
||||
<i>time</i> (<code>duration</code>), <i>set type</i>, <i>note</i>
|
||||
(<code>comment(s)</code>, <code>notes</code>, <code>workout notes</code>). The full
|
||||
table lives in
|
||||
<a href="https://gitlab.com/DuarteSantos8/opengym/-/blob/main/docs/DATA_IMPORTS.md" rel="noopener">docs/DATA_IMPORTS.md</a>.</p>
|
||||
<a href="https://github.com/DuarteSantos8/openGym/blob/main/docs/DATA_IMPORTS.md" rel="noopener">docs/DATA_IMPORTS.md</a>.</p>
|
||||
<h3 id="imp-plans">Importing plans</h3>
|
||||
<p>Routines travel as their own small JSON file (<b>Share a plan</b> exports every current
|
||||
routine; importing merges). Don't want to share everything? Edit the JSON, or use the
|
||||
@@ -789,8 +790,8 @@ Leg Day,Leg Press,2026-08-21,200,1</code></pre>
|
||||
</ul>
|
||||
<p>The training logic — progression rules, 1RM estimation, how a logged session is read
|
||||
back — lives in pure functions under <code>frontend/src/lib/</code> with tests next to
|
||||
them; the MCP server and the mobile app import the very same functions. CI on GitLab
|
||||
runs the full suites (frontend, api, mcp) on every commit, builds the amd64+arm64
|
||||
them; the MCP server and the mobile app import the very same functions. CI on the GitLab
|
||||
mirror runs the full suites (frontend, api, mcp) on every commit, builds the amd64+arm64
|
||||
images, signs the APK, and publishes releases — tagging <code>vX.Y.Z</code> is what
|
||||
ships everything.</p>
|
||||
<p>The exercise database comes from
|
||||
@@ -808,12 +809,12 @@ Leg Day,Leg Press,2026-08-21,200,1</code></pre>
|
||||
<li><b>Android APK:</b> <code>npm run build:mobile</code> in <code>frontend/</code>, then
|
||||
Gradle + <code>zipalign</code> + <code>apksigner</code> with your own keystore
|
||||
(keep it — updates must carry the same signature). Step-by-step:
|
||||
<a href="https://gitlab.com/DuarteSantos8/opengym/-/blob/main/docs/MOBILE.md" rel="noopener">docs/MOBILE.md</a>.</li>
|
||||
<a href="https://github.com/DuarteSantos8/openGym/blob/main/docs/MOBILE.md" rel="noopener">docs/MOBILE.md</a>.</li>
|
||||
<li><b>iOS app:</b> the Capacitor project in <code>frontend/ios</code> — open in Xcode,
|
||||
set your (free) team, run on your device. Same doc.</li>
|
||||
<li><b>Development:</b> Node 20+; <code>npm test</code> in <code>frontend/</code>,
|
||||
<code>api/</code> and <code>mcp/</code> runs the suites. Contributions welcome —
|
||||
<a href="https://gitlab.com/DuarteSantos8/opengym/-/blob/main/CONTRIBUTING.md" rel="noopener">CONTRIBUTING.md</a>.</li>
|
||||
<a href="https://github.com/DuarteSantos8/openGym/blob/main/CONTRIBUTING.md" rel="noopener">CONTRIBUTING.md</a>.</li>
|
||||
</ul>
|
||||
|
||||
<h2 id="troubleshoot">Troubleshooting</h2>
|
||||
@@ -852,7 +853,7 @@ Leg Day,Leg Press,2026-08-21,200,1</code></pre>
|
||||
</table>
|
||||
<p>Still stuck? The <a href="https://discord.gg/e62jY6fwVb" rel="noopener">Discord</a> is
|
||||
the quickest way to get an answer;
|
||||
<a href="https://gitlab.com/DuarteSantos8/opengym/-/issues" rel="noopener">issues</a> are
|
||||
<a href="https://github.com/DuarteSantos8/openGym/issues" rel="noopener">issues</a> are
|
||||
better for anything the next person should find by searching.</p>
|
||||
|
||||
<h2 id="privacy">Privacy — the complete list</h2>
|
||||
@@ -894,9 +895,9 @@ Leg Day,Leg Press,2026-08-21,200,1</code></pre>
|
||||
<h3>What's on the roadmap?</h3>
|
||||
<p>Rough and community-driven: percentage/training-max programming (5/3/1-style) on top of
|
||||
the progression engine, more starter plans, body measurements alongside weight,
|
||||
per-exercise notes and a plate calculator, more instruction languages. Ideas and merge
|
||||
per-exercise notes and a plate calculator, more instruction languages. Ideas and pull
|
||||
requests welcome — the up-to-date list is in the
|
||||
<a href="https://gitlab.com/DuarteSantos8/opengym#roadmap" rel="noopener">README</a>.</p>
|
||||
<a href="https://github.com/DuarteSantos8/openGym#roadmap" rel="noopener">README</a>.</p>
|
||||
<h3>Where does the exercise database come from?</h3>
|
||||
<p>From <a href="https://github.com/hasaneyldrm/exercises-dataset" rel="noopener">hasaneyldrm/exercises-dataset</a>:
|
||||
1,324 exercises with animations and instructions, localized in 12 of openGym's 14 UI
|
||||
@@ -911,7 +912,7 @@ Leg Day,Leg Press,2026-08-21,200,1</code></pre>
|
||||
source on first run. If you want to reuse it yourself, commercially or otherwise, clear
|
||||
it with the rights holder first. Full third-party notices, including the body-diagram
|
||||
geometry, are in
|
||||
<a href="https://gitlab.com/DuarteSantos8/opengym/-/blob/main/NOTICE.md" rel="noopener">NOTICE.md</a>.</p>
|
||||
<a href="https://github.com/DuarteSantos8/openGym/blob/main/NOTICE.md" rel="noopener">NOTICE.md</a>.</p>
|
||||
<h3>What does the AGPL mean for me?</h3>
|
||||
<p>You can self-host, use, modify and share openGym freely. If you run a <i>modified</i>
|
||||
version as a network service, you must offer that version's source under the same
|
||||
@@ -925,12 +926,13 @@ Leg Day,Leg Press,2026-08-21,200,1</code></pre>
|
||||
<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://github.com/DuarteSantos8/openGym" rel="noopener">GitHub</a>
|
||||
<a href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">GitLab mirror</a>
|
||||
<a href="https://discord.gg/e62jY6fwVb" rel="noopener">Discord</a>
|
||||
<a href="/#download">Download</a>
|
||||
</div>
|
||||
</div></footer>
|
||||
|
||||
<script src="site.js?v=16" defer></script>
|
||||
<script src="site.js?v=17" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user