How angelosha/uchiyomi works
Uchiyomi is a self-hosted manga library, reader, and chapter-downloading server, with a web client and optional desktop shell. The main journey is browsing or following a series, discovering available chapters through configured sources, downloading them into the library, and reading while progress is maintained. Health and repair, release scheduling, household accounts, and tracker integrations are additional product capabilities. The tree and excerpts establish the main modules; the supplied README excerpt is truncated, so some feature relationships are documented rather than verified in implementation.
Main entry points: server.ts HTTP server · index.ts Source adapters · page.tsx Web app · library.ts Library
Components 18
Reader clients
- Web reader
web/app/reader/page.tsx - Web app
web/app/page.tsx - Desktop shell
desktop/src/main.js
Server and library
- HTTP server
bff/src/server.ts - Library
bff/src/lib/library.ts - Visibility rules
bff/src/lib/visibility.ts - PostgreSQL
bff/src/lib/db.ts
Sources and downloads
- Source adapters
bff/src/lib/sources/index.ts - Extension engine
bff/src/lib/sources/suwayomi/client.ts - Source registration
bff/src/lib/sources/suwayomi/register.ts - Chapter downloads
bff/src/lib/archive.ts
Health and scheduling
- Health checks
bff/src/lib/health.ts - Repair actions
bff/src/lib/repair.ts - Update scheduler
bff/src/lib/updater.ts - Release radar
bff/src/lib/releaseRadar.ts
Household and integrations
- Accounts and sign-in
bff/src/routes/auth.ts - Reading trackers
bff/src/lib/trackers.ts
Other components
- Reader
Connections 17
- Reader → Web app: browses and reads
README.md - Web app → HTTP server: uses server
README.md - Desktop shell → HTTP server: runs server
README.md - HTTP server → Library: serves library
bff/src/server.ts - HTTP server → Chapter downloads: offers downloads
bff/src/server.ts - Chapter downloads → Source adapters: fetches chapters
bff/src/lib/archive.ts - Source adapters → Extension engine: uses engine
- Source registration → PostgreSQL: records sources
bff/src/lib/sources/suwayomi/register.ts - HTTP server → Health checks: offers health
bff/src/server.ts - Health checks → Repair actions: supports repair
- Update scheduler → Source adapters: checks sources
- Release radar → Reader: shows estimates
- HTTP server → Accounts and sign-in: supports accounts
- Web reader → HTTP server: loads chapters
- HTTP server → Visibility rules: enforces access
bff/src/lib/visibility.ts - Library → PostgreSQL: stores library data
- HTTP server → Reading trackers: supports tracker sync