Demo Mode
Run Auvyra as a public demo that anyone can sign in to, and that resets every hour.
Demo mode is how demo.auvyra.org runs. You won't need it for your own station.
What it does
- Sets itself up. On first start it creates a sample station, Night Harbor FM, with presenters, shows, news, a poll and an event, connects to the AzuraCast you choose, and makes a shared admin login:
[email protected]with the passwordauvyra-demo. The sign-in page shows them. - Resets every hour. At the top of every hour the database and uploads are wiped and the sample station comes back. Requests that arrive during the reset wait a moment for the fresh station. Every page shows a banner counting down to the next reset.
- Locks what could break it for the next visitor: AzuraCast, email, webhooks and Discord settings, team members and passwords, two-factor sign-in, system settings, export and import, Updates and Get help. Locked actions say so.
- Never reaches other people. No email is sent, listener sign-ups and newsletter subscriptions are off, and AzuraCast is read without an API key, so visitors can't skip songs or stop the stream.
- Keeps what visitors publish on the demo. Links and pictures from other websites are removed when something is saved, links in text keep only their words, custom CSS is cleared, and uploads are off. Search engines are told not to index anything.
Running it
Demo mode needs SQLite, because each reset starts a fresh database file. Use docker-compose.sqlite.yml, and add to .env:
AUVYRA_MODE=demo
AUVYRA_DEMO_AZURACAST_URL=https://radio.example.com
# Which AzuraCast station, by its short name. The first one if left empty.
AUVYRA_DEMO_STATION=For listeners to hear the stream in their browsers, the AzuraCast address must use HTTPS when the demo does.
As a Discord Activity
Visitors can't change integrations, so the demo takes its Discord Activity from these settings, and turns it on at every reset:
AUVYRA_DEMO_DISCORD_APP_ID=
AUVYRA_DEMO_DISCORD_SECRET=Set up the Discord application as the Discord Activity page explains, with the demo's address as the / mapping.