How chandru89new/rdigest works
Core Application Components
• Command Line Interface (CLI)
• Feed Manager
• Database Handler
• HTML Generator
• Content Fetcher
External Dependencies
• SQLite Database
• RSS Feeds (External)
• File System (for digest storage)
Component Relationships
• [CLI Commands] → [Command Handler]
• ↓
• [Feed Manager] ←→ [Content Fetcher]
• ↓
• [Database Handler] → [HTML Generator]
• ↓
• [Storage Systems]
Specific Elements
a. Command Flow:
• How each CLI command (add, remove, refresh, digest, etc.) flows through the system
• Command validation and routing
b. Data Flow:
• RSS Feed fetching process
• Content storage in SQLite
• Digest generation and storage as HTML
c. Storage Interactions:
• SQLite database operations
• HTML digest file creation
• Environment variable configuration
Important Notes
• RDIGEST_FOLDER environment variable configuration
• Template system (index-template.html)
• Migration system (migrations/1.sql)
• Web Server Interface
• UI Components
• API Layer
Version/date information
Key Interactions to Highlight:
Feed Management
• [CLI] → [Feed Manager] → [Database]
Content Refresh
• [Feed Manager] → [Content Fetcher] → [RSS Feeds]
• → [Database]
Digest Generation
• [CLI] → [Database Handler] → [HTML Generator]
• → [File System]
Level of Detail:
• Keep main components visible at a glance
• Database schema in a separate view
• File system structure in a separate view
Remember to:
• Clear labels for all components
• Error handling flows
• Data transformation points
• Asynchronous operations
• Security boundaries
• Configuration points