this post was submitted on 10 Aug 2023
46 points (97.9% liked)

Fediverse

17698 readers
3 users here now

A community dedicated to fediverse news and discussion.

Fediverse is a portmanteau of "federation" and "universe".

Getting started on Fediverse;

founded 5 years ago
MODERATORS
46
App to schedule posts on Lemmy (schedule.lemmings.world)
submitted 1 year ago* (last edited 1 year ago) by rikudou@lemmings.world to c/fediverse@lemmy.ml
 

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!

all 21 comments
sorted by: hot top controversial new old
[–] A10@kerala.party 7 points 1 year ago* (last edited 1 year ago) (2 children)

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

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

[–] max@nano.garden 5 points 1 year ago

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.

[–] rikudou@lemmings.world 4 points 1 year ago (1 children)

Fine with me, I'm not forcing anyone to use it.

Here's how it works if you're interested: https://a.lemmings.world/lemmings.world/comment/1083665

[–] Blaze@discuss.tchncs.de 2 points 1 year ago (1 children)

Thank you again, probably going to use it soon

[–] rikudou@lemmings.world 2 points 1 year ago (1 children)

Let me know if there are any problems!

[–] Blaze@discuss.tchncs.de 2 points 1 year ago
[–] Sal@mander.xyz 6 points 1 year ago (1 children)

Thank you for making this open source!

[–] rikudou@lemmings.world 5 points 1 year ago (1 children)

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

[–] Sal@mander.xyz 1 points 1 year ago (1 children)

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?

[–] rikudou@lemmings.world 4 points 1 year ago

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).

[–] DmMacniel@feddit.de 5 points 1 year ago (1 children)

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

[–] rikudou@lemmings.world 11 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] DmMacniel@feddit.de 8 points 1 year ago* (last edited 1 year ago)

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 :)

[–] willya@lemmyf.uk 3 points 1 year ago

Nice, saving for later.