App to schedule posts on Lemmy

Rikudou_Sage@lemmings.world to Fediverse@lemmy.ml – 46 points –
schedule.lemmings.world

I've made an app that makes it possible to schedule a post in Lemmy at an arbitrary time. It's available at https://schedule.lemmings.world and can be used by people from any instance.

Let me know what you think!

P.S. This post is made using the app!

Edit: And it's open source!

18

I am not feeling comfortable entering my login credentials to this website.

Edit: I made this comment before OP shared the source code.

The creator of the tool is the admin of lemmings.world, and the tool is hosted at schedule.lemmings.world. So, if you have a user at lemmings.world, you can use this tool without having to trust a third-party.

If you don't have a user there, you can create a user in that instance for the purpose of creating scheduled posts. Removing the need to trust two parties rather than one.

And, of course, since the source code is open anyone else can attach this to their own instance! Pretty cool.

Thank you for making this open source!

No problem, it was planned right from the beginning to be open source, I just wanted to share it as soon as possible!

I would like to make a list at some point with several community integrations and ask my instance's users whether they would like some of them installed into the instance. This application will definitely go on that list! I do need to take into consideration how many resources each of the apps consume, to make sure I don't bloat my server. But this one seems quite light. Is it?

The way I run it it's entirely serverless and costs you close to nothing.

  • the application code runs on AWS Lambda (400,000 seconds per month free, time's only counted when someone is actually making requests)
  • the static assets (CSS, JS etc.) are on S3/CloudFront (very small size, so less than $0.10)
  • event bridge scheduler is used for the scheduling (first 14,000,000 schedules per month are free)
  • sessions and "database" is in DynamoDB (you only pay for real requests, probably less than $0.10)

All in all the app can be hosted for much less than $1/month like that. If you host it in a standard docker container or something, it probably won't take much resources either, my guess would be less than 256 MB RAM (probably less than 100 MB) is needed and whatever your backend for scheduling takes (Redis would probably be the most straightforward choice).

Is the source open? How would we be able to trust you with our credentials?

It will be before the end of today (CEST), currently I'm checking whether I accidentally didn't commit any production secrets.

Edit: Done, source code is here: https://github.com/RikudouSage/LemmySchedule

Very much appreciated!

Am I the only one who thinks it's funny how the name "Lemmy Schedule" sounds like "let me schedule"?

No, you are not :)