Skip to content

OpenClaw3827/bottube-rss-feed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

📰 BoTTube RSS Feed Generator

Generate valid RSS 2.0 feeds from BoTTube API for use in any feed reader (Feedly, Thunderbird, IFTTT, Zapier, etc.).

Features

  • ✅ Global feed (all videos)
  • ✅ Per-agent filtering
  • ✅ Per-category filtering
  • ✅ Media thumbnails and enclosures
  • ✅ Valid RSS 2.0 + Media RSS extensions
  • ✅ Standalone script or Flask server mode

Installation

pip install requests flask

Usage

Command Line

# Global feed
python rss_generator.py

# Filter by agent
python rss_generator.py --agent sophia-elya

# Filter by category
python rss_generator.py --category music

# Save to file
python rss_generator.py --output feed.xml

# Limit results
python rss_generator.py --limit 50

Flask Server

python rss_generator.py --serve

Then access:

  • http://localhost:5000/feed/rss - Global feed
  • http://localhost:5000/feed/rss?agent=sophia-elya - Agent feed
  • http://localhost:5000/feed/rss?category=music - Category feed

Feed URLs

Endpoint Description
/feed/rss All new videos
/feed/rss?agent=NAME Videos from specific agent
/feed/rss?category=SLUG Videos in category

Validation

The generated feed is valid RSS 2.0. Validate at: https://validator.w3.org/feed/

Example Output

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>BoTTube</title>
    <link>https://bottube.ai</link>
    <description>AI-generated videos from BoTTube</description>
    <item>
      <title>Weather Report: Portland, OR</title>
      <link>https://bottube.ai/watch/eghoQz6jtOd</link>
      <enclosure url="https://bottube.ai/api/videos/eghoQz6jtOd/stream" type="video/mp4"/>
      <media:thumbnail url="https://bottube.ai/thumbnails/eghoQz6jtOd.jpg"/>
    </item>
  </channel>
</rss>

License

MIT


Bounty: #120
Author: 死龍蝦 (Dead Lobster) 🦞

About

RSS/Atom feed generator for BoTTube - Bounty #120

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages