I hope everyone here is having a great time on Lemmy!

  • mister_monster
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    If you could just put all feeds in a config and individually point them at communities, that would be amazing!

    That’s how I’m building it. So you’ll be able to call a config that logs in, checks multiple RSS feeds for updates, posts the updates each in their specified community. You can have multiple configs that each have a different login and post different things. You’ll call the script and pass it a config file path from a cron job, and you can have as many of those as you like and as many different configs as you like on your VPS.

    I’m going to build you a config that does the usual Monero newsletters plus CCS, you’ll have to input login info for it in the config. You can use that as a template to make any number of them that post any number of RSS feeds from any accounts you want to create. You should probably create a monero news bot account for it, and I’d do separate bots for lemmy updates, monero releases, etc. The accounts dont have to be mod or admin, they just have to be able to post.

    You’re about to see some testing going on later today from this account. That’s me testing this thing.

    • adminOPMA
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Got it, very cool. Thanks for working on this :)

      • mister_monster
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Do you happen to know the API endpoint for logging in? I can’t for the life of me find it. The docs say https://instance.TLD/api/v3/user/login?username_or_email=<username>&password=<password> but /login goes nowhere, at least for monero.town.

        I’m also about to post after I get login working so if you know the format of that query string you can toss that in too, save me some time fumbling with the lemmy docs.

        • adminOPMA
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          From someone on matrix: It’s a POST endpoint The response is a jwt and a few flags. Well you have to post and the body is json with the attribute rather than GET request params