piper-interactions-worker
Discord Interactions Endpoint (Cloudflare Workers + Hono) for PiperBot TTS.
- Verifies Ed25519 signatures, routes
/infer,/models,/dataset,/help - Proxies synthesis to the Piper Vercel API, paginates lists via stateless buttons
- Stats button reveals 3y3-encoded trace hidden in the result message
Setup
npm i
wrangler secret put DISCORD_PUBLIC_KEY
wrangler secret put DISCORD_TOKEN
# edit PIPER_API_URL in wrangler.toml
npx wrangler deploy
Set the Discord Interactions Endpoint URL to https://<worker>/api/interactions.