-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: blog action: commit revision: path_from: revision_from: 26ef529ecc2ade740859ca4e60d38a9b2149b616: path_to: revision_to:
commit 26ef529ecc2ade740859ca4e60d38a9b2149b616 Author: epoch <epoch@thebackupbox.net> Date: Tue Feb 21 08:36:57 2023 +0000 forgot to commit the actpub updates diff --git a/activity-pub b/activity-pub
--- a/activity-pub +++ b/activity-pub @@ -1,12 +1,67 @@ # activity pub +If you were expecting a mastodon profile.. um. hi. I'm writing my own activitypub software. + +## 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 +=> https://htmx.org/ 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... + ## Feb 3rd 2023 got a shell script written that can do Follows (tested) and Likes (not tested) I commit'd it to the actpub repo -=> http://git.thebackupbox.net/actpub/ +=> //git.thebackupbox.net/actpub/ I can't receive messages over actpub yet. I gotta finish up the shared inbox path on my server.
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 10:12:52 2024