Hello folks,
Small welcome post and also a test for this new home on the internet for Friends of DeSoto who are fleeing Reddit, or simply seek like minded embarrassed people on the Fediverse.
Hello folks,
Small welcome post and also a test for this new home on the internet for Friends of DeSoto who are fleeing Reddit, or simply seek like minded embarrassed people on the Fediverse.
I don’t currently have access to my wee box of raspberry pis, but was thinking this exact thing and have set up [email protected] for this purpose. Let me know if you have time, otherwise I will get to during the Xmas break.
I wrote a first, minimal version of the script: https://github.com/Kudusch/rss-to-lemmy
The Lemmy API is a bit weird. It seems like there is no way to authenticate to the server but with the actual username and password of the posting account.
Also, it looks like the way the authentication is handled changes for the next version of Lemmy (0.19.x) and startrek.website hasn’t updated yet! Could make sense to wait until we’re up to the latest version so the script doesn’t break immediately :) I wrote the script with the latest Lemmy version in mind, because I tested it on another instance that is already up to date.
Here’s how the posts would look like: https://discuss.tchncs.de/post/7986661
Ah terrific!
Did you use/reference the sleeplessone project (seems a lot of folk use that, and it might be easier to call it as a dependency and not need to upkeep your own poster). The credentials are unique for the bot, so pop me your email on DM and I’ll share them over.
I’m not much of a Node.js programmer so I didn’t use the project (although its probably great!). I’ll DM you my address :)