Quick Start
- Set your
.env:JSTUDIO_KEY(required),PORT(default 3007),POLL_MS(default 30000). - Run the server:
npm start - In OBS add a Browser Source → point to one of the overlay URLs below.
All-in-one Overlay
Combines seeds + gear + eggs, shows next restock timer, and pops a rainbow toast when new PRISMATIC items appear.
Route:
/overlayParams:
scale— CSS scale factor (default1)speed— vertical wheel speed px/sec (default26)toastMs— PRISMATIC toast duration ms (default3500)
Seeds Overlay
Shows only seeds stock with timer. Scrolls even with exactly 3 items (static only if ≤2).
Route:
/overlay-seedsParams:
scale— CSS scale factor (default1)speed— vertical wheel speed px/sec (default26)
Example:
Gear Overlay
Shows only gear stock with timer. Same wheel animation & styling.
Route:
/overlay-gearParams:
scale— CSS scale factor (default1)speed— vertical wheel speed px/sec (default26)
Example:
Eggs Overlay
Shows only eggs stock with timer. Same wheel animation & styling.
Route:
/overlay-eggsParams:
scale— CSS scale factor (default1)speed— vertical wheel speed px/sec (default26)
Example:
Environment & Endpoints
.env
JSTUDIO_KEY— your JStudio API key (required)PORT— server port (default3007)POLL_MS— REST poll interval in ms (default30000)SECRET_TOKEN— optional for/debug/pingfetch
Server endpoints
GET /— this pageGET /health— basic JSON healthWS /ws— broadcast snapshots to overlaysPOST /debug/pingfetch— manual refresh (headerx-token: SECRET_TOKEN)