schedule.lemmings.world

library_napper, to foss in Lemmy Schedule - a tool for scheduling posts for Lemmy
@library_napper@monyet.cc avatar

Yay bots!

aurele, to opensource in Lemmy Schedule - a tool for scheduling posts for Lemmy

Why do you ask for the user password rather than using oauth to access the user account? This looks highly suspicious, websites should never do that.

rikudou, (edited )
@rikudou@lemmings.world avatar

Because Lemmy doesn’t support OAuth and this is actually the only way to do it. Hopefully only temporarily. Edit: The thing’s open source, you can check that I don’t do anything with the password, I only use it once to login to the api and get the token, pretty much the same as I would do with OAuth.

Shadow,
@Shadow@lemmy.ca avatar

deleted_by_author

  • Loading...
  • rikudou,
    @rikudou@lemmings.world avatar

    They didn’t. They sent you a code and if the code matched, they assumed it’s you. I need the user’s JWT token to post as them. And that’s currently impossible without password.

    Shadow,
    @Shadow@lemmy.ca avatar

    Ahh good point, forgot you would need their token. Yeah there’s no way to do this securely then :(

    aurele,

    My bad indeed, I thought Lemmy supported OAuth but I was confused with Mastodon. Hopefully someone contributes a OAuth/OIDC solution soon.

    Blaze,
    @Blaze@discuss.tchncs.de avatar

    Alternative Lemmy frontends do that, if your server hosts this tool, isn’t it similar?

    aurele,

    Of course. I was referring to the non-self-hosted solution.

    AnonymousLlama, to opensource in Lemmy Schedule - a tool for scheduling posts for Lemmy
    @AnonymousLlama@kbin.social avatar

    Cheers for the tool mate

    density, to fediverse in App to schedule posts on Lemmy
    @density@kbin.social avatar

    kind of a pet peeve of mine: you should make the <title> of the page something that can be found in bookmarks and history. Right now it is "Log in".

    It's minor but in 3 months when I vaguely recall having seen this somewhere and want to use it, I will never find it.

    rikudou,
    @rikudou@lemmings.world avatar

    Good idea, done!

    DmMacniel, to foss in Lemmy Schedule - a tool for scheduling posts for Lemmy
    @DmMacniel@feddit.de avatar

    This pinning and unpinning could proof this tool to make it incredible useful for our moderators.

    rikudou,
    @rikudou@lemmings.world avatar

    Yep, that’s exactly the target audience for this. I’m doing the first live test of this on !wwdits - in about 4 hours and 15 minutes a new pinned post should appear and the old pinned post should be unpinned. Hopefully it works because I’ll be sleeping at that time.

    Blaze, to fediverse in App to schedule posts on Lemmy
    @Blaze@discuss.tchncs.de avatar

    As a side comment, I see that the very aggressive comments from earlier have been removed, thank you mods for your work!

    Sal, to fediverse in App to schedule posts on Lemmy
    @Sal@mander.xyz avatar

    Thank you for making this open source!

    rikudou,
    @rikudou@lemmings.world avatar

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

    Sal,
    @Sal@mander.xyz avatar

    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,
    @rikudou@lemmings.world avatar

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

    an0nym0us, (edited ) to fediverse in App to schedule posts on Lemmy
    @an0nym0us@lemmy.world avatar

    deleted_by_author

  • Loading...
  • theolodger,

    It appears to be open source, see the other comment from OP

    an0nym0us,
    @an0nym0us@lemmy.world avatar

    deleted_by_author

  • Loading...
  • rikudou,
    @rikudou@lemmings.world avatar

    In the post. Learn to read, please.

    an0nym0us,
    @an0nym0us@lemmy.world avatar

    deleted_by_author

  • Loading...
  • Blaze,
    @Blaze@discuss.tchncs.de avatar

    I just don’t understand your train of thought. You are so negative towards a person that is helping this community.

    DmMacniel,
    @DmMacniel@feddit.de avatar

    And you could learn to not edit the original comments and or leave the original comments, strikethrough them and add your corrections underneath it.

    A10, (edited ) to fediverse in App to schedule posts on Lemmy
    @A10@kerala.party avatar

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

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

    rikudou,
    @rikudou@lemmings.world avatar

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

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

    Blaze,
    @Blaze@discuss.tchncs.de avatar

    Thank you again, probably going to use it soon

    rikudou,
    @rikudou@lemmings.world avatar

    Let me know if there are any problems!

    Blaze,
    @Blaze@discuss.tchncs.de avatar

    I will!

    max,

    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.

    DmMacniel, to fediverse in App to schedule posts on Lemmy
    @DmMacniel@feddit.de avatar

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

    rikudou, (edited )
    @rikudou@lemmings.world avatar

    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: github.com/RikudouSage/LemmySchedule

    DmMacniel,
    @DmMacniel@feddit.de avatar

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

    an0nym0us, (edited ) to fediverse in App to schedule posts on Lemmy
    @an0nym0us@lemmy.world avatar

    deleted_by_author

  • Loading...
  • pineapplelover,

    Fediverse has made me click on so many weird links that could possibly be phishing links. I give Lemmy instance links to other people and they say it might be a scam phishing link as well and I kind of get their point.

    rikudou,
    @rikudou@lemmings.world avatar

    Don’t worry about them, it’s open source: github.com/RikudouSage/LemmySchedule

    Blizzard, to fediverse in App to schedule posts on Lemmy

    What’s the usecase?

    rikudou,
    @rikudou@lemmings.world avatar

    I used it for example to post this very post at a time when people from US are most likely to engage (though I’m not sure if the Lemmy demographics is predominantly US, but my gut feeling is it is).

    freamon,

    I think it would be useful to automate the posts for discussions following from the broadcast of a TV show, or a sports game.

    an0nym0us, (edited ) to fediverse in App to schedule posts on Lemmy
    @an0nym0us@lemmy.world avatar

    deleted_by_author

  • Loading...
  • rikudou,
    @rikudou@lemmings.world avatar

    What’s a “local version of this”?

    As a side note, have you considered actually being nice to people?

    an0nym0us, (edited )
    @an0nym0us@lemmy.world avatar

    deleted_by_author

  • Loading...
  • rikudou,
    @rikudou@lemmings.world avatar

    I totally get your demands and they’re fine with me! What I don’t particularly enjoy is being told to “GTFO”.

    an0nym0us, (edited )
    @an0nym0us@lemmy.world avatar

    deleted_by_author

  • Loading...
  • rikudou,
    @rikudou@lemmings.world avatar

    Just stop, please. You told me to GTFO and I don’t like it. Learn to communicate, please. Yes, I’m super, super defensive when someone tells me to fuck off.

    Blaze,
    @Blaze@discuss.tchncs.de avatar

    This level of negativity is insane. Sorry you have to go through that.

    rikudou,
    @rikudou@lemmings.world avatar

    Not my first rodeo with releasing software, there are always people like that.

    freamon, to fediverse in App to schedule posts on Lemmy

    Interesting.

    I suppose the only thing is that you wouldn’t be able to upload an image to the instance as part of a post - you’d have to upload it somewhere else first, to then be able to refer to it.


    For the detractors, register a throwaway account at some random instance, and use that if you want to test it out.
    If you’re able to properly pore through the source to check it’s not stealing anything, then you’re capable of scheduling your own posts. The Lemmy API is very simple, it’s not rocket science.

    rikudou,
    @rikudou@lemmings.world avatar

    I suppose the only thing is that you wouldn’t be able to upload an image to the instance as part of a post

    It would be possible but it would add more complexity, more costs etc. I’ll probably tackle the problem when I have time, but now I’m glad that I have a version that I can use working.

    If you’re able to properly pore through the source to check

    I even pointed out some interesting parts regarding this in the README.

    Blaze, to fediverse in App to schedule posts on Lemmy
    @Blaze@discuss.tchncs.de avatar

    That’s great, thank you for this!

    rikudou,
    @rikudou@lemmings.world avatar

    No problem, glad I could be of service!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • Ask_kbincafe
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines