freeboard is a modern fork of Jim Heising's Freeboard focused on secure, production-grade dashboard delivery for IoT and operations use cases.
It adds:
- persistent dashboard storage in PostgreSQL
- GraphQL API backend
- Vue 3 frontend
- gateway-backed HTTP datasources with egress controls
- gateway-backed realtime datasources (SSE, WebSocket, MQTT)
- role-aware auth, sharing, and visibility model
- built-in widget set (Base, Text, Indicator, Gauge, Pointer, Picture, HTML, Sparkline, Table, Bar Chart, Status List, Map)
- Docker Compose runtime and Raspberry Pi kiosk automation
Live demo: Try Out
- Manual home:
docs/manual/index.md - Installation:
docs/manual/installation.md - Usage workflow:
docs/manual/usage.md - Datasource reference:
docs/manual/datasource-reference.md - Gateway contract:
docs/manual/gateway.md - Service accounts runbook:
docs/manual/service-accounts.md - Runtime metrics guide:
docs/manual/runtime-metrics.md - Deployment profiles:
docs/manual/deployment-profiles.md - Kiosk + Ansible operations:
docs/manual/ansible.md - Legacy datastore architecture (archival):
docs/manual/legacy-datastore-architecture.md - Secrets runbook:
docs/manual/secrets-operations.md - Package docs:
- API:
packages/api/README.md - Gateway:
packages/gateway/README.md - Shared:
packages/shared/README.md - UI:
packages/ui/README.md
- API:
- Node.js
24.13.1to<25(see.nvmrc) - npm
11.10.0to<12 - Docker Engine
>=20.10 - Docker Compose v2 (
docker compose) - Python
3.8+and Ansible (only for kiosk automation)
git clone https://github.com/CameronBrooks11/freeboard.git
cd freeboard
nvm use || nvm install
npm install
cp .env.dev .env
npm run devOpen:
- UI:
http://127.0.0.1:5173 - API:
http://127.0.0.1:4001/graphql - Gateway:
http://127.0.0.1:8001
- Set
CREATE_ADMIN=truein.envfor first bootstrap only. - Log in using
ADMIN_EMAILandADMIN_PASSWORD. - Then set
CREATE_ADMIN=false. - Password policy: 12+ chars, uppercase, lowercase, number, symbol.
.env.dev: minimal local development configuration (copy to.envto start quickly).env.example: full variable reference and defaults
API env precedence:
- process environment (shell/CI)
packages/api/.env(optional local override)- repo root
.env - code defaults
npm run dev behavior:
- starts Postgres via
docker-compose.postgres.ymland waits for healthy status - applies API schema changes (
npm run db:schema:apply) - starts UI/API/Gateway
- on Ctrl+C, stops UI/API/Gateway and leaves Postgres running
Helpful Postgres commands:
npm run dev:postgres:up
npm run dev:postgres:status
npm run dev:postgres:logs
npm run dev:postgres:down
npm run dev:postgres:resetdocker compose -f docker-compose.yml -f docker-compose.postgres.yml up -dMinimum required .env values before shared/staging/production use:
JWT_SECRETJWT_GATEWAY_SECRETGATEWAY_SERVICE_TOKENCREDENTIAL_ENCRYPTION_KEYFREEBOARD_POSTGRES_URLEGRESS_ALLOWED_HOSTSPOSTGRES_USERPOSTGRES_PASSWORDPOSTGRES_DB
Optional image pinning:
FREEBOARD_UI_IMAGE_TAG(defaultlatest)FREEBOARD_API_IMAGE_TAG(defaultlatest)FREEBOARD_GATEWAY_IMAGE_TAG(defaultlatest)
Published tags:
latestv<workspace-version>sha-<short-commit>latest-armv7(legacy 32-bit Pi track)v<workspace-version>-armv7(legacy 32-bit Pi track)sha-<short-commit>-armv7(legacy 32-bit Pi track)
Architecture strategy:
- Mainline tags (
latest,v*,sha-*) publishlinux/amd64andlinux/arm64using Node 24. - Legacy
-armv7tags publishlinux/arm/v7using Node 22 for 32-bit Raspberry Pi compatibility. linux/arm/v6is intentionally unsupported.
References for this split:
- Docker Raspberry Pi OS (32-bit) guidance and deprecation notes:
- Node official image upstream:
- Node official tags on Docker Hub:
Use docs/manual/secrets-operations.md for setup, rotation, and incident workflow.
npm run format:check
npm run lint
npm run check:ui:store-boundaries
npm run test
npm run build:verifyFormat in place:
npm run formatnpm run demo:realtime:up
npm run demo:realtime:smoke
npm run demo:realtime:downOne-shot integration run:
npm run test:realtime:integrationCI(.github/workflows/ci.yml)- pull requests to
main, merge queue, manual dispatch - docs-only changes skip heavy jobs
- path-gated jobs skip when unaffected; browser e2e runs in the separate
E2E smoke/E2E static (Lite)workflows, not inRequired CI - stable required check:
Required CI
- pull requests to
E2E smoke(.github/workflows/e2e-smoke.yml)- pull requests to
main, merge queue, and manual dispatch - cross-service browser smoke with Playwright artifacts
- pull requests to
Build & publish docker images(.github/workflows/build-docker-images.yml)- push to
main, manual dispatch - package-aware matrix build skips unchanged images
- includes
latest,v*, andsha-*tags
- push to
Deploy to GitHub Pages(.github/workflows/build-pages.yml)- push to
mainfor docs/demo-relevant paths, manual dispatch
- push to
Ansible quality(.github/workflows/ansible-quality.yml)- validates kiosk automation changes via
ansible-lintand syntax checks
- validates kiosk automation changes via
Repository Metrics(.github/workflows/metrics.yml)- runs on pushes/manual dispatch and publishes metrics artifacts
Dependency security audit(.github/workflows/dependency-security.yml)- scheduled weekly and manual dispatch
- fails on production dependency vulnerabilities at high/critical severity
Create inventory:
cp ansible/inventory.ini.example ansible/inventory.iniPattern A (recommended): control node applies to remote kiosk hosts.
ANSIBLE_CONFIG=ansible/ansible.cfg ansible-playbook -i ansible/inventory.ini ansible/playbook.yml \
-e "kiosk_profile=player_only kiosk_player_url=http://<freeboard-host>:8080/s/<share-token>" --check --diff
ANSIBLE_CONFIG=ansible/ansible.cfg ansible-playbook -i ansible/inventory.ini ansible/playbook.yml \
-e "kiosk_profile=player_only kiosk_player_url=http://<freeboard-host>:8080/s/<share-token>"Pattern B: local self-provision on a single Pi.
python -m venv .venv
.venv/bin/pip install -r requirements.txt
ANSIBLE_CONFIG=ansible/ansible.cfg .venv/bin/ansible-playbook -i localhost, -c local ansible/playbook.yml \
-e "freeboard_target_group=all kiosk_profile=player_only kiosk_player_url=http://127.0.0.1:8080/s/<share-token>" --check --diff
ANSIBLE_CONFIG=ansible/ansible.cfg .venv/bin/ansible-playbook -i localhost, -c local ansible/playbook.yml \
-e "freeboard_target_group=all kiosk_profile=player_only kiosk_player_url=http://127.0.0.1:8080/s/<share-token>"Rollback:
ANSIBLE_CONFIG=ansible/ansible.cfg ansible-playbook -i ansible/inventory.ini ansible/rollback.ymlLegacy datastore notes (archival only):
docs/manual/legacy-datastore-architecture.md
Continues the work of artificialhoney/freeboard, an archived prototype branch derived from the once-popular but long-unmaintained Freeboard/freeboard.
- Bug reports: use the GitHub Bug Report issue form.
- Widget proposals: use the Widget Proposal issue form.
- Support/questions: use GitHub Discussions.
- Security vulnerabilities: report privately through the Security advisory flow described in
SECURITY.md.
See CONTRIBUTING.md for PR expectations, widget proposal flow, and quality/security checklists. See docs/manual/translations.md for UI/docs translation contribution rules. See CONTRIBUTING_OPPORTUNITIES.md for active community contribution work (including translation review requests).
Copyright © 2013 Jim Heising (github.com/jheising)
Copyright © 2013 Bug Labs, Inc. (buglabs.net)
Copyright © 2024 Sebastian Krüger (sk.honeymachine.io)
Copyright © 2026 Cameron K. Brooks (github.com/CameronBrooks11)
Licensed under the MIT License
