Skip to content

Bridge Overview

github-actions[bot] edited this page Aug 29, 2026 · 10 revisions

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 README in the Gubbins repository.

What it offers

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…".

Safe by design

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.

Related pages

Gubbins wiki

Getting started

Inventory

Asset lifecycle

People, loans & bookings

Users & access

Search

Scanning & labels

Purchasing & projects

Reports & insights

Sales & disposals

Alerts, activity & agenda

Companion extension

Data, sync & resilience

Bridge & Home Assistant

Settings & customisation

Reference

Clone this wiki locally