Run your own FStreamer server

FStreamer's online pairing, fan sync, control links and overlay link work through a small relay server. You can use the shared one, or run your own copy for free on Cloudflare. Your copy's data stays on your own Cloudflare account.

Download the server files (.zip) The same code this server runs, ready to deploy.

⚠️ Your copy doesn't update by itself. The FStreamer extension updates automatically, but your server only changes when you redeploy it. Each time the extension updates, download the files again and redeploy (see Keeping it up to date), or new features, like overlay animations and new Settings options, may be missing or not work with your server.

What you need

Set it up (about 10 minutes)

  1. Unzip the download and open a terminal in the fstreamer-server folder.
  2. Open wrangler.toml and set CONTACT_EMAIL to your own address. It appears on your server's privacy page.
  3. Sign in to Cloudflare (a browser window opens), then deploy:
    npx wrangler login
    npx wrangler deploy
    It prints your server's address, like https://fstreamer-server.yourname.workers.dev.
  4. Add your Lovense developer token (paste it when asked):
    npx wrangler secret put LOVENSE_TOKEN
  5. On the Lovense developer page, set Callback URL to your server's address followed by /lovense/callback.
  6. In FStreamer, open Settings → 2 · Online pairing → Use my own server, paste your server's address, then click Turn on.

On Windows, if PowerShell says running scripts is disabled, type npx.cmd instead of npx.

Keeping it up to date

You have to do this yourself: whenever the FStreamer extension updates, download the files again from this page, keep your wrangler.toml, and run npx wrangler deploy. Your rooms, pairings and secrets are kept.

Your copy's /privacy page describes the shared server. If you offer your copy to other people, update src/privacy-page.js to say who runs it.