For example, If I wanted to see how lemmy handles an announcement of an announcement, is there a tool I could use to write a custom activity and send it to the target server?

  • irelephant [he/him]🍭@lemm.eeOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    I had tried stuff similar to this (hosting static json on my neocities site), but it failed. It probably was because of the keys. I’ll try it again with them.

    • rglullis@communick.news
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 month ago

      Another thing to consider is that most servers only accept HTTP requests that are properly signed.

      Maybe you can take a look at Fedify if you know your way around javascript development? If python is your thing, maybe my own Django ActivityPub code?

      • irelephant [he/him]🍭@lemm.eeOP
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month ago

        I made a shell script which makes a request (with curl) with the version of http signing mastodon uses. It works. I think.

        Anyway, I was planning on making an ActivityPub library in lua, for the lapis framework.