Alea
A browser-first interactive storytelling engine built with zero-build vanilla JS ES modules, strict MVC separation, and bring-your-own OpenAI-compatible AI providers.
Vanilla JSES ModulesStrict MVCAWS S3/CloudFront#interactive-fiction#architecture#web-app
Zero-Build Browser Architecture
Alea is a long-running browser-based interactive storytelling workbench hosted at alea.sudravirodhin.com. Technically, it was an intentional exercise in building a rich, stateful client application without heavyweight frontend frameworks or bundler churn.
- Strict MVC in Vanilla ES Modules: Clean separation across
model/,view/,controller/, andai/modules so state mutations stay predictable and testable under Jest and Playwright. - Local-First Persistence + BYOK AI: Stores state locally in the browser and connects directly to user-configured OpenAI-compatible endpoints with structured response schemas.
- Static Delivery: Deploys as pure static assets behind private AWS S3 and CloudFront OAC.