Skip to content

Instantly generate RSS feeds from any website using CSS selectors. Built with Cloudflare Workers. Just pass a URL and CSS selectors to get a fully-formed RSS 2.0 feed — no backend required.

Notifications You must be signed in to change notification settings

ProfessorManhattan/rss-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

📰 CSS to RSS Feed CloudFlare Worker

Maintained by Megabyte Labs


Turn any website into an RSS feed using CSS selectors — powered by Cloudflare Workers.


This project lets you convert any blog or article listing page into a valid RSS 2.0 feed using only URL parameters and CSS selectors. Whether the site doesn’t support RSS or you just want richer metadata, this tool gives you complete control over your feed.

🌐 Live demo: rss.manhattan.workers.dev
📖 Blog article: megabyte.space/generate-rss-feeds-from-any-website-with-cloudflare-workers-no-backend-needed
🎥 Video walkthrough: YouTube

📚 Table of Contents

✨ Features

  • ⚡️ No backend required — runs entirely on Cloudflare Workers
  • 🧠 Customizable with CSS selectors via URL query params
  • 🖼 Full RSS 2.0 output with images, authors, categories, and more
  • 🔄 Supports fetching full article content from post links
  • 🧩 Easily rebrand and self-host under your own domain

🚀 Quick Start

🟦 One-Click Deploy

Deploy to Cloudflare

✏️ Make sure to fork this repo first, then update the button URL with your GitHub username.

🧪 Example Usage

https://your-worker.workers.dev/?url=https://install.doctor/blog&item=.post&title=.post-title&description=.paragraph-intro&link=.post-link

Customize the query string to match your blog’s structure. All parameters accept valid CSS selectors.

Required Parameters:

Parameter Description
url The URL of the blog or listing page
item The selector for each blog post
title The selector for the post title
description The selector for the post summary
link The selector for the post link

Optional Parameters:

Parameter Description
pubDate Selector for publish date
creator Selector for author
image Selector for featured image
content Selector for full article HTML
channelTitle Custom RSS channel title
channelDescription Custom feed description
managingEditor Email contact for RSS feed
applicationName Name of the app/feed
twitterUser Used in social share buttons

🌐 Hosting on Your Own Domain

You can proxy this Worker through your custom domain using:

  • 🌀 Cloudflare DNS + Route config
  • 🔁 Firebase Hosting rewrites

Example: serve your RSS feed at rss.yoursite.com.

📄 Learn More

🤝 Contributing

Pull requests are welcome! If you have ideas for improving selector flexibility, feed formatting, or scraping edge cases — we’d love your input.

📬 Contact: hey@megabyte.space
💻 Built with 💙 by Megabyte Labs

🧰 License

MIT License © Megabyte Labs Open-Source

About

Instantly generate RSS feeds from any website using CSS selectors. Built with Cloudflare Workers. Just pass a URL and CSS selectors to get a fully-formed RSS 2.0 feed — no backend required.

Topics

Resources

Stars

Watchers

Forks