Web Content displayed on a Raspberry Pi using Anthias for Pre-Show Content.
Webserver using Node.js that displays cast and crew information dependeing on the current DateTime. Data is requested from Kirby CMS for the current production.
Kiosk mode is controlled via URL query parameters and works globally from the root layout.
kiosk- Enables auto-rotation when present as
?kiosk,?kiosk=1, or?kiosk=true. - Disabled by default.
- Enables auto-rotation when present as
interval- Rotation interval in seconds.
- Default:
10 - Allowed range:
1to3600
playlist- Comma-separated list of routes to rotate through.
- Can be aliases (see below), relative route fragments, or absolute paths.
disableHeaderVideo- Disables video in the hero header and forces image usage when an image exists.
- Enabled when present as
?disableHeaderVideo,?disableHeaderVideo=1, or?disableHeaderVideo=true.
When a musical slug is active (for example /hamilton), these aliases are supported:
cast->/{musical}/castcrew->/{musical}/creworchester/orchestra->/{musical}/orchestergallery->/{musical}/galleryexternal-ads->/{musical}/external-adsdisclaimer->/{musical}/disclaimer
If playlist is not provided and the current route includes a musical slug, the rotation order is:
/{musical}/cast/{musical}/crew/{musical}/orchester/{musical}/gallery/{musical}/external-ads/{musical}/disclaimer
http://localhost:5173/hamilton?kiosk=1http://localhost:5173/hamilton?kiosk=1&interval=20http://localhost:5173/hamilton?kiosk=1&interval=10&playlist=cast,crew,gallery,external-adshttp://localhost:5173/hamilton?kiosk=1&playlist=/hamilton/cast,/hamilton/galleryhttp://localhost:5173/hamilton?kiosk=1&disableHeaderVideo=1
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openTo create a production version of your app:
npm run buildYou can preview the production build with npm run preview.