-
Notifications
You must be signed in to change notification settings - Fork 0
Running the Bridge
The bridge is a small server you run yourself, pointed at a copy of your
Gubbins data. This page is a friendly orientation — the authoritative, always-current setup steps
live in the bridge's own README in the Gubbins repository.
ℹ️ Note Running the bridge means running a command-line program (Node.js). It's aimed at people comfortable doing that; if that's not you, everything in the main app works without it.
To run the bridge you need three things:
-
A copy of your data — point the bridge at your sync snapshot
(
gubbins-sync.json) or a raw.sqlitecopy. It watches the file and re-reads it when it changes, so it stays current as you sync. - A secret token — set a long, random token. Every request must present it, so only you (and the tools you configure) can query the bridge.
-
Start it — run the read-only HTTP server. By default it binds loopback only
(
127.0.0.1), so it isn't reachable from other machines unless you deliberately change that.
Once it's up, you query it over HTTP with your token, or wire it into Home Assistant, an AI assistant, your calendar, and more.
The bridge can't modify your inventory by default — it's a window onto your data, not a way in. Write-back (letting an assistant adjust stock, say) is a separate, explicit opt-in, and even then it goes through Gubbins' safe merge so it can't cause drift.
⚠️ Heads-up Keep the token secret and out of any file you commit or share — this is a public project, and a leaked token plus an exposed bind would let others read your data. The safe default is loopback-only with a strong token. See Privacy & security.
- Bridge overview — what the bridge is and its safety model.
- Home Assistant integration, AI assistant query (MCP), Webhooks, Webhooks, MQTT & iCal — what to do with it.
Gubbins · a local-first, offline inventory app · Report an issue
Getting started
Inventory
- Items
- Tracking modes
- Locations & stock
- Location photos & regions
- Batches & lots
- Variants & SKUs
- Kits & bundles
- Tags, attachments & related
- Custom fields & capabilities
- Low stock & gauges
- Counting by weight
- Container weights
- Bulk edit & clone
- Inventory views
Asset lifecycle
- Warranty & depreciation
- Current value & revaluation
- Maintenance & servicing
- Test & calibration records
- Condition grading
- Cycle counts & audit day
- Insurance & estate schedule
People, loans & bookings
Users & access
Search
- Search overview
- Visual query builder
- Text query syntax
- Natural-language search
- Saved searches & favourites
Scanning & labels
Purchasing & projects
- Projects & BOM
- Budgets
- Purchase orders
- Reorder & shopping list
- Wishlist
- Supplier parts & price history
- Suppliers
Reports & insights
- Reports overview
- Valuation & spend
- ABC, turnover & aging
- Sales & margin
- Data hygiene
- Parts catalogue
Sales & disposals
Alerts, activity & agenda
Companion extension
Data, sync & resilience
- How your data is stored
- Cloud sync
- Backup & restore
- Export & import
- Migrating from another tool
- Storage triage
- Danger zone: erasing data
Bridge & Home Assistant
- Bridge overview
- Running the bridge
- Bridge API tokens
- Home Assistant
- AI assistant query (MCP)
- Webhooks
- Webhooks, MQTT & iCal
Settings & customisation
- Appearance & theming
- Branding
- Dashboard & widgets
- Modular UI
- Language & region
- Notifications
- Kiosk & tablet mode
Reference