Open App

How the Web App Connects

How the Squabble web app reaches your Audiobookshelf server, where the privacy risks are, and how to avoid them.

If you self-host Audiobookshelf, you should know exactly what sits between Squabble and your server. This page answers that plainly: what connects to what, where the risks are, what we do about them, and how to keep us out of the path entirely.

The short version

How you listenPath to your serverDoes it pass through Squabble's servers?
iPhone or Android appYour phone talks to your server directlyNo
Web app, Direct from this browserYour browser talks to your server directlyNo
Web app, Via the Squabble proxyYour browser → our proxy → your serverYes: sign-in and API requests do. Audio and covers don't

Your web connection settings show which of the two web paths you're on (see Listening on the Web).

Why does the web app need a proxy at all?

Browsers block a website from calling another site's API unless that other site explicitly allows it (this is called CORS). Out of the box, Audiobookshelf doesn't allow it, so a page on squabbleinn.com can't talk to your server directly.

When that happens and your server is on the public internet, the web app passes its API requests (signing in, listing your libraries, saving your position) through a small relay on our hosting provider, which forwards them to your server. The phone apps aren't websites, so this rule doesn't apply to them, and they never use the proxy.

Audio and cover images aren't restricted this way, so your browser always loads those straight from your server, even when the API goes through the proxy.

Where are the risks?

We'd rather you hear these from us.

  • Your sign-in passes through the proxy. In proxy mode, your ABS username and password travel through our proxy once when you connect, and your sign-in token travels through it with each request after that. The proxy forwards them and doesn't keep them, but while it's in the path you are trusting it.
  • Your server's address shows up in our host's request logs. The proxy is told where to forward each request in its own address, and our hosting provider logs request addresses as standard practice. The logs include your server's address, but not your password or token.
  • Your token is stored in your browser. The web app keeps your ABS sign-in token in this browser's storage so you stay connected. Anyone with access to your browser profile, or a malicious browser extension, could read it.
  • Direct mode puts your token in addresses sent to your own server. Audio and cover requests carry the token in the address, which your server or your reverse proxy may write to its own logs. Those logs are yours, but treat them as sensitive.
  • Older Audiobookshelf versions issue tokens that never expire. On ABS 2.26 and later, Squabble gets a short-lived token that it renews automatically. Older servers hand out a single token that stays valid until it's revoked on the server.
  • "Remember server and username" saves both to your Squabble account. It's optional and off unless you turn it on. Your password is never saved, on the web or on your phone.

What do we do to reduce them?

The proxy:

  • Only works for people signed in to Squabble Inn. Anyone else is turned away before it contacts any server, so it can't be used as an open relay.
  • Only forwards to https addresses, refuses private and home-network addresses (like 192.168…, 10.…, localhost, or .local names), and only forwards paths that belong to the Audiobookshelf API.
  • Stores nothing. There's no database behind it, it marks every response as not to be cached, and it never passes your server's own login cookies back to the browser.
  • Receives your token in a request header or in a secure cookie that only the proxy can see, never in an address, so the token stays out of request logs.

Across the app:

  • Your server's address and any tokens are stripped from our analytics and crash reports before they leave your device.
  • On ABS 2.26 and later, Disconnect signs Squabble out on your server too, so the token it held stops working.

How do I keep Squabble out of the path?

Pick whichever fits how you listen:

  • Use the phone app. It connects straight to your server, at home over your network or Tailscale, or from anywhere through your reverse proxy.
  • Let your browser connect directly. Set ALLOW_CORS=1 on your Audiobookshelf server and restart it, then reconnect on the web. Squabble always tries direct first, and the settings page will say Direct from this browser. For a Tailscale server, also run tailscale serve so it has an https address.
  • Give Squabble its own ABS user. Create a separate Audiobookshelf user with access to only the libraries you want to listen to in Squabble, instead of signing in as your admin account.
  • Disconnect when you're done. Open Settings, then Audiobookshelf, and click Disconnect.

Squabble is an independent app, not affiliated with or endorsed by the Audiobookshelf project.