How prometheus-ll/ai-news-render works
ai-news-render creates short-form AI news videos, then queues and publishes them. The primary workflow runs from RSS story selection and research through Gemini scripting and narration, scene rendering, video storage, and scheduled social posting. Rendering includes a timeline-driven HTML motion engine, optional HyperFrames scenes, generated soundtrack, and custom motion scenes. The README documents several integrations and capabilities beyond the sampled excerpts; links for those are cited to the README. The separate Remotion lab is represented, but its relationship to the daily pipeline is not established.
Main entry points: run_pipeline.py Daily orchestrator · post_queue.py Post queue · html_render.py HTML renderer · research.py Story research
Components 27
Story pipeline
- Daily orchestrator
pipeline/run_pipeline.py - Story research
pipeline/research.py - Explainer scripts
pipeline/explainer.py - Custom motion scenes
pipeline/custom_motion.py - Web imagery
pipeline/webimages.py - Recent videos
state/recent.json - Scene library
state/scene_library
Video rendering
- HTML renderer
render/html_render.py - Motion engine
render/html/engine.html - HyperFrames scenes
render/hf_scenes.py - Soundtrack mixer
render/soundtrack.py - Rendered video
renders/output
Publishing
- Post queue
pipeline/post_queue.py - Video asset store
pipeline/store.py - Facebook publisher
pipeline/facebook.py - Instagram publisher
pipeline/instagram.py - YouTube publisher
pipeline/youtube.py - Queue state
state/post_queue.json - Content log
state/content_log.json
Motion lab
- Remotion composition
lab/remotion/src/Root.tsx - Remotion scenes
lab/remotion/src/Main.tsx
Other components
- Scheduled workflow
- RSS feed
- Gemini services
- News sources
- Social platforms
- Google Sheets
Connections 28
- Scheduled workflow → Daily orchestrator: starts
README.md - Daily orchestrator → RSS feed: reads stories
README.md - Daily orchestrator → Story research: enriches stories
pipeline/run_pipeline.py - Story research → News sources: fetches article
pipeline/research.py - Story research → Gemini services: grounds facts
pipeline/research.py - Daily orchestrator → Gemini services: selects and scripts
README.md - Daily orchestrator → Explainer scripts: builds explainer
pipeline/run_pipeline.py - Daily orchestrator → Custom motion scenes: creates scenes
pipeline/run_pipeline.py - Custom motion scenes → Scene library: saves examples
pipeline/custom_motion.py - Daily orchestrator → Web imagery: uses imagery
pipeline/run_pipeline.py - Daily orchestrator → HTML renderer: renders video
pipeline/run_pipeline.py - HTML renderer → Motion engine: drives frames
README.md - HTML renderer → HyperFrames scenes: renders scenes
render/html_render.py - HTML renderer → Soundtrack mixer: mixes audio
render/html_render.py - HTML renderer → Rendered video: writes video
README.md - Daily orchestrator → Recent videos: checks variety
README.md - Daily orchestrator → Post queue: enqueues video
pipeline/run_pipeline.py - Daily orchestrator → Video asset store: stores asset
pipeline/run_pipeline.py - Post queue → Queue state: reads and writes
- Post queue → Content log: updates log
- Post queue → Facebook publisher: dispatches post
pipeline/post_queue.py - Post queue → Instagram publisher: dispatches post
pipeline/post_queue.py - Post queue → YouTube publisher: dispatches upload
pipeline/post_queue.py - Facebook publisher → Social platforms: publishes reel
- Instagram publisher → Social platforms: publishes reel
- YouTube publisher → Social platforms: uploads Short
pipeline/youtube.py - Daily orchestrator → Google Sheets: logs results
README.md - Remotion composition → Remotion scenes: registers composition
lab/remotion/src/Root.tsx