C/ CloudActiveAI Web App
Fortune
GPT-backed fortune-telling experience on Cloudflare Workers.

What it is.
A fortune-telling app powered by GPT and Cloudflare Workers, with a Vue 3 results page. Users submit birth details and focus areas through a step-by-step form; each reading consumes credits and returns a lucky color, personality projection, core analysis and actionable advice. D1 records users, credits and reading logs.
What it does.
- Step-by-step form for birth details, lucky color, season and focus
- Results page with glassmorphism, dynamic color and share cards
- Readings return a lucky color, resonance score, keywords, personality and advice
- Email verification grants credits; each successful reading deducts them
- /health reports model and D1 status
How it's built.
- One Worker handles routing, CORS, validation, model calls and D1 logs
- The system prompt forces a JSON schema; non-compliant output retries once
- Credits use an atomic conditional UPDATE; reading logs write asynchronously
- API keys arrive through wrangler secrets; responses set no-store
- Frontend build output ships as Worker static assets
Actively taking shape.
Record note
Versions, push dates and stars come from public repository snapshots; features and stack are taken from the implementation. Unconfirmed details stay blank, and dates are never guessed.
