# Roadmap

## Phase 1: Public demo and documentation

- Publish polished GitHub Pages demo
- Organize README, license, roadmap, and Codex application notes
- Keep repository safe for public review

## Phase 2: React editor foundation

- Reintroduce React/Vite editor modules
- Add route structure and component boundaries
- Improve template model and export flow

## Phase 3: Supabase integration

- Auth setup
- Storage bucket policies
- Draft persistence
- Template records
- Generation logs

## Phase 4: AI Gateway

- Provider-agnostic API contract
- Text-to-image endpoint
- Image retrieval endpoint
- Prompt workflow endpoint
- Environment-variable based provider switching

## Phase 5: Quality and security

- Tests
- Linting
- Dependency review
- Environment variable safety
- Self-hosting guide
