this post was submitted on 15 Dec 2023
3 points (100.0% liked)
Greatest Generation
119 readers
1 users here now
The Lemmy community for listeners to the Greatest Generation and Greatest Trek podcasts. Friends of DeSoto everywhere are welcome.
founded 11 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Wonderful idea! Should we do posts for new of episodes? I could probably automate that from the pods rss feed, if we‘d want something like that :)
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 :)