Today’s weather forecast (Melbourne CBD, 3000): min - 17°C, max - 29°C. 95% chance of no rain

  • StudSpud The Starchy@aussie.zone
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    27 days ago

    So I have an old PC, and I’m thinking of learning how to make a DT bot and using that PC to be it’s 24/7 server, that way no one here has to give up their sleep or risk a double-post anymore :) it’s about time we get another botbot.

    I’m going to start looking into it tomorrow, regarding making one, and thinking of contacting the other City instances to see how they made theirs. I need to fix up my partner’s PC anyway, so I’ll be in the spare room regardless lol!

    If anyone has any tips or anything I should know, please message me :) happy to collaborate as I’ve never coded anything let alone a script. But I’m willing to learn!

    • indisin@aussie.zone
      link
      fedilink
      arrow-up
      5
      ·
      27 days ago

      I’ve offered to do this multiple times and no-one seemed keen. I think it’s because people like the human nature of of the post being made by someone real? I dunno. Weird.

      Please do not run it on a local PC though as you’ll chew through expensive power for an operation that takes milliseconds.

      If you want to run it local you could get it running on an rpi or even your mobile.

      But don’t do that, even the free tiers of all the cloud providers are overkill for the bot requirements. A cron lambda solves this, same on Azure as a Function and will all be free and not reliant of the power to your house.

      The emojis you can do to via a List of special days, and then combine them with an AI to get the sentiment of the previous day and theme for the current day.

      Please add a CI/CD pipeline that’s included in code and open source it so someone else can pick it up when you drop off. Pretty please add many tests.

      This isn’t something I want to pair on as it’s a great first project and something that if I was going to do myself I’d rather just smash out and have fun doing whilst listening to music, not chatting.

      If you get stuck though lemme know and I might help.

    • tombruzzo@aussie.zone
      link
      fedilink
      arrow-up
      5
      ·
      27 days ago

      I was starting to do this but have run into walls trying to get Docker to work and editing the files to configure it.

      You can find existing bots on github that just need a text file changed with the login details for the bot, where to post, and what to post. You can even tell it to pin a post and how long for.

      Here are two to look at, you can either clone or download the repo to your machine:

      https://github.com/arcuru/lemmy-rss-bot

      https://github.com/SleeplessOne1917/lemmy-bot

      I’ll check which one I downloaded to my computer when I can. It’s part of my whole learning linux/remote desktop/making a server project I tinker with when I have time

      • StudSpud The Starchy@aussie.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        27 days ago

        Ah yep I’ve heard there were issues previously, hence why I wanted to crowd source some ideas and help. Thank you for these links so much!

        • tombruzzo@aussie.zone
          link
          fedilink
          arrow-up
          2
          ·
          27 days ago

          The issues aren’t even with aussie.zone, it’s all me trying to figure out the tech side. On paper it seems straightfoward enough, and once you’ve got it working you can ad YAML to your resume