BrowserPub: A browser for debugging #ActivityPub and the ⁂fediverse
-
John Spurlockreplied to John Spurlock last edited by
anyway, once you have an active login it will be displayed in the top-right corner, and you can follow profiles with a tap of the "Follow" button
-
@js you'll probably be better waiting until Client ID Metadata Documents are implemented, otherwise you'll be maintaining a tonne of OAuth App registrations
You could also implement this through authorized interactions, iirc.
-
John Spurlockreplied to John Spurlock last edited by
now Pleroma is special here, it supports following like this in bog-standard ActivityPub!
ie just posting a small json payload to the logged-in user's outbox endpoint
hopefully more ActivityPub servers support this soon, as it should be very similar to what they already do for S2S
-
John Spurlockreplied to John Spurlock last edited by
misskey and micro.blog from @manton both support client registration for clients like this by simply providing a website url
it's called "indieauth" (displayed in the login info row, otherwise falls back to mastodon-style app-creation-based registration)
there is a newer emerging standard for dynamic client registration, but no one supports it yet - I'll add it when one does!
micro.blog doesn't support C2S follows via the outbox yet, but we can fallback to the micro.blog api here
-
@thisismissem yes I can't _wait_ until that spec is supported in popular implementations
right now I maintain a minimum number of mastodon app registrations based on unique attributes (they are not user-specific), but would love to rely on this less in the future
let me know if you know of a server I can get an account on that implements Client ID Metadata Documents for testing
-
@js first off never heard of this tool before. This is awesome, second the update is also awesome. third thing, you are awesome for sharing this.
-
thanks for the kind words! hope it helps you out there in activitypub-land
-
John Spurlockreplied to John Spurlock last edited by
you'll notice that browser.pub not only requests the ability to follow, but _also_ to read, generally
this gives the logged-in user the ability to explore ActivityPub collections that may not be public, only accessible via auth (if the server supports such collections over ActivityPub C2S)
in theory, you could imagine building a thing on top of these collections that looks like your personal mastodon timeline, but using spec-standard ActivityPub
in practice, tho, here is my mastodon inbox ️
-
John Spurlockreplied to John Spurlock last edited by
Pleroma, however, is a different story - a better story
here is my Pleroma account, listing my private inbox collection - essentially my home timeline
this is not public, but available to ActivityPub C2S clients like browser.pub with a valid auth token
-
John Spurlockreplied to John Spurlock last edited by
Under the hood, the personal inbox is represented as an essentially infinite ActivityPub OrderedCollection, with no 'totalItems' count property, and no 'last' pointer
I can keep iterating down my inbox reverse chron this way in the json...
-
John Spurlockreplied to John Spurlock last edited by
... or by hitting "next" in the visual view
maybe I should add some sort of automatic revealing of the next item on scroll
-
John Spurlockreplied to John Spurlock last edited by
and of course you can't see my personal Pleroma 'inbox' collection here, since you aren't logged in as me
as it should be
if anyone finds any additional endpoints available to read over C2S when authed (on any AP server impl), let me know - I'd be very curious to know what's supported out there
-
John Spurlockreplied to John Spurlock last edited by
one more for today: just got @pixelfed oauth working too
similar to mastodon, you can add an existing pixelfed.social account, and follow any fediverse user directly from browser.pub
and, similar to mastodon, pixelfed does not seem to support any additional ActivityPub over C2S when authed
-
@js all the collections on FedBOX federated.id filter out activities that don't have the Public namespace as recipient/audience when viewed without an Authorization header. For authorized actors it shows the non public activities that have them as a recipient.
I wonder why more people don't implement this type of filtering.
-
John Spurlockreplied to John Spurlock last edited by
just pushed an update out this morning to handle @subclub 's ActivityPub payload for declaring subscription information - renders as a green badge
example subscribers-only profile: https://browser.pub/@petadventures@sub.club
thanks to @bnolens for surfacing this important metadata as json-ld here
-
@js if I may make a suggestion related to one of my projects: I output Image objects that have the image binary data encoded in the Content property with base64. BrowserPub could transform this to an actual image.
An example of what I mean: https://browser.pub/https%3A%2F%2Fmarius.federated.id%2Foutbox%2F2%2Fobject
-
@mariusor alright, there you go
-
@js you're a wizard. Thank you.