Create your own RSS (Atom) feeds from emails, processed and hosted by Cloudflare (free plan).
- Emails get sent to your configured address on Cloudflare, e.g.
rss@domain.com - The email gets processed by a Cloudflare worker, each sender address gets it's own feed XML file generated, e.g.
sender@domain.com->sender-domain-com.xml - The feed is stored on Cloudflare R2 and is made accessible, e.g.
https://domain.com/sender-domain-com.xml - Your RSS Reader is configured to fetch this feed file from Cloudflare R2
- A Cloudflare Account and Domain (needed for email routing)
- Create Security Rules to control access to your bucket (e.g. limited to your IP)
- Create a R2 Bucket with Public Access
- Create a Worker, you can link it to your fork of this repo or clone this repo and deploy it manually
- Set values for the required Secrets, see .env.example
- Enable Email Routing, and create a new routing address and rule, and link it to the previously created Worker
- Use the email address you configured in the Email Routing rule to sign up for newsletters, or forward from your usual email address
- Configure Billing Notifications for when you are hitting the limits of the free plan, for R2 and Workers
- The project uses Cloudflare Wrangler on the CLI
- Run:
npx wrangler dev - Test:
npx vitest - Deploy:
npx wrangler deploy - Manage Secrets:
npx wrangler secret - Generate Types:
npx wrangler types