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.

docs: honest feature status, roadmap in-progress items

Cawlumm75c9b4012401
diff --git a/README.md b/README.md
index 7754eb4..2531a76 100644
--- a/README.md
+++ b/README.md
@@ -1,94 +1,120 @@
-# Lyftr
+<h1 align="center">Lyftr</h1>
-**Self-hosted fitness tracker. Your data, your server.**
-
-> **Early beta** — actively being built. Expect rough edges and frequent updates. Feedback and bug reports welcome.
+<p align="center">
+ <strong>Self-hosted fitness tracker. Your data, your server.</strong>
+</p>
-> **iOS app in the works** — a native Swift app is planned. Web first while I get the core experience right.
+<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-early%20beta-orange" alt="Early Beta" />
+ <img src="https://img.shields.io/badge/docker-ready-2496ED?logo=docker&logoColor=white" alt="Docker Ready" />
+ <img src="https://img.shields.io/badge/iOS-planned-black?logo=apple&logoColor=white" alt="iOS Planned" />
+</p>
<p align="center">
- <img src="docs/screenshots/dashboard-mobile.png" width="220" alt="Dashboard" />
- <img src="docs/screenshots/workouts-mobile.png" width="220" alt="Workouts" />
- <img src="docs/screenshots/programs-mobile.png" width="220" alt="Programs" />
+ <img src="docs/screenshots/dashboard-mobile.png" width="210" alt="Dashboard" />
+ <img src="docs/screenshots/workouts-mobile.png" width="210" alt="Workouts" />
+ <img src="docs/screenshots/programs-mobile.png" width="210" alt="Programs" />
</p>
<p align="center">
<img src="docs/screenshots/dashboard-desktop.png" width="700" alt="Dashboard desktop" />
</p>
-## Features
+> **Early beta** — actively being built. Expect rough edges and frequent updates. Issues and feedback are welcome.
-- **Workout logging** — exercise library with sets, reps, and weight tracking
-- **Program builder** — create reusable workout templates
-- **Nutrition tracking** — log food and track macros against daily targets
-- **Weight tracking** — daily entries with trend visualization
-- **Dashboard** — volume charts, consistency heatmap, muscle balance at a glance
-- **Active workout mode** — guided set-by-set experience
-- **Mobile-first design** — works great in a phone browser
+---
-## Self-Hosting with Docker
+## Features
-### Prerequisites
+| Feature | Web |
+|---------|-----|
+| Workout logging with 300+ exercise library | ✓ |
+| Program builder — reusable workout templates | ✓ |
+| Active workout mode — guided set-by-set flow | ✓ |
+| Dashboard — volume trends, consistency heatmap, muscle balance | ✓ |
+| Self-hosted — all data stays on your server | ✓ |
+| Nutrition tracking — calories and macros | In progress |
+| Weight tracking with trend graph | In progress |
+| Mobile-first — full experience in a phone browser | In progress |
-- Docker and Docker Compose installed
-- 512 MB RAM minimum
+---
-### Quick Start
+## Quick Start
```bash
git clone https://github.com/Cawlumm/lyftr.git
cd lyftr
cp .env.example .env
-# Edit .env — set a strong JWT_SECRET (32+ characters)
+```
+
+Edit `.env` and set a strong `JWT_SECRET` (32+ characters), then:
+
+```bash
docker compose up -d
```
-Open http://localhost in your browser and create your account.
+Open `http://localhost` in your browser and create your account. If running on a VPS, replace `localhost` with your server IP or domain.
+
+---
+
+## Configuration
-### Configuration
+All variables live in `.env` at the project root.
| Variable | Default | Description |
|----------|---------|-------------|
-| `JWT_SECRET` | *required* | Min 32-char secret for JWT signing |
-| `CORS_ORIGIN` | `http://localhost` | Frontend origin — change if using a custom domain |
+| `JWT_SECRET` | *required* | Min 32-char secret for signing tokens |
+| `CORS_ORIGIN` | `http://localhost` | Set to your domain in production |
| `PORT` | `80` | Host port for the web interface |
-All variables go in `.env` at the project root (copy from `.env.example`).
+---
-### Data Persistence
+## Data & Backups
-Workout data is stored in `./data/lyftr.db` (SQLite). Back this file up regularly.
+All workout data is stored in `./data/lyftr.db` (SQLite). Back this up regularly.
```bash
-# One-off backup
+# Backup
cp ./data/lyftr.db ./data/lyftr.db.backup
-# Update to the latest version
-docker compose pull
-docker compose up -d
+# Update to latest
+docker compose pull && docker compose up -d
```
-### Running on a VPS
+---
+
+## Running on a VPS
```bash
-# On your server (Ubuntu/Debian)
sudo apt update && sudo apt install -y docker.io docker-compose-plugin
git clone https://github.com/Cawlumm/lyftr.git
cd lyftr
cp .env.example .env
-nano .env # set JWT_SECRET and CORS_ORIGIN to your domain
+nano .env # set JWT_SECRET and CORS_ORIGIN
docker compose up -d
```
-Point your domain at the server IP, update `CORS_ORIGIN` in `.env`, then restart:
+For HTTPS, put Lyftr behind Caddy or nginx with a Let's Encrypt certificate.
-```bash
-docker compose up -d
-```
+---
+
+## Roadmap
-For HTTPS, place Lyftr behind a reverse proxy such as Caddy or nginx with a Let's Encrypt certificate.
+- [x] Workout logging + program builder
+- [x] Active workout mode
+- [x] Dashboard with charts and trends
+- [x] Docker deployment
+- [ ] Nutrition tracking — in progress
+- [ ] Weight tracking — in progress
+- [ ] Mobile polish — in progress
+- [ ] iOS app (Swift)
+- [ ] Hosted option (no self-hosting required)
+- [ ] PWA — installable on any device
+
+---
## Tech Stack
@@ -99,6 +125,8 @@ For HTTPS, place Lyftr behind a reverse proxy such as Caddy or nginx with a Let'
| Auth | JWT with refresh tokens |
| Deployment | Docker, nginx |
+---
+
## Development
```bash
@@ -109,8 +137,16 @@ cd backend && go run main.go
cd web && npm install && npm run dev
```
-Environment variables are read from a `.env` file in each directory. See `backend/config/config.go` for all supported variables.
+See `backend/config/config.go` for all supported environment variables.
+
+---
+
+## Contributing
+
+Bug reports, feature requests, and pull requests are all welcome. Open an issue to start a discussion before submitting large changes.
+
+---
## License
-MIT
+[MIT](LICENSE)