💾 Archived View for thebackupbox.net › ~epoch › blog › activity-pub-3 captured on 2024-12-17 at 10:12:13. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-07-09)

-=-=-=-=-=-=-

activity pub

updates

Feb 17th 2023

I added a link to this blog post from

/~epoch/

for when people try to view my fediverse profile and see that weird thing.

so, there was a lot of changes since the 3rd. went with a naming prefix for everything of ap-[stuff]

and renamed object to actor in the appropriate places, because I want to use "object" to refer to

the types of objects that get passed around inside of the activity objects.

Um... made up a URI scheme for myself until I figure out something better.

examples:

actpub:follow?uri=https://thebackupbox.net/~epoch/

actpub:like?uri=https://thebackupbox.net/~epoch/notes/example

I also have acct: URIs that go with each object when it is outputted as html.

and an acct: URI handler on my desktop that gives me an option of a few things

to do with it.

the uh, actpub URI handlers are passed to uristart, and the config lines for those are:

s actpub p like:	export QUERY_STRING='%q' ; $(printf "$(oxtin)" ap-like) "$(uriunescape "$(query_param uri)")"
s actpub p follow:	export QUERY_STRING='%q' ; $(printf "$(oxtin)" ap-follow) "$(ap-actor2acct "$(uriunescape "$(query_param uri)")" | uricut -p )"

the follow one is such a mess because ap-follow was written to use acct values

and not actor URIs, so it has to do some extra effort.

I added better paging to my ap-inbox.cgi, and use

htmx

to do infinite scroll.

atm I don't have any way to post to the fediverse.

I really don't want my server to have my private key.

oh yeah. I changed a handful of URLs in my actor object

and for the last week I've been getting stuff sent to the old values still.

:/

Not sure how I can get other servers to re-pull that info.

Would also be nice if other fediverse servers would work with the If-Modified-Since

so I could cause even less traffic.

I've been trying to cache as much stuff as I can.

Um... I dunno.

Maybe I can make a form that submits to actpub:create ?

that might be neat. I'm not trying to build too much of this server-side.

I know the spec says clients talk to server, and server talks to other servers but...