License
This page tells you under which license you may use, change and share Sensora, and which other software runs in the bundled stack.
Sensora
| Part | Repository | License |
|---|---|---|
| Server and dashboard | github.com/sensoraiot/sensora | Apache License 2.0 |
| Arduino library and the Sensora Agent firmware | github.com/sensoraiot/sensora-library | Apache License 2.0 |
The full text is in the LICENSE file at the top of each repository.
In short, the Apache License 2.0 lets you use the software for any purpose, also commercially, change it and share it, including inside a product you sell. When you share it, you keep the license text and the copyright notices and say which files you changed. The software comes without warranty. This summary is not legal advice. The license text is what counts.
A self-hosted instance needs no license key.
Software the stack runs
The Docker Compose stack runs these components next to Sensora's own code. Each has its own license, set by its project. The first two images are named in deploy/docker-compose.yml. The other two are the base images in the Dockerfiles of the dashboard and the server.
| Component | Image | Used for | License |
|---|---|---|---|
| NanoMQ | emqx/nanomq:latest | MQTT broker | MIT, as the image's own labels state |
| PostgreSQL | timescale/timescaledb:latest-pg16 | Database | See the PostgreSQL and TimescaleDB projects |
| nginx | nginx:1.27-alpine | Serves the dashboard and passes requests to the server | See the nginx project |
| Bun | oven/bun:1.4.4 | Runs the server | See the Bun project |
The database image in version 0.1.27 is the TimescaleDB build of PostgreSQL 16. It contains the TimescaleDB software, which has licenses of its own. Sensora does not use the TimescaleDB extension. The Compose file notes a planned move to the plain postgres:16-alpine image.
Docker pulls these images from their publishers when you build and start the stack. The Sensora repository does not contain them.
The server and the dashboard also use open-source libraries, among them Hono, React and XYFlow. They are listed with their versions in web/apps/api/package.json and web/apps/dashboard/package.json.
