How icydevx/ai-content-relayer works
This is an RSS and Telegram channel relayer, with optional Gemini rewriting—not yet the AI-first product described as a future upgrade. The principal workflow configures sources and a destination, then runs two distinct trackers: RSS polling with duplicate detection and Telegram channel-message handling. Each can optionally send content to Gemini before forwarding it to a Telegram destination. The RSS tracker persists the latest link per feed. Relationships below follow the excerpts and README; no other source files were inspected.
Main entry points: sitetracking.py RSS polling · channeltracking.py Channel listener · Main-v2.py Tracker launcher · prompt.txt AI prompt
Components 13
Configuration
- Setup prompts
Main-v2.py - Tracker launcher
Main-v2.py
RSS tracking
- RSS polling
site_tracking/sitetracking.py - RSS feeds
- New-post detection
site_tracking/sitetracking.py - Latest-link state
site_tracking/sitetracking.py
Channel tracking
- Channel listener
channel_tracking/channeltracking.py - Source channels
AI processing
- Gemini generation
- AI prompt
prompt.txt
Telegram delivery
- Telegram API
- Target channel
Other components
- Operator
Connections 14
- Operator → Setup prompts: enters settings
Main-v2.py - Setup prompts → Tracker launcher: writes config
Main-v2.py - Tracker launcher → Channel listener: starts listener
Main-v2.py - Tracker launcher → RSS polling: starts polling
Main-v2.py - RSS polling → RSS feeds: polls feeds
site_tracking/sitetracking.py - RSS polling → New-post detection: checks entries
site_tracking/sitetracking.py - New-post detection → Latest-link state: reads and writes
site_tracking/sitetracking.py - Source channels → Channel listener: filters messages
channel_tracking/channeltracking.py - Channel listener → Gemini generation: generates text
channel_tracking/channeltracking.py - RSS polling → Gemini generation: generates text
site_tracking/sitetracking.py - AI prompt → Gemini generation: guides generation
- Channel listener → Telegram API: sends messages
channel_tracking/channeltracking.py - RSS polling → Telegram API: sends messages
site_tracking/sitetracking.py - Telegram API → Target channel: delivers posts
README.md