A literary exploration app for moving through novels by passage, mood, theme, similarity, and narration. Readers can browse public-domain texts, open individual segments, jump to semantically related passages, and listen to aligned audio narration.
Architecture
Backend:
- FastAPI endpoints for novels, chapters, segments, similar passages, and audio.
- Postgres database hosted on Supabase, with pgvector for embedding similarity search.
- Text Ingestion: Chunking using chonkie, tagging characters and places using gpt-4o-mini.
- Audio Alignment: using ctc-forced-aligner.
- Audio storage: on Cloudflare R2.
Frontend:
- React, TypeScript, Vite
- React Router for client-side routing
- react-markdown for rendering segment content
- CSS Modules for scoped styling
- Vitest, Testing Library for tests