Astral Archives · Backend

Booth Editor

Configure the public Voice Box here: characters, voice IDs, prompt, limits, toggles. Hit Generate and paste the result into Neocities as your booth page. Nothing here goes near your API keys, those live in the Cloudflare Worker.

Autosaves in this browser

1 · Connection

The Worker is the middleman that hides your keys. Paste its URL, then test it. If the test fails, the public booth will fail the exact same way.

No trailing slash needed, it gets stripped automatically.

2 · Front page

What the randoms see. Toggles here bake into the generated page.

Show character portraits
Off = plain name buttons. Characters without an image get an initial tile.
Autoplay on by default
Visitors can still flip it themselves, this is just the starting state.
Include visitor counter
Adds your existing /counter.js include at the bottom of the page.

3 · Characters

Name and voice ID are required. Image and tag are optional. Order here doesn't matter, the front end sorts alphabetically no matter what you do.

4 · Brains & limits

The prompt drives the rewrite step. Keep {{CHARACTER}} in it, that's where the selected character's name gets swapped in. The user will no longer see or edit the tagged output, it will go straight to the voice engine for maximum mystery.

Cap on the rewrite response. 800 is comfy.
Your "500 tokens to the voice thing" is roughly 2000 characters.
How much narration a visitor can dump in at once.

5 · Save / load template

Everything autosaves in this browser as you type. Export a JSON backup before clearing your cache or switching machines, then Import it later to pick up where you left off.

6 · Generate the booth

Checks your config, then builds the complete public page. Copy it or download it, upload to Neocities, done.

Fix these first