How lordskull/fluent-reader works
Fluent Reader is an Electron desktop RSS reader. Users configure local feeds or a compatible sync service, fetch and organize subscriptions, browse filtered article feeds, and read articles in the built-in view; rules can automate article actions. The graph separates the desktop shell, UI, domain/state models, and persistence/integration layer. README capabilities such as OPML/backup, notifications, and background fetching are retained where the tree supports a subsystem, but unsampled implementation details limit specific call edges.
Main entry points: reducer.ts Redux store · source.ts Subscriptions · item.ts Article actions · app.ts App state
Components 28
Desktop shell
- App bootstrap
src/bootstrap.ts - Electron startup
src/electron.ts - Window manager
src/main/window.ts - Native settings
src/main/settings.ts - Native utilities
src/main/utils.ts
Reader interface
- Renderer entry
src/index.tsx - Reader page
src/components/page.tsx - Article feeds
src/components/feeds/feed.tsx - Article cards
src/components/cards/card.tsx - Article view
src/components/article.tsx - Article search
src/components/utils/article-search.tsx - Settings screens
src/components/settings/service.tsx
Reader domain
- App state
src/scripts/models/app.ts - Redux store
src/scripts/reducer.ts - Page navigation
src/scripts/models/page.ts - Feed model
src/scripts/models/feed.ts - Subscriptions
src/scripts/models/source.ts - Source groups
src/scripts/models/group.ts - Article actions
src/scripts/models/item.ts - Automation rules
src/scripts/models/rule.ts
Sync and storage
- Service sync
src/scripts/models/service.ts - Sync adapters
src/scripts/models/services - RSS parsing
src/scripts/utils.ts - Database access
src/scripts/db.ts - Desktop database
src/main/db.ts - Database schema
src/db/schema.ts - Settings bridge
src/bridges/settings.ts
Other components
- Reader
Connections 46
- Reader → Renderer entry: launches
src/index.tsx - App bootstrap → Electron startup: starts
src/bootstrap.ts - Electron startup → Window manager: creates
src/electron.ts - Window manager → Native settings: registers
src/main/window.ts - Window manager → Native utilities: registers
src/main/window.ts - Renderer entry → Reader page: renders
src/index.tsx - Reader page → Article feeds: renders
src/components/page.tsx - Reader page → Article view: renders
src/components/page.tsx - Reader page → Article search: renders
src/components/page.tsx - Reader page → Page navigation: dispatches
src/components/page.tsx - Article feeds → Article cards: renders
src/components/feeds/feed.tsx - Article feeds → Feed model: reads state
src/components/feeds/feed.tsx - Article search → Page navigation: filters
src/components/utils/article-search.tsx - Settings screens → Service sync: configures
- Renderer entry → Redux store: creates store
src/index.tsx - Redux store → App state: combines
src/scripts/reducer.ts - Redux store → Page navigation: combines
src/scripts/reducer.ts - Redux store → Feed model: combines
src/scripts/reducer.ts - Redux store → Subscriptions: combines
src/scripts/reducer.ts - Redux store → Source groups: combines
src/scripts/reducer.ts - Redux store → Article actions: combines
src/scripts/reducer.ts - Redux store → Automation rules: combines
src/scripts/reducer.ts - Redux store → Service sync: combines
src/scripts/reducer.ts - App state → Subscriptions: initializes
src/scripts/models/app.ts - App state → Article actions: fetches items
src/scripts/models/app.ts - App state → Feed model: initializes
src/scripts/models/app.ts - App state → Page navigation: selects articles
src/scripts/models/app.ts - Page navigation → Feed model: loads feeds
src/scripts/models/page.ts - Page navigation → Article actions: marks read
src/scripts/models/page.ts - Subscriptions → RSS parsing: fetches feeds
src/scripts/models/source.ts - Subscriptions → Database access: reads and writes
src/scripts/models/source.ts - Subscriptions → Article actions: stores items
src/scripts/models/source.ts - Subscriptions → Automation rules: initializes rules
src/scripts/models/source.ts - Feed model → Database access: queries articles
src/scripts/models/feed.ts - Feed model → Article actions: hydrates content
src/scripts/models/feed.ts - Article actions → Database access: stores articles
src/scripts/models/item.ts - Article actions → Service sync: dispatches actions
src/scripts/models/item.ts - Article actions → Automation rules: applies rules
src/scripts/models/item.ts - Source groups → Subscriptions: manages sources
src/scripts/models/group.ts - Source groups → Automation rules: updates rules
src/scripts/models/group.ts - Service sync → Subscriptions: updates subscriptions
src/scripts/models/service.ts - Service sync → App state: saves config
src/scripts/models/service.ts - Service sync → Sync adapters: selects adapter
src/scripts/models/service.ts - Electron startup → Desktop database: initializes
src/electron.ts - Desktop database → Database schema: uses schema
src/main/db.ts - Desktop database → Settings bridge: uses bridge
src/main/db.ts