👀 BrowserPub: A browser for exploring #ActivityPub and the ⁂fediverse
BrowserPub · A browser for debugging ActivityPub and the fediverse
Explore the open social web through the lens of ActivityPub and the fediverse.browser.pub
Questa voce è stata modificata (4 mesi fa)
like this
reshared this
John Spurlock
Unknown parent • • •Jeff Sikes
in reply to John Spurlock • • •John Spurlock
in reply to Jeff Sikes • • •@box464 thanks - more to come, but I figured building something like this little by little in public makes sense
let me know if you come across any links that don't look right
Evan Prodromou
in reply to John Spurlock • • •John Spurlock
in reply to Evan Prodromou • • •silverpill
in reply to John Spurlock • • •John Spurlock
in reply to silverpill • • •@silverpill I mean it's basically all client-side
so, uh, view-source? : )
Don't make fun of my vanilla browser non-framework JS
Evan Prodromou
in reply to John Spurlock • • •@silverpill probably the bigger question is whether you want contributors.
Also, do you route requests through the b.s server if the remote server uses authorized fetch?
John Spurlock
in reply to Evan Prodromou • • •@evan @silverpill
1. not sure yet - it's a passion project and still very early days (e.g. it does jsonld validation under the hood but not exposed in the UI yet)
2. yes (try a federated threads profile or post url, or gotosocial)
Evan Prodromou
in reply to John Spurlock • • •John Spurlock
in reply to Evan Prodromou • • •@evan @silverpill
yes pretty limited at the moment. they do expose following/follower collection _counts_, but do not enumerate members
I would love to see a true 'replies' collection from them someday
on the bright side they do support inReplyTo, which I had not heard anyone mention before
browser.pub/threads.net/@evanp…
www.threads.net/@evanprodromou/post/C-0iXNmvgj7 · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubEvan Prodromou
in reply to John Spurlock • • •bumblefudge
in reply to John Spurlock • • •Evan Prodromou
in reply to bumblefudge • • •John Spurlock
in reply to Evan Prodromou • • •@evan @by_caballero
thanks! send me any url or input you think it should be handling and I'll take a look
also if you see any weird rendering issues in the "visual" view
more tooltips and validations/recommendations are coming
John Spurlock
in reply to John Spurlock • • •The idea here is to make it a bit easier to see how well the various players in the fediverse support the C2S side of the ActivityPub spec.
You can punch in any ActivityPub discoverable web url or fediverse handle, and BrowserPub will discover and display the underlying AP:
e.g.
social profiles: browser.pub/mastodon.social/@m…
or posts:
browser.pub/mastodon.social/@G…
or fediverse handles:
browser.pub/@Gargron@mastodon.…
or even usernames (defaults to mastodon.social for now):
browser.pub/Gargron
mastodon.social/@mastodon · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •BrowserPub defaults to a visual representation of the object (if a known type)
everything here is powered by ActivityPub, no server-specific APIs
you can also view the underlying ActivityPub object as JSON...
Evan Prodromou
in reply to John Spurlock • • •> everything here is powered by ActivityPub, no server-specific APIs
Please don't waver from this! It's so cool.
John Spurlock
in reply to Evan Prodromou • • •@evan hopefully this can help to make sure folks are supporting C2S as much as possible
I would love to get a standards-based oauth to inbox flow working, do you know of any implementations that support it?
was going to check out Mastodon's new oauth thing in 4.3, but I'm not sure they have any additional AP endpoints behind the auth wall
Evan Prodromou
in reply to John Spurlock • • •John Spurlock
in reply to John Spurlock • • •John Spurlock
in reply to John Spurlock • • •It'll work on ActivityPub-enabled wordpress sites:
browser.pub/fediversereport.co…
fediversereport.com · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •... or posts:
browser.pub/https%3A%2F%2Fandy…
andypiper.co.uk/2024/08/11/synology-issues/ · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •For known collection properties (like outbox, followers, featured, etc), it will preview the collection and support paging via a "next" link:
browser.pub/davew
davew · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubEvan Prodromou
in reply to John Spurlock • • •John Spurlock
in reply to Evan Prodromou • • •every property is listed, and clickable, in the json and outline structured views
in the visual view, any unknown properties (if present) are rendered kind of like the outline view, just above the expandable details section
John Spurlock
in reply to John Spurlock • • •Here's a Lemmy group
browser.pub/lemmy.ml/c/asklemm…
lemmy.ml/c/asklemmy · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •And here's @manton 's profile using micro.blog's AP endpoint
browser.pub/manton.org/activit…
manton.org/activitypub/manton · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •Threads posts and profiles are also available, for users that have checked the magic box
Here's a post:
browser.pub/threads.net/@evanp…
www.threads.net/@evanprodromou/post/C8qtHZEuA0Q · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •While Threads does not support the replies collection yet, they do support the inReplyTo pointer, which BrowserPub renders above
browser.pub/threads.net/@evanp…
www.threads.net/@evanprodromou/post/C-0iXNmvgj7 · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •BrowserPub also supports the new fediverse:creator discovery mechanism
browser.pub/theverge.com/2024/…
www.theverge.com/2024/7/2/24190641/apple-vision-pro-headset-future-cheaper · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •Bluesky profiles that are bridged can also be rendered
e.g. @snarfed.org bridged bsky profile
browser.pub/bsky.brid.gy/ap/di…
bsky.brid.gy/ap/did:plc:3ljmtyyjqcjee2kpewgsifvb · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •John Spurlock
in reply to John Spurlock • • •Here's a podcast from @dave 's podcastindex bridge
browser.pub/@851643@ap.podcast…
@851643@ap.podcastindex.org · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •BrowserPub also tries to render custom emojis in content and profile headers, these are in the ActivityPub payload after all
even animated ones
browser.pub/bolha.one/users/jo…
bolha.one/users/joaonaweb/statuses/112978564080782762 · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •and of course Flipboard is supported (cc @mike) nothing special, just the same ActivityPub spec implementation
browser.pub/https%3A%2F%2Fflip…
flipboard.social/users/arunshah · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •so even though Threads doesn't return collection items in the ActivityPub payload yet, it _does_ include the counts - so at least I can display those
just pushed it live
browser.pub/threads.net/ap/use…
threads.net/ap/users/17841401083120503/ · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •Polls are not a Mastodon-specific feature, they can be expressed well in standard ActivityPub, which means standards-based apps like BrowserPub can render them
Here is a recent poll example from @evan
browser.pub/cosocial.ca/@evan/…
cosocial.ca/@evan/113005485605693174 · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •looks like someone submitted it to hacker news!
news.ycombinator.com/item?id=4…
A browser for debugging ActivityPub and the Fediverse | Hacker News
news.ycombinator.comJohn Spurlock
in reply to John Spurlock • • •and looks like Ghost got their outbox and posts ActivityPub working
although they are not in reverse chron like everyone else (@johnonolan, was this intentional?)
browser.pub/index@activitypub.…
index@activitypub.ghost.org · BrowserPub · A browser for debugging ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •So as I'm bopping around looking at everyone's #ActivityPub in browser.pub, I wanted to have the ability to follow interesting people while I'm browsing.
I just pushed a new update that adds a "Follow" button next to every profile in the visual view
e.g. browser.pub/mastodon@mastodon.…
mastodon@mastodon.social · BrowserPub · A browser for exploring ActivityPub and the fediverse
browser.pubJohn Spurlock
in reply to John Spurlock • • •Ideally, I'd like to have these follows take effect here in my main account and not have to create a brand new profile on a brand new site.
This is where OAuth comes in - many existing fediverse servers supported federated login in a standard way
Just enter your account to start the login flow in browser.pub
John Spurlock
in reply to John Spurlock • • •John Spurlock
in reply to John Spurlock • • •... then stores the login info in the browser
For OAuth dorks, it'll show the token expiration and granted scope
Also whether or not the server supports the excellent OAuth server metadata spec, and whether the server supports PKCE (a security improvement that is a newer part of the spec)
John Spurlock
in reply to John Spurlock • • •John Spurlock
in reply to John Spurlock • • •John Spurlock
in reply to John Spurlock • • •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 Spurlock
in reply to John Spurlock • • •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
John Spurlock
in reply to John Spurlock • • •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 Spurlock
in reply to John Spurlock • • •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 Spurlock
in reply to John Spurlock • • •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 Spurlock
in reply to John Spurlock • • •... or by hitting "next" in the visual view
maybe I should add some sort of automatic revealing of the next item on scroll
John Spurlock
in reply to John Spurlock • • •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 Spurlock
in reply to John Spurlock • • •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
洪 民憙 (Hong Minhee)
in reply to John Spurlock • • •John Spurlock
in reply to 洪 民憙 (Hong Minhee) • • •@hongminhee most of the app runs in browser JS without a framework, so I guess view-source? : )
there is a validation model underneath that I haven't wired up to the UI yet, and I'd like to make that available via an API as well as visually
Chee Aun 🤔
in reply to John Spurlock • • •John Spurlock
in reply to Chee Aun 🤔 • • •@cheeaun @hongminhee
Perhaps! It does not use Fedify, but it is all basically vanilla TypeScript