A Single Studio broadcast graphics project: an operator's board that runs as a dock inside OBS, and one browser source per graphic.
One repo per show. The repo's name is the show's address, STUDIO_NAME is its label,
and neither has to match anything on any server.
Both names live in src/studio/config.js, which is the first file worth editing:
export const STUDIO_NAME = 'My Studio' // shown to people; change it any time
export const STUDIO_ID = 'my-studio' // where the show is filed; changing it starts an empty onenpm install
npm run devOpen the printed URL. The header menu lists every graphic's browser-source URL with a copy button — that is what you paste into OBS.
Any package manager works. This is an ordinary Vite app with no workspace
protocol and no linking, so pnpm or yarn are fine; npm is used here only because it
comes with Node. If you switch, change the two run lines in
.github/workflows/pages.yml to match, and nothing else.
Commit the lockfile that first install produces. Nothing breaks without it — the deploy workflow survives a repository that has never been installed — but it is what makes a build today and a build in six months the same build.
Pages has to be switched on once, and this workflow cannot do it for itself.
Enabling Pages from inside an action needs a personal access token with repo scope,
which is a worse thing to keep around than one click. Switch Settings → Pages →
Source to GitHub Actions, or run:
gh api -X POST repos/<you>/<this-repo>/pages -f build_type=workflowEither is idempotent — a repository that already has Pages on answers 409. Skip it
and the first deploy fails on a repository nobody has touched yet, for a reason that
reads like a broken template.
| Path | What it is |
|---|---|
src/control/ |
The operator's board — Control.jsx composes panels/ |
src/sources/ |
One component per graphic. Each becomes an OBS browser source |
src/mutations/index.js |
How your show's data changes. Starts empty |
src/studio/ |
What the studio is called, its id, and the worker that holds it |
src/css/index.css |
Tailwind, and your own CSS at the bottom |
public/ |
Images and fonts that ship with the studio |
Everything else — index.html, src/main.jsx, vite.config.js — already works and
you should not need to change it.
Adding a graphic, wiring it into OBS, clocks, images, transitions, collaborating and deploying are all documented once, on the site:
Getting started → · Components · Your own data · Plugins
This template is public domain — the Unlicense. Use it, change it, run a commercial broadcast off it. No permission needed, no attribution required, nothing owed, and no copyright of anyone else's ends up in your show.
It was written for Single Studio by Shaun "FourCourtJester" Delaney, which is a courtesy note rather than a condition.
Once this is your studio rather than the starter, LICENSE is describing your work.
A show is a private application, so most people simply delete it; replace it instead
if you ever open-source yours.
.github/FUNDING.yml puts a Sponsor button for Single Studio on your repository.
Delete it, or point it at your own accounts.
The framework packages you install from npm are MIT and keep their own licences
inside node_modules. That is the normal arrangement and needs nothing from you.