Repository navigation
0014 open data licences
Status: accepted · Implementation: planned · Date: 2026-11-17
The licence texts are not in the repository yet; they are added with the first data. CONTRIBUTING.md covers code only and needs a section for data when contributions open.
The code is Apache-2.0 (ADR 0002). That licence is written for software and does not fit a database or images. The database (ADR 0013) needs its own licence, and contributors need to know what happens to what they give.
Two histories shaped the choice. CDDB and IMDb were built by volunteers and then closed; the contributors lost their work. OpenStreetMap and Open Food Facts use a share-alike licence and bind themselves to keep the data open, and both kept their communities.
The other choices were CC0 for everything (the simplest to reuse, but improvements made by others need not come back) and a closed database with a cheap API (the strongest hold on the data, but not open data).
- The database is licensed under the Open Database License (ODbL) 1.0, and its individual contents under the Database Contents License (DbCL) 1.0.
- Media is licensed under CC BY-SA 4.0, file by file. Every file records its author, its source and its licence. A file without all three is not accepted.
- The code stays Apache-2.0. ADR 0002 is unchanged.
- Contributions come in under the same licences they go out under, and cannot be withdrawn. There is no contributor licence agreement.
- Nobody, the maintainer included, can relicense the data to a licence that is not free and open.
- Contributions must be the contributor's own work. Text and media are not copied from other apps or websites. Data is imported from another project only when its licence is compatible and its attribution is kept.
- Complete dumps of the database are published, free.
- Anyone can use the data, commercially too, and can build a competing app from the dumps. The licence does not prevent that and is not meant to.
- Someone who publishes a changed copy of the database must share it under ODbL and credit LibreLifts. An app built on the data is not a database and can be closed.
- The data cannot be sold under a second, closed licence, so revenue has to come from a service around the data (ADR 0016).
- CC0 and public-domain sources can be imported. CC BY-SA text, such as wger's, can be imported only where the licences are compatible, and that is checked for each source. Media with no clear origin, such as the images in free-exercise-db and ExerciseDB, cannot.
- Strength standards derived from OpenPowerlifting's public-domain data can be published under ODbL.
- The app must show attribution for the data and media it bundles.
Generated from docs/ on dev. Edit the docs there; changes made on the wiki are overwritten.
- The open database and the API
- Development
- Parity with StrongLifts
- Workflow
-
Decisions
- 0001 Decisions are recorded as ADRs
- 0002 Apache License 2.0
- 0003 Parity with StrongLifts, everything free
- 0004 iOS, Android and web
- 0005 Local-first; accounts and sync later through Spotcraft
- 0006 openweight for import and export, not for storage
- 0007 One Expo app, wrapped in Electron for desktop
- 0008 A pnpm workspace with app, desktop and core
- 0009 The website is static Astro in apps/website
- 0010 The website is hosted on GitHub Pages at librelifts.app
- 0011 docs/ is for developers and is mirrored to the wiki
- 0012 Changes land on dev by fast-forward; main is the last release
- 0013 LibreLifts is an app and a crowd-sourced open database
- 0014 The database is ODbL, media is CC BY-SA, and neither can be closed later
- 0015 Data contributions start as pull requests; a web editor comes later
- 0016 A hosted API with a free tier is the paid product