⚡ Power Fantasy Analyzer (AI, Batched)

Upload this file to Cloudflare Pages as index.html. Point it at your Cloudflare Worker which:
- GET /chapters?url=... → returns chapter URLs
- POST /analyze-batched?url=... → fetches all chapters, batches ~30k words, calls Gemini with memory

Worker setup

Paste your Cloudflare Worker URL here once. It will be saved in this browser.

The Worker must implement /chapters and /analyze-batched as in the supplied worker.js.

Full-novel AI analysis (with memory)

Paste a Royal Road novel URL. The app will fetch up to 20 chapters, batch them, and send them to Gemini with running memory.

Overall results

Power Progression
--
Mental Strength
--
Worldbuilding
--
Chapters Analyzed
--

Per-chapter power progression