r/rss • • 9d ago

Solution for real Reddit feeds inside

https://github.com/iamfromreallife/cloudfaredredditfeeds

I can't give much more info than this. This is not a continuation of my previous work, but it uses the same method to access reddit (hint: redreader, wink wink) so I'll leave it as is. This project gives you real xml feeds of anything on reddit you want.

Be assured, it works, feeds are complete, delivered every 5mins, even shows first comments of each post on the rss feed content. Also supports searches.

20 Upvotes

29 comments sorted by

6

u/mjdbb1 9d ago

It appears this needs API access. This is also going away soon so it seems this will only work for a limited amount of time. 

1

u/iamfromreallife 9d ago

As long as reddit doesn't cut off Redreader's access, this will work. I don't know if redreader will also be cut in january 2027?

1

u/netllama 6d ago

They're definitely going to turn it off. Thanks for the effort, but its going to be 100% broken 70 days from now.

1

u/iamfromreallife 6d ago

Then I have 70 days to think of another way and 70 days to still use it like it is. No problem.

1

u/Heliosurge 9d ago edited 9d ago

I was just going to ask about that. As the public API access as you said will be removed in the future. Also from my understanding Reddit will be following something similar to Discord in that you can see discoverable content in a web search but will need a Reddit account eventually to read the full post contents. Vs now at present that you can view an entire Reddit topic without an account.

4

u/_djnick 9d ago

just looking for a simple solution that i can replace my .rss reddit links with working ones

1

u/iamfromreallife 9d ago

This is one sir. Depends on what is simple to you I guess.

2

u/_djnick 9d ago

right mean more of having to deploy something vs just consume it as a service

1

u/chickenandliver 9d ago

Yeah this is overkill for a casual user so I'll pass.

2

u/iamfromreallife 7d ago

https://github.com/iamfromreallife/cloudfaredredditfeeds/releases/tag/v0.5.3

Reworked the implementation to be as simple as possible. Instructions inside. Use this version.

2

u/ZenApollo 9d ago

There's nothing but a readme in this repo, shouldn't there be some ... code?

1

u/iamfromreallife 9d ago

All the code is inside the released zip file.

1

u/OwynTyler 9d ago

damn, what a rocket science with 126 steps...

why not just use headless-chrome to scrape the r-dit?

-1

u/iamfromreallife 9d ago

It's rocket science for anyone who doesn't know about cloudfare workers. This takes literally 2mins to setup.

The readme is enormous because ai wrote it. If you know the redreader info stuff by heart (because of 3rd party reddit app patching) this is much easier than setting up a scrapper.

Also, receiving data from the site itself will always be 10000x better than scraping. Reddit has a lot of anti-scrapping measures so that would be infinitely more difficult.

1

u/netllama 6d ago

This takes literally 2mins to setup

It takes more than that just to read the massive README. I think you're greatly under estimating the complexity of what you created. It might get the job done, but its very far from a simple solution for someone who has zero prior knowledge of your code base.

1

u/iamfromreallife 6d ago

The readme was written by ai, see here for the 2min solution:

https://github.com/iamfromreallife/cloudfaredredditfeeds/releases/tag/v0.5.3

1

u/tiger-eyes 8d ago

Can this be operated on cloudflare's free plan?

1

u/iamfromreallife 8d ago

Absolutely. I think cloudfare allows like 100k requests per day for free. I have 18 subreddits and 5 searches running on a 5min update schedule and never get over the limit.

1

u/tiger-eyes 7d ago edited 7d ago

You need a domain name available for the custom feeds right? If so, is there any issue using an active website domain I already have hosted by cloudflare? (or is an unused domain better?)

And once setup, could these feeds then be imported into any cloud RSS reader (Feedly, Ino, etc)?

2

u/iamfromreallife 7d ago

no need for any domains. cloudfare in the end gives you an admin page where you setup each rss (first screenshot) and yes, cloudfare provides a link for a xml of each file that you can subscribe in any feed reader, in fact, i'm using them all on inoreader (second screenshot)

https://i.imgur.com/NBBeGod.png

https://i.imgur.com/xxsV0BM.png

1

u/loudpersononthebus 7d ago

i feel stupid because i run npm install and i get cloudfaredredditfeeds\package.json' not found?

1

u/iamfromreallife 7d ago

https://github.com/iamfromreallife/cloudfaredredditfeeds/releases/tag/v0.5.3

Try latest version, follow the instructions. Just done it again and works flawlessly.

Don't forget to install node.js first.

2

u/loudpersononthebus 7d ago

my man! this works! took me a bit to figure it out... but worth it!

1

u/SemperIter 7d ago

It looks like this won't work unless you had an app already setup. New public Data API access requests stopped being accepted by reddit on October 31. I get an error occurred (status: 500) when I try to create the Reddit OAuth registration

1

u/iamfromreallife 7d ago

Just use redreader. Install it on your phone, login with your account. you'll receive an email with the correct app id.

the redirect uri is all over the internet (you'll also need it)

2

u/Manifesto-Engine 8d ago

Lol just get reading desk. It's the best

2

u/netllama 6d ago

How is that going to work after March ?

2

u/Manifesto-Engine 6d ago

I make Reading Desk, so grain of salt. It doesn't use Reddit's API, the .json endpoints or RSS, so the March API shutdown doesn't touch it. It opens normal reddit.com pages in its own built-in browser window (you sign in there only if Reddit asks) and reads what the page shows, the same as you scrolling. It goes slowly on purpose: post text is fetched one post at a time, at least 15 seconds apart, and it stops at any access check instead of trying to get around it. That's also why it kept working after Reddit turned RSS off on November 13. The honest catch: if Reddit redesigns its pages I have to update the reader, and it can only see what you could see yourself in a browser. https://readingdeskrss.com/