Skip to content

armgit / lyftr

Public Imported from GitHub
0

Self-hosted fitness tracker. Log workouts, track nutrition, and monitor progress. Docker deployment, mobile-friendly.

Fix the release badge and every APK download link (#112)

Carter56e6c2774689
diff --git a/README.md b/README.md
index 82eb149..1e3617c 100644
--- a/README.md
+++ b/README.md
@@ -10,15 +10,20 @@
<p align="center">
<a href="https://lyftr-demo.fly.dev">Live demo</a> ·
<a href="https://lyftr-app.pages.dev">Docs</a> ·
- <a href="https://github.com/Cawlumm/lyftr/releases/latest">Download APK</a> ·
+ <a href="https://github.com/Cawlumm/lyftr/releases">Download APK</a> ·
<a href="https://discord.gg/hfFWsrebQA">Discord</a>
</p>
+<!-- include_prereleases is load-bearing: every release ships prerelease:true (see
+ eas-build.yml), so nothing is marked "latest" and the plain badge renders
+ "no releases or repo not found". Same reason the links above point at /releases
+ rather than /releases/latest, which 302s to the list anyway. -->
<p align="center">
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT License" /></a>
<img src="https://img.shields.io/badge/status-beta-orange" alt="Beta" />
+ <a href="https://github.com/Cawlumm/lyftr/stargazers"><img src="https://img.shields.io/github/stars/Cawlumm/lyftr?style=flat&color=f0a830" alt="GitHub stars" /></a>
<a href="https://selfh.st/weekly/2026-04-24/"><img src="https://img.shields.io/badge/Featured%20in-selfh.st-6366f1" alt="Featured in selfh.st" /></a>
- <a href="https://github.com/Cawlumm/lyftr/releases/latest"><img src="https://img.shields.io/github/v/release/Cawlumm/lyftr?label=Android&logo=android&logoColor=white&color=3ddc84" alt="Android APK" /></a>
+ <a href="https://github.com/Cawlumm/lyftr/releases"><img src="https://img.shields.io/github/v/release/Cawlumm/lyftr?include_prereleases&label=Android&logo=android&logoColor=white&color=3ddc84" alt="Android APK" /></a>
<img src="https://img.shields.io/badge/iOS-planned-black?logo=apple&logoColor=white" alt="iOS planned" />
</p>
@@ -72,7 +77,7 @@ Open `http://localhost` and create your account.
## Try it
- **Live demo** — [lyftr-demo.fly.dev](https://lyftr-demo.fly.dev) · `[email protected]` / `password123` (resets hourly; that account is demo-only — your own install has no default login)
-- **Android** — [download the APK](https://github.com/Cawlumm/lyftr/releases/latest), then point it at your server ([mobile docs](https://lyftr-app.pages.dev/mobile/)). iOS is planned.
+- **Android** — [download the APK](https://github.com/Cawlumm/lyftr/releases) from the newest release, then point it at your server ([mobile docs](https://lyftr-app.pages.dev/mobile/)). iOS is planned.
## Roadmap
diff --git a/site/src/content/docs/getting-started.md b/site/src/content/docs/getting-started.md
index b0adea2..bcf24d5 100644
--- a/site/src/content/docs/getting-started.md
+++ b/site/src/content/docs/getting-started.md
@@ -27,7 +27,7 @@ up on it.
## Get the app
- **Android** — download the latest signed APK from the
- [Releases](https://github.com/Cawlumm/lyftr/releases/latest) page, install it, and point it at
+ [Releases](https://github.com/Cawlumm/lyftr/releases) page, install it, and point it at
your server. Side-loaded builds don't auto-update — reinstall over the old one when a new
release drops.
- **Web** — served by your self-hosted instance (see [Self-Hosting](../self-hosting/)).
diff --git a/site/src/content/docs/mobile.md b/site/src/content/docs/mobile.md
index 76555f1..a3e6222 100644
--- a/site/src/content/docs/mobile.md
+++ b/site/src/content/docs/mobile.md
@@ -9,7 +9,7 @@ talking to **your** server.
## Android
1. Download the latest signed APK from the
- [Releases](https://github.com/Cawlumm/lyftr/releases/latest) page.
+ [Releases](https://github.com/Cawlumm/lyftr/releases) page.
2. Open the `.apk` on your phone and allow **"install from unknown sources"** if prompted.
3. Launch Lyftr and enter your server URL when asked.
diff --git a/site/src/pages/index.astro b/site/src/pages/index.astro
index db63cb9..c4db60d 100644
--- a/site/src/pages/index.astro
+++ b/site/src/pages/index.astro
@@ -16,7 +16,10 @@ const base = import.meta.env.BASE_URL.replace(/\/?$/, '/');
const DEMO = 'https://lyftr-demo.fly.dev';
const REPO = 'https://github.com/Cawlumm/lyftr';
const DISCORD = 'https://discord.gg/hfFWsrebQA';
-const APK = 'https://github.com/Cawlumm/lyftr/releases?q=mobile-v';
+// Not /releases/latest and not ?q=mobile-v: every release ships as a prerelease so
+// /latest 302s to the list, and mobile-v* was retired when #77 unified the tag namespace
+// (RELEASING.md) — that filter still resolves, to a stale July build.
+const APK = 'https://github.com/Cawlumm/lyftr/releases';
const title = 'Lyftr — Self-Hosted Workout Tracker & Hevy / Strong Alternative (Open Source)';
const description =
@@ -27,7 +30,7 @@ const ogImage = new URL(banner.src, Astro.site).href;
const logoUrl = new URL('logo.svg', Astro.site).href;
const proof = [
- { label: '160+ GitHub stars', href: REPO },
+ { label: '300+ GitHub stars', href: REPO }, // hand-maintained; bump it when it drifts
{ label: 'Featured in selfh.st', href: 'https://selfh.st/weekly/2026-04-24/' },
{ label: 'Runs on Pi · NAS · $5 VPS' },
{ label: 'MIT · Free · No subscription' },