How qqaazz2/dreader works
DReader is a cross-platform EPUB reader backed by a self-hosted cloud library. Its principal workflow is reading locally parsed EPUB content while synchronizing reading progress across devices. The README also documents server-side folder scanning, book/series organization, reading-status indicators, statistics, settings, and tag management. Dart implementation excerpts were not provided, so these connections reflect documented capabilities rather than inspected call sites; the sampled code covers only the Windows Flutter host.
Main entry points: ReaderView.dart Reader View · main.dart Flutter App · HomePage.dart Home Library · book Book Pages
Components 18
Reader Client
- Flutter App
lib/main.dart - Sign In
lib/routes/LoginPage.dart - Home Library
lib/routes/HomePage.dart
Library Management
- Book Pages
lib/routes/book - Author Pages
lib/routes/author - Library State
lib/state/book/FilesListState.dart - Library Data
lib/entity/book/FilesList.dart - Scan Control
lib/common/ScanningPop.dart - Reading Status
lib/status/BookStatus.dart
Reading Experience
- Reader View
lib/routes/book/widgets/ReaderView.dart - EPUB Parser
lib/common/EpubParsing.dart - EPUB Rendering
lib/epub/DomRendering.dart - Progress State
lib/state/book/BookProgressState.dart
Shared Client Services
- Settings
lib/routes/setting - Reading Statistics
lib/routes/LogPage.dart - HTTP API
lib/common/HttpApi.dart
Other components
- Reader
- DReader Server
Connections 20
- Reader → Flutter App: uses
README.md - Flutter App → Sign In: offers sign-in
- Flutter App → Home Library: opens library
- Reader → Reader View: reads books
README.md - Reader View → EPUB Parser: parses locally
README.md - Reader View → EPUB Rendering: renders content
- Reader View → Progress State: tracks progress
README.md - Progress State → HTTP API: syncs progress
README.md - HTTP API → DReader Server: exchanges data
README.md - DReader Server → Progress State: syncs across devices
README.md - Reader → Scan Control: starts scan
README.md - Scan Control → HTTP API: requests scan
- DReader Server → Library Data: organizes books
README.md - Home Library → Book Pages: manages library
- Home Library → Author Pages: browses authors
- Book Pages → Library State: manages listings
- Library State → Library Data: uses book data
- Book Pages → Reading Status: shows reading status
README.md - Reader → Settings: configures reader
- Settings → Reading Statistics: views statistics