selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

wger logo

Self-host wger

2.7

Open-source fitness, nutrition and weight tracker

ReleaseOpen SourceAGPL-3.0
Docker ComposeCompose file & guide
docker compose up -d
Updated2 months ago
LanguagePython
Setup difficultyModerate
MobileNative app
Stars
7 244
Ports
8000 (wger application server (gunicorn), exposed inside the docker network), 80 (bundled nginx reverse proxy, published as "80:80"), 8080 (PowerSync service used for mobile app synchronisation)
Requires
PowerSync, Redis
Docker
docker.io/wger/server

What is wger?

wger is a free, open-source web app for managing personal workouts, body weight and diet plans, and it also doubles as a lightweight tool for running a gym. Custom routine plans with automatic weight progression rules, nutrition logging based on the Open Food Facts food database, a progress photo gallery, a community-editable exercise wiki, a REST API and multi-user accounts are all part of it, and the interface is translated by the community on Weblate. Native apps exist for Android, iOS, F-Droid and Flathub, and they synchronise through a bundled PowerSync service that can also pull data from Apple Health and Health Connect. Self-hosting is documented mainly through the official Docker Compose stack: clone wger-project/docker, run docker compose up -d, execute the one-time PowerSync storage command and configure SECRET_KEY, SITE_URL and the JWT keys; Helm charts, an install-from-source guide and community guides for TrueNAS SCALE, Cloudron and Proxmox round out the options. Keep in mind that the shipped admin credentials and JWT keys must be replaced on any internet-facing instance, the app expects its own domain rather than a subdirectory, the OAuth2 provider that lets third-party apps access your data is optional, and passkey login only works over HTTPS.

wger alternatives

Should you self-host wger?

wger scores 72/100 on selfhost.directory (how scoring works) and ranks #1 of 31 in Health & Fitness. It has 7 244 GitHub stars, +228 in the last 30 days.

It shipped 4 stable releases in the past year. The latest, 2.7, came out on 3 September 2026. New versions land roughly every 3 months.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Garmin Grafana (67/100, 3 540 stars). wger scores higher overall. See wger vs Garmin Grafana side by side.

Features

  • Custom workout routines
  • Exercise and ingredient data sync
  • Exercise wiki
  • Gym administration
  • Multilingual interface
  • Nutrition and calorie planning
  • OAuth2 providerOptional; switched off unless enabled by the instance admin.
  • Passkey loginNeeds HTTPS to register or use credentials.
  • Progress photo gallery
  • REST API
  • Two-factor authentication
  • Weight and body measurement tracking
  • Weight progression rules

wger README

wger

wger logo

AGPLv3 License Build Status Coverage Status Translation Status

wger (ˈvɛɡɐ) is a free workout and fitness manager.

How to install wger

Install wger with Docker Compose

  1. clone this whole repository: git clone https://github.com/wger-project/docker.git
  2. start the containers: docker compose up -d
  3. setup offline mode storage: docker compose exec web ./manage.py setup-powersync-storage

Recommended production setup; before going live set SECRET_KEY, SITE_URL and the JWT keys in config/prod.env.

How to configure wger

  • SECRET_KEYDjango's secret keys, change to a 50 character random string. Generate e.g. with: * python -c "import secrets; print(secrets.token_urlsafe(50))" or * https://djecrety.ir/ Note that if you leave this key unchanged, a new one will be generated on every startup, which means that for example all sessions will be invalidated every time you restart the server.
  • SITE_URLhttp://localhostThe URL where the application will be available.
  • JWT_PUBLIC_KEYJWT keys, used by the mobile app. This default NEEDS to be changed. Generate fresh keys with: docker compose exec web ./manage.py generate-jwt-keys
  • JWT_PRIVATE_KEY
  • TIME_ZONEEurope/BerlinThe server's timezone, for a list of possible names: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

wger releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Health & Fitness

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…