Storyteller
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v13View latest version
Hono-based API server for the story generator application.
GET /
- Serves the main application HTMLPOST /api/generate-story
- Generates a new story with chapters and imagesGET /frontend/*
- Serves frontend static filesGET /shared/*
- Serves shared utility files
- OpenAI integration for story generation
- AI image generation for story and chapter visuals
- Blob storage for caching generated content
- Error handling and validation
The app uses OpenAI through Val Town's standard library, which handles API keys automatically.