imbytecat d5bbc14c8d feat: move base URL, API key, and model to server .env
- BASE_URL, API_KEY, MODEL now read from process.env (Bun auto-loads .env)
- requireEnv() fails fast at startup if any is missing
- request body simplifies to { prompt, size, referenceImages? }
- client drops the three fields from form and localStorage
- add .env.example as the variable-name source of truth
- AGENTS.md notes the 0.0.0.0 bind now exposes the upstream quota to
  anyone reachable on the network
2026-05-18 23:28:12 +08:00
2026-05-18 21:50:41 +08:00
2026-05-18 21:50:41 +08:00
2026-05-18 21:50:41 +08:00

ai-playground

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.3.13. Bun is a fast all-in-one JavaScript runtime.

S
Description
No description provided
Readme 92 KiB
Languages
TypeScript 66.2%
HTML 33.8%