Skip to content

Commit b4264ca

Browse files
Add RockSniffer queue sync
1 parent bb2ac03 commit b4264ca

27 files changed

Lines changed: 2691 additions & 48 deletions

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
All notable changes to this project are documented here.
44

5+
## [0.10.0] - 2026-04-18
6+
7+
### Added
8+
- Dashboard settings now include a RockSniffer addon download and setup flow, making it possible to keep the current song in sync automatically while you play.
9+
10+
### Changed
11+
- The RockSniffer addon setup is easier to follow, with clearer local launch steps, version-aware downloads, and a safer queue handoff when a matching song starts.
12+
13+
### Fixed
14+
- Search stays more reliable during broader filtered lookups.
15+
516
## [0.9.0] - 2026-04-16
617

718
### Added

docs/local-development.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ For this repo, treat `http://localhost:9000` as the default existing dev app. Be
7474
## Day-To-Day Commands
7575

7676
- `npm run dev`
77+
- `npm run tunnel`
7778
- `npm run db:migrate`
7879
- `npm run check:prepush`
7980
- `npm run check:ship`
@@ -118,25 +119,31 @@ Use that tunnel first for sign-in and other auth-sensitive browser checks.
118119

119120
EventSub and Twitch panel hosted testing also work better with a public HTTPS URL.
120121

121-
Cloudflare Tunnel flow:
122+
Start the existing tunnel with:
122123

123124
```bash
124-
cloudflared login
125-
cloudflared tunnel create request-bot-dev
126-
cloudflared tunnel route dns request-bot-dev dev.example.com
127-
cloudflared tunnel run <your-tunnel-id>
125+
npm run tunnel
128126
```
129127

128+
That script points `https://dev.itsaunix.systems` at `http://localhost:9000` using the repo-local Cloudflare tunnel defaults and the credentials file under your local `.cloudflared` folder.
129+
130+
Override the defaults with:
131+
132+
- `REQUEST_BOT_TUNNEL_ID`
133+
- `REQUEST_BOT_TUNNEL_HOST`
134+
- `REQUEST_BOT_TUNNEL_URL`
135+
- `REQUEST_BOT_TUNNEL_CREDENTIALS_FILE`
136+
130137
If you need to recreate the tunnel yourself, then set:
131138

132-
- `APP_URL=https://dev.example.com`
133-
- `VITE_ALLOWED_HOSTS=dev.example.com` if Vite blocks the hostname
134-
- `VITE_TWITCH_EXTENSION_API_BASE_URL=https://dev.example.com` for the standalone panel build
139+
- `APP_URL=https://dev.itsaunix.systems`
140+
- `VITE_ALLOWED_HOSTS=dev.itsaunix.systems` if Vite blocks the hostname
141+
- `VITE_TWITCH_EXTENSION_API_BASE_URL=https://dev.itsaunix.systems` for the standalone panel build
135142

136143
Also register these Twitch redirect URIs:
137144

138-
- `https://dev.example.com/auth/twitch/callback`
139-
- `https://dev.example.com/auth/twitch/bot/callback`
145+
- `https://dev.itsaunix.systems/auth/twitch/callback`
146+
- `https://dev.itsaunix.systems/auth/twitch/bot/callback`
140147

141148
`ngrok http 9000` is the simpler alternative when you do not need a stable hostname.
142149

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE `channel_settings`
2+
ADD COLUMN `rocksniffer_relay_token` text DEFAULT '' NOT NULL;

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "request-bot",
33
"private": true,
44
"type": "module",
5-
"version": "0.9.0",
5+
"version": "0.10.0",
66
"engines": {
77
"node": ">=22"
88
},
@@ -17,6 +17,7 @@
1717
"pretypecheck": "npm run routes:generate && npm run db:sync-latest-migration",
1818
"predeploy": "npm run db:sync-latest-migration",
1919
"dev": "vite dev --port 9000",
20+
"tunnel": "node scripts/tunnel.mjs",
2021
"build": "vite build",
2122
"build:extension:panel": "vite build --config vite.extension.config.ts",
2223
"build:extension:package": "npm run build:extension:panel && node scripts/package-extension-panel.mjs",
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)