The discussion thread is for casual and off-topic conversation that doesn’t merit its own submission.

  • CoffeeAddict@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    Sounds awesome! What is the best way to test this? Assuming I understand correctly, all we would need to do is make a thread and the bot would find it and boost it to Mastodon?

    • Neblib@mastodo.neoliber.al
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      @CoffeeAddict that’s correct. I had a bug in my scheduler last night which made it miss your Armenia post, but I ran with a wider window to pick up those and it should be working now.
      The bot pulls the thread RSS at https://kbin.social/rss?magazine=Neoliberal once an hour and then for each post since the last run:

      • performs a search on the masto instance to get the post federated and get the masto post id
      • checks to see if it’s already been boosted by the bot
      • boosts it if not yet boosted.
      • Neblib@mastodo.neoliber.al
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 year ago

        @CoffeeAddict I could make it run more aggressively, but I figure an hour should be fine. I went with RSS as KBin’s API is very undocumented. Interestingly, I just found out this morning they also support jsonfeed, which could allow me to remove a rss reading dependency.

        • CoffeeAddict@kbin.social
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          @Neblib
          I see it now! I think once an hour should be fine.

          And yeah, I believe ernest (Kbins developer) is still working on the API. The last I heard it should be released/updated soon…ish lol.

          Right now, I believe only artemis.camp is running kbins API, but even that version is not quite finished. My understanding is that Artemis uses scraping for rest.

          Personally, I am excited for the API to be finished and Artemis to support kbin.social, but these things take time to do right.

          Still though, this bot is a great step in the right direction for communicating between our communities on #kbin and #mastodon.