How littlefoxy067/novel-hub works
Novel Hub is a novel-discovery and reading web app, with an Android WebView wrapper. The main journey is browsing or searching the catalogue, opening a novel, loading its chapters, and reading chapter content; local shelf and reading-progress features complement that journey. The README documents the Novel API and the principal discovery and reading capabilities. Source excerpts show the browser app’s route handling and chapter retrieval, but do not expose every internal call or the full Android asset-loading flow, so those connections are omitted where unverified.
Main entry points: app.js Web app routes · share-image.js Share image proxy · library.js Local library · share.js Novel share page
Components 17
Discovery and reading
- Web app routes
app.js - Novel discovery
app.js - Novel details
app.js - Chapter loading
app.js - Chapter reader
app.js - Reading PDF
app.js
Personal library
- Local library
library.js - Browser storage
App platform
- Navigation and install UI
ui-fixes.js - Offline cache
sw.js - Android WebView shell
android/app/src/main/java/com/littlefoxy/novelhub/MainActivity.java - API detail recovery
api-recovery.js
Sharing services
- Novel share page
api/share.js - Share image proxy
api/share-image.js
Other components
- Visitor
- Novel API
- Image transform service
Connections 19
- Visitor → Web app routes: uses
README.md - Web app routes → Novel discovery: routes to
app.js - Web app routes → Novel details: routes to
app.js - Web app routes → Chapter reader: routes to
app.js - Novel discovery → Novel API: requests catalogue
README.md - Novel details → Novel API: requests details
README.md - Novel details → Chapter loading: loads chapters
app.js - Chapter loading → Novel API: requests chapters
README.md - Chapter reader → Novel API: loads content
app.js - Chapter reader → Reading PDF: exports book
app.js - Visitor → Local library: manages shelf
README.md - Local library → Browser storage: reads and writes
library.js - Visitor → Navigation and install UI: uses
ui-fixes.js - Visitor → Android WebView shell: uses app
- API detail recovery → Novel API: retries detail
api-recovery.js - Visitor → Novel share page: opens shared novel
- Novel share page → Novel API: fetches novel
api/share.js - Share image proxy → Novel API: fetches cover
api/share-image.js - Share image proxy → Image transform service: transforms image
api/share-image.js