• ruk_n_rul@monyet.cc
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    Just one for [email protected]. I think I will cook a bot myself though, because I would need the bot to:

    • use templates
    • fill the templates with texts/images/links off of a spreadsheet
    • generate images, also off of templates (scripting done for this one)

    Plus I want to write it in Python 3. There’s a really good lemmy module by db0.

    I’m not in a rush so I’m fine with continuing to post manually for next week or 2 as I slow cook this.

    • Naomikho@monyet.cc
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Good luck with the cooking! There was a lemmy python API but I’m not experienced with python so I went for lemmy js client instead. I do plan to implement those features eventually too, but my technical knowledge isn’t great so I would need a lot of time to figure things out.

    • zen@monyet.cc
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      if you are referring to https://github.com/db0/pythorhead then you must take care, both this and lemmy-js-client (and the whole lemmy stack itself) is under affero which is a viral license that has been touted as a preventive measure against big tech.

      ianal, but i think any network interaction with code derived from those 2 libraries must be placed under the same affero license.

      wefwef/voyager was hit by this exact licensing issue.

      • ruk_n_rul@monyet.cc
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        1 year ago

        I’ll keep that in mind, thanks.

        Section 6 & 13 of the license is a bit of a headache though. Do I need to upload the whole bot script to, say, github, before I even start posting using the script?

        • zen@monyet.cc
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          i don’t think so. i think what’s important is that it stays under the same license, which means sooner or later you’ll have to disclose source, but i don’t think anyone is going to be so picky as to say you have to do it at the very beginning.

          in other words, as long as you are not intentionally withholding source, it should be alright, but again, ianal. anyway, yours is just a hobby project so no need to be so strict about it.

          i am just bringing to your attention the nature of the license involved, so maybe if you’re not that comfortable with it, you could look around for a more permissively licensed python lemmy library (if there’s even such a thing, considering the whole lemmy stack is already under the same license).