Licences
In short. Leafhub is built from our own software plus well-known open-source programs. Each keeps its own licence, and here is every one of them with where to get its source code. The software terms for the Leafhub app and hub software are published here before the beta opens.
Part A. Open-source programs inside the hub
The hub runs these programs unmodified, each in its own container. We did not change their code. Each remains under its own licence;
nothing in Part C reduces your rights under them.
| Program | What it does for you | Licence | Source code |
|---|---|---|---|
| Nextcloud | Photos, files, calendar, contacts | AGPL-3.0 | github.com/nextcloud/server |
| Vaultwarden | Family password vault | AGPL-3.0 | github.com/dani-garcia/vaultwarden |
| Home Assistant | Smart home | Apache-2.0 | github.com/home-assistant/core |
| Node-RED | Advanced automations | Apache-2.0 | github.com/node-red/node-red |
| Frigate | Camera recording and detection | MIT | github.com/blakeblackshear/frigate |
| Jellyfin | Movies and music | GPL-2.0 | github.com/jellyfin/jellyfin |
| Pi-hole | Ad and tracker blocking | EUPL-1.2 | github.com/pi-hole/pi-hole |
| dnsdist | Encrypted DNS front door | GPL-2.0 | github.com/PowerDNS/pdns |
| Homepage | The hub's dashboard | GPL-3.0 | github.com/gethomepage/homepage |
| Authelia | Sign-in and two-factor | Apache-2.0 | github.com/authelia/authelia |
| Headscale | The private tunnel for away-from-home use | BSD-3-Clause | github.com/juanfont/headscale |
| step-ca and step-cli | The hub's own certificate authority | Apache-2.0 | github.com/smallstep/certificates |
| lego | Domain certificates | MIT | github.com/go-acme/lego |
| cloudflare-ddns | Keeps a domain name pointing at your hub (optional) | Apache-2.0 | github.com/favonia/cloudflare-ddns |
| nginx | Web front door | BSD-2-Clause | github.com/nginx/nginx |
| Mosquitto | Messaging between devices | EPL-2.0 / EDL-1.0 | github.com/eclipse/mosquitto |
| MariaDB | Database | GPL-2.0 | github.com/MariaDB/server |
| Redis 7.2 | Fast cache | BSD-3-Clause (pinned to 7.2.17) | github.com/redis/redis |
| Ollama | Runs Leaf's AI models on your hub | MIT | github.com/ollama/ollama |
| Wyoming openWakeWord, Whisper, Piper | Wake word, speech to text, spoken answers | Apache-2.0, MIT, MIT: being confirmed | github.com/rhasspy and github.com/OHF-Voice |
| Docker CLI, Python, Alpine Linux, Debian | Plumbing | Apache-2.0, PSF, various, various | the distributions' own source sites |
AI models
| Model | Used for | Licence |
|---|---|---|
| Llama 3.2 3B (Meta) | Leaf's answers | Llama 3.2 Community Licence (not open source in the strict sense; it has an acceptable-use policy and requires the notice "Built with Llama") |
| Phi-3.5 mini (Microsoft) | Leaf's lighter model | MIT |
| Moondream, nomic-embed-text, openWakeWord and Piper voices, Whisper models | Pictures, search, voice | being confirmed |
On Mac and Windows computers
The hub runs inside a small Linux layer that Leafhub ships. It contains Ubuntu (many licences, source at ubuntu.com) and, on
Windows, QEMU (GPL-2.0, source at qemu.org). On Mac it uses Apple's own virtualisation, so nothing extra is shipped for that part.
Part B. What these licences ask of us, and how we meet it
| Obligation | Programs affected | What we do |
|---|---|---|
| Tell you the licence and keep copyright notices | All | This page, plus the notices stay inside each program's container |
| Offer the source code | GPL and AGPL programs (Jellyfin, MariaDB, dnsdist, Homepage, Nextcloud, Vaultwarden, QEMU) | The links above point at the public source. For the exact version on your hub, write to the Leafhub beta team and we will send it; this offer is valid for at least three years from the release |
| Provide the source of any change we make | AGPL programs, when run as a network service | We make no changes today. If we ever do, we publish the change and add its link here before shipping |
| Keep the programs separate from our own software | GPL and AGPL | Our software talks to them only over the network and by configuration. It is never linked into them |
| Show "Built with Llama" | Llama 3.2 | Shown on this page and, before general release, in the Leaf settings screen |
Our protection of our own code does not touch these programs. The readable-source protection (see the release runbook) applies only to
Leafhub's own code. The open-source programs above are shipped as their makers publish them, so you can always get their source.
Questions or a source-code request: support@leafhub.ai.