Repository navigation
Bridge Overview
The bridge is an optional companion server that makes your Gubbins data available to other tools — a voice assistant, Home Assistant, an AI assistant, your calendar, a dashboard. The Gubbins app itself never runs a server; the bridge is a separate thing you choose to run.
ℹ️ Note The bridge is a more technical, enthusiast-oriented feature. If you just want to use Gubbins, you can skip this whole section — nothing here is required. Full technical detail lives in the bridge's own
READMEin the Gubbins repository.
Pointed at a copy of your data (a sync snapshot or the SQLite file), the bridge can expose:
- A read-only query API — search and read your items over HTTP.
- A spreadsheet and dashboard connection — a refreshable CSV pull, or a proper OData feed that Excel, Power Query and Power BI can connect to and browse like any other data source. The CSV pull returns every matching item however large your inventory is, and a refresh that finds nothing has changed since last time finishes without re-sending the file.
- A calendar feed (iCal) of due-backs, bookings, maintenance and warranties.
- Webhooks — calls a URL of your choosing when something changes.
- A live event stream (SSE) of the same changes.
- MQTT publishing + Home Assistant discovery.
- An MCP server so an AI assistant can answer "where are my…".
The bridge is built to be cautious:
-
Loopback by default — it listens only on your own machine (
127.0.0.1) unless you deliberately expose it. It speaks plain HTTP, so if you do bind it to the network, put it behind HTTPS on anything you don't fully trust — see exposing it beyond your own machine. - Per-user tokens — requests need an API token you mint in the app against a particular account, and they can only do what that account can do.
- Read-only by default — it can't change your data unless you explicitly turn on writes (a short, fixed list: adjusting a quantity or gauge, [[checking items out and back in|Loans-Check-Out-and-In]], and moving stock between locations) or push (accepting a whole dataset — the wider of the two).
- Everything network-facing is opt-in — each feature (events, MQTT, discovery) is off until you enable it, and every choice is logged at startup.
Because you run it yourself, the bridge only updates when you update it — and Gubbins warns you on the Sync screen when the one you're connected to has fallen behind the app. See Keeping it up to date.
ℹ️ Note Gubbins may ask you to reload after you enter a bridge address. Part of keeping the app safe is that it only contacts addresses it was told about when it started, so the first time you point it at a bridge — or move it to a different one — a Reload to connect to this bridge notice appears. One reload and it can reach it. Nothing is wrong with the bridge, and the reload costs you nothing: your data lives on the device, not in the page.
⚠️ Heads-up The bridge reads a copy of your data and can serve it over the network if you configure it to. Treat an API token like a password, keep the default loopback bind unless you know you need a LAN, and never commit a token anywhere. See Privacy & security.
- Running the bridge — starting it up.
- Bridge API tokens — how tools are given access, and how to take it back.
- Home Assistant integration — the flagship use.
- AI assistant query (MCP), Webhooks and Webhooks, MQTT & iCal — the other surfaces.
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
- Filling fields from a database
- Low stock & gauges
- Counting by weight
- Container weights
- Bulk edit & clone
- Deduplicating items
- 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
- Sharing settings between devices
- 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
- Finding a setting
- Appearance & theming
- Branding
- Dashboard & widgets
- Modular UI
- Language & region
- Units of measure
- Notifications
- Kiosk & tablet mode
Reference