this post was submitted on 21 Jun 2023
111 points (100.0% liked)

Reddit Migration

458 readers
1 users here now

### About Community Tracking and helping #redditmigration to Kbin and the Fediverse. Say hello to the decentralized and open future. To see latest reeddit blackout info, see here: https://reddark.untone.uk/

founded 1 year ago
 

I've been working on a bot to automate crossposting from a given subreddit to a given Lemmy community. It's pretty basic and not very well tested but it's working if anyone wants to try it out.

For now it relies on the Reddit API because it has a handy streaming object and I didn't know you could just go to a subs homepage and append ".json" to the URL

Features right now:

  • Watches a sub and posts to Lemmy as new posts come in
  • Pulls images and videos from third party hosts and includes them in posts
  • Copies titles and selftexts

With this we can close the "content gap" between Reddit and Lemmy, similar to everyone posting Digg content to Reddit as Digg died due to checks notes corporate mismanagement at efforts to monetize. Huh.

Comment, fork, star, open issues and enjoy.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] tikitaki@kbin.social 3 points 1 year ago (1 children)

since reddit API is gonna die in 9 days, are there any plans to do anything else?

API is changing in a few days, not being dropped. I haven't dug into it but I'm not too worried that usage will go above free tier. If that dies there's the .json versions of the site you can view by adding .json to most reddit URLs, and even if they kill that there will always be scraping.