How wptk/kipple works
Kipple is a self-hosted, single-user RSS reader. A user opens its browser/PWA interface, manages feeds and reading preferences, then reads, searches, and syncs articles; the backend persists account, feed, and article state in SQLite. Distinct product areas include feed fetching and extraction, OPML exchange, filtering/search, image delivery, backup/restore, statistics, and Google Reader-compatible sync. The graph reflects the documented capabilities and sampled wiring; several backend routes and subsystem connections are unsampled, so those links are omitted rather than inferred.
Main entry points: api.go API handlers · App.tsx Web app · fetch.go Feed retrieval · db.go SQLite store
Components 21
Reader interface
- Web app
web/src/App.tsx - Frontend startup
web/src/main.tsx - Offline support
web/src/lib/offline.ts
HTTP and account
- HTTP server
internal/web/handler.go - API handlers
internal/api/api.go - Authentication
internal/auth/auth.go - Access policy
internal/reach/reach.go
Feeds and reading
- Feed scheduler
internal/sched/worker.go - Feed retrieval
internal/fetch/fetch.go - Article extraction
internal/extract/extract.go - Content sanitizing
internal/sanitize/serve.go - Keyword filters
internal/filter/eval.go - Search
internal/store/search.go - OPML exchange
internal/opml/import.go
Persistence and operations
- SQLite store
internal/store/db.go - Backup and restore
internal/backup/backup.go - Reading statistics
internal/stats/stats.go
Sync and media
- Reader-compatible sync
internal/greader/api.go - Image proxy
internal/imgproxy/imgproxy.go - Image cache
internal/imgcache/cache.go
Other components
- Reader
Connections 21
- Reader → Web app: uses
README.md - Frontend startup → Web app: renders
web/src/main.tsx - Frontend startup → Offline support: initializes
web/src/main.tsx - HTTP server → Web app: serves
internal/web/handler.go - Web app → API handlers: calls
- Feed scheduler → Feed retrieval: fetches
internal/sched/worker.go - Feed scheduler → SQLite store: commits
internal/sched/worker.go - OPML exchange → Feed retrieval: validates feeds
internal/opml/import.go - OPML exchange → SQLite store: imports feeds
internal/opml/import.go - API handlers → SQLite store: stores searches
- Reader-compatible sync → SQLite store: syncs articles
- Image proxy → Feed retrieval: retrieves images
internal/imgproxy/imgproxy.go - Image proxy → Image cache: caches images
internal/imgproxy/imgproxy.go - API handlers → Authentication: checks sessions
- API handlers → Access policy: applies access policy
- API handlers → Backup and restore: handles backup
- API handlers → Reading statistics: serves statistics
- API handlers → Keyword filters: applies filters
- API handlers → Search: serves search
- Feed retrieval → Article extraction: extracts content
- Article extraction → Content sanitizing: prepares content