Astral Archives · Backend

Booth Editor

Configure the public Voice Box here: characters, voice IDs, style tags, links, prompt, limits, toggles. Hit Generate and paste the result into Neocities. Your API keys never come near this file, they live in the Cloudflare Worker.

Autosaves in this browser

1 · Connection

The Worker is the middleman that hides your keys. Note: Test connection only proves the audio side works. The rewrite side (LLM key and model) gets checked by the Worker's own health endpoint, which the test now also pokes.

No trailing slash needed, it gets stripped automatically.

2 · Front page

What the randoms see. Toggles here bake into the generated page. The tone selector (Neutral, Playful, Seductive, Bratty) is built in and always shows.

Show character portraits
Off = 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. Style is optional and gets injected as the very first [tag] of every script, e.g. "German accent" or "raspy drawl". Link is optional and puts a small tap-to-open icon on the character's button, pointing at their page. 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 visitor's tone pick appends its own directive underneath, you don't need to write those. Model names are NOT set here on purpose, they live in the Worker so nosy people reading your page source learn nothing.

Cap on the rewrite response. 800 is comfy.
Your "500 tokens to the voice thing" is roughly 2000 characters.
How much 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