this post was submitted on 08 Apr 2025
6 points (100.0% liked)
ActivityPub
319 readers
5 users here now
Icon base by Lorc under CC BY 3.0 with modifications to add a gradient
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You will need a server that can serve you actor URL and public key. Even a static webpage will do. If you have that, then a simple curl could be sufficient.
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.
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?
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.