Skip to content

0009 open data licences

github-actions[bot] edited this page Nov 18, 2026 · 1 revision

The database is ODbL, media is CC BY-SA, and neither can be closed later

Status: accepted · Implementation: planned · Date: 2026-11-18

From LibreLifts ADR 0014. The licence texts are added to the repository with the first data. CONTRIBUTING.md covers code only until contributions of data open.

Context

The code is Apache-2.0 (0002). That licence is written for software and does not fit a database or pictures. The database (0008) 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.

Decision

  • 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.
  • 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.

Consequences

  • 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 LibreBars. 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 income has to come from a service around the data (0010).
  • Media with no clear origin cannot be imported, however good it is.
  • The app must show attribution for the data and media it bundles.

LibreBars

Clone this wiki locally