ActivityPub Viewer

A small tool to view real-world ActivityPub objects as JSON! Enter a URL or username from Mastodon or a similar service below, and we'll send a request with the right Accept header to the server to view the underlying object.

Open in browser →
{ "@context": [ "https://www.w3.org/ns/activitystreams", { "ostatus": "http://ostatus.org#", "atomUri": "ostatus:atomUri", "inReplyToAtomUri": "ostatus:inReplyToAtomUri", "conversation": "ostatus:conversation", "sensitive": "as:sensitive", "toot": "http://joinmastodon.org/ns#", "votersCount": "toot:votersCount" } ], "id": "https://macaw.social/users/april/statuses/109394225257944136/activity", "type": "Create", "actor": "https://macaw.social/users/april", "published": "2022-11-23T17:10:07Z", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://macaw.social/users/april/followers" ], "object": { "id": "https://macaw.social/users/april/statuses/109394225257944136", "type": "Note", "summary": null, "inReplyTo": null, "published": "2022-11-23T17:10:07Z", "url": "https://macaw.social/@april/109394225257944136", "attributedTo": "https://macaw.social/users/april", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://macaw.social/users/april/followers" ], "sensitive": false, "atomUri": "https://macaw.social/users/april/statuses/109394225257944136", "inReplyToAtomUri": null, "conversation": "tag:macaw.social,2022-11-23:objectId=521969:objectType=Conversation", "content": "<p>I needed to parse a git log programmatically to get the last commit author excluding certain commits, but my assumption that git-log could output JSON was very wrong.</p><p>After like… uh, well, way too long, I&#39;ve finally got this sweet thing going:</p><p><a href=\"https://gist.github.com/april/ee2e104b1435f3113e67663d8875bbef\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">gist.github.com/april/ee2e104b</span><span class=\"invisible\">1435f3113e67663d8875bbef</span></a></p><p>Pure shell + git, tested against a million+ commit repo. Seems to work perfectly, and includes every possible git field, including the body.</p>", "contentMap": { "en": "<p>I needed to parse a git log programmatically to get the last commit author excluding certain commits, but my assumption that git-log could output JSON was very wrong.</p><p>After like… uh, well, way too long, I&#39;ve finally got this sweet thing going:</p><p><a href=\"https://gist.github.com/april/ee2e104b1435f3113e67663d8875bbef\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">gist.github.com/april/ee2e104b</span><span class=\"invisible\">1435f3113e67663d8875bbef</span></a></p><p>Pure shell + git, tested against a million+ commit repo. Seems to work perfectly, and includes every possible git field, including the body.</p>" }, "attachment": [], "tag": [], "replies": { "id": "https://macaw.social/users/april/statuses/109394225257944136/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://macaw.social/users/april/statuses/109394225257944136/replies?only_other_accounts=true&page=true", "partOf": "https://macaw.social/users/april/statuses/109394225257944136/replies", "items": [] } }, "likes": { "id": "https://macaw.social/users/april/statuses/109394225257944136/likes", "type": "Collection", "totalItems": 42 }, "shares": { "id": "https://macaw.social/users/april/statuses/109394225257944136/shares", "type": "Collection", "totalItems": 9 } } }