How moggle-khraum/noveldr works
NovelDR is an Android webnovel downloader and offline reader. Its principal workflow is to find a novel, retrieve its metadata and chapters from a supported source, save it in the library, and read it offline. The graph also preserves documented reader capabilities and the companion API server. Source excerpts establish scraper dispatch and some internal calls; several app screens and persistence links are represented from the README and tree, so their individual wiring is not asserted.
Main entry points: useApi.ts Scraper Dispatch · [id].tsx Chapter Reader · index.tsx Reader App · add.tsx Add Novels
Components 20
Novel Reader App
- Reader App
artifacts/novel-reader/app/(tabs)/index.tsx - Library
artifacts/novel-reader/context/LibraryContext.tsx - Novel Index
artifacts/novel-reader/app/novel/[id].tsx - Add Novels
artifacts/novel-reader/app/(tabs)/add.tsx - Updates
artifacts/novel-reader/app/(tabs)/updates.tsx - Settings
artifacts/novel-reader/app/(tabs)/settings.tsx
Novel Acquisition
- Scraper Dispatch
artifacts/novel-reader/hooks/useApi.ts - Direct Scraper
artifacts/novel-reader/hooks/useDirectScraper.ts - Source Registry
artifacts/novel-reader/hooks/scrapers/registry.ts - Source Adapters
artifacts/novel-reader/hooks/scrapers/sources - WebView Bridge
artifacts/novel-reader/hooks/scrapers/shared/webviewBridge.tsx
Reading Features
- Chapter Reader
artifacts/novel-reader/app/reader/[id].tsx - Chapter Persistence
artifacts/novel-reader/hooks/reader/useChapterPersistence.ts - Dictionary Lookup
artifacts/novel-reader/hooks/reader/useDictionary.ts - Personal Glossary
artifacts/novel-reader/hooks/reader/useGlossary.ts - Text To Speech
artifacts/novel-reader/hooks/reader/useTTS.ts
API Server
- API Application
artifacts/api-server/src/app.ts - Novel Scraping Route
artifacts/api-server/src/routes/novel.ts - Health Route
artifacts/api-server/src/routes/health.ts
Other components
- Novel Websites
Connections 21
- Reader App → Add Novels: opens download
- Add Novels → Scraper Dispatch: requests novel
- Scraper Dispatch → Source Registry: checks source
artifacts/novel-reader/hooks/useApi.ts - Scraper Dispatch → Direct Scraper: falls back
artifacts/novel-reader/hooks/useApi.ts - Scraper Dispatch → WebView Bridge: checks site
artifacts/novel-reader/hooks/useApi.ts - Source Registry → Source Adapters: dispatches to
artifacts/novel-reader/hooks/scrapers/registry.ts - Direct Scraper → Novel Websites: fetches pages
- Source Adapters → Novel Websites: scrapes pages
- WebView Bridge → Novel Websites: loads pages
- Add Novels → Library: adds novels
- Library → Novel Index: shows index
- Novel Index → Chapter Reader: opens chapters
- Chapter Reader → Chapter Persistence: tracks progress
- Chapter Reader → Dictionary Lookup: looks up words
- Dictionary Lookup → Personal Glossary: uses glossary
artifacts/novel-reader/hooks/reader/useDictionary.ts - Chapter Reader → Text To Speech: reads aloud
- API Application → Novel Scraping Route: mounts routes
artifacts/api-server/src/app.ts - API Application → Health Route: mounts routes
- Novel Scraping Route → Novel Websites: fetches chapters
- Reader App → Updates: opens updates
- Reader App → Settings: opens settings