Remote control & multiple screens
Seedshade’s visuals can be controlled from the terminal of another PC, or from an AI (via the CLI).
The main window connects to a relay server over WebSocket, and the CLI (vj-ctl and others) sends commands to that relay.
| Relay | URL to use | Where the relay runs | Best for |
|---|---|---|---|
| room | ?room=<id> |
The hosted version’s Worker (/room/<id>) |
Using the hosted version. Works from another PC or another network |
| bridge | ?bridge=1 |
pnpm bridge on your own PC (127.0.0.1:7877) |
Using the local version (pnpm dev). Same PC only |
If the URL has neither room nor bridge, the main window does not connect to any relay (so there is no risk of it being controlled unexpectedly during a show).
Controlling via room (hosted version)
Section titled “Controlling via room (hosted version)”The CLI is in the repository, so set up the repository on the controlling PC (Node.js 24 and pnpm are required).
-
Set up the repository
ターミナルウィンドウ git clone https://github.com/tainakanchu/seedshade.gitcd seedshadepnpm install -
Create a room (no network traffic; it only generates a random shared key)
ターミナルウィンドウ node scripts/vj-ctl.mjs room --host seedshade.tainakanchu.comIt prints
room(the id),pageUrl, andctlArgsas JSON. -
Open
pageUrlon the output PCThe URL has the form
https://seedshade.tainakanchu.com/?room=<id>. You may add other parameters such asui=hide. -
Confirm it is connected
ターミナルウィンドウ node scripts/vj-ctl.mjs --url wss://seedshade.tainakanchu.com/room/<id> stateIf JSON comes back, you are ready. Add the same
--urlto every command from here on (you can usectlArgsas is).
{"error":"no synth connected"}… one of: the page is not open,?room=is missing, or the room id is wrong.- The room id is a shared key with no authentication. Anyone who knows the URL can control the visuals, so do not post it in public places, and create a new one for each show.
- A room id is 8 to 64 characters of alphanumerics,
_, and-. An id with a different form will not connect.
Controlling via bridge (local version)
Section titled “Controlling via bridge (local version)”-
Start the local version (
pnpm dev). -
In another terminal, start the relay and leave it running.
ターミナルウィンドウ pnpm bridgeIf you see
vj-bridge listening on ws://127.0.0.1:7877 ..., it is OK. -
Open
https://localhost:5173/?bridge=1in the browser. -
Check with
node scripts/vj-ctl.mjs state(the local relay is the default target, so--urlis not needed).
- The relay listens only on
127.0.0.1(it has no authentication, so it is not exposed to the LAN). Therefore it can only be used within the same PC. - To change the port, use
pnpm bridge --port 7878,?bridge=7878for the page, and--port 7878for the CLI. vj:gen/vj:tweak/vj:reciperequire a connection target, so add--url ws://127.0.0.1:7877(How it works & connecting).
mirror: showing on multiple screens
Section titled “mirror: showing on multiple screens”You can connect any number of display-only mirror screens to the same room (or bridge).
| Role | URL | Count |
|---|---|---|
| Main (responds to commands) | ?room=<id> |
Only one |
| mirror (display only) | ?room=<id>&mirror=1 |
Any number |
Commands sent from the CLI reach the main and all mirrors at the same time. Mirrors do not send responses, so the main answers queries such as state.
Opening the local version from another LAN device
Section titled “Opening the local version from another LAN device”pnpm dev is also exposed to the LAN, so another device on the same network can open https://<the PC's IP address>:5173/ (proceed past the self-signed certificate warning via “Advanced” → “Proceed to …”).
However, ?bridge=1 cannot be used from that device (bridge looks at that device’s own 127.0.0.1). To control from another device, use the hosted version with ?room=.