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", "blurhash": "toot:blurhash", "focalPoint": { "@container": "@list", "@id": "toot:focalPoint" } } ], "id": "https://ruby.social/users/nick_evans/statuses/110227725935380009", "type": "Note", "summary": null, "inReplyTo": "https://ruby.social/users/nick_evans/statuses/110226913806801341", "published": "2023-04-19T22:00:18Z", "url": "https://ruby.social/@nick_evans/110227725935380009", "attributedTo": "https://ruby.social/users/nick_evans", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://ruby.social/users/nick_evans/followers" ], "sensitive": false, "atomUri": "https://ruby.social/users/nick_evans/statuses/110227725935380009", "inReplyToAtomUri": "https://ruby.social/users/nick_evans/statuses/110226913806801341", "conversation": "tag:ruby.social,2023-04-19:objectId=20663950:objectType=Conversation", "content": "<p>patterns searching for patterns</p>", "contentMap": { "en": "<p>patterns searching for patterns</p>" }, "attachment": [ { "type": "Document", "mediaType": "image/png", "url": "https://cdn.masto.host/rubysocial/media_attachments/files/110/227/706/033/560/584/original/f91f0905c087542b.png", "name": "Three methods of Ruby code:\n def collect_regexps(obj) = case obj\n in name, Module => submod then dup.tap do _1.mod = submod end.to_a\n in name, Regexp => regexp then ConstantRegexp.new mod, name, regexp\n in Method => method then method_regexps SingletonMethodRegexp, method\n in UnboundMethod => method then method_regexps InstanceMethodRegexp, method\n end\n\n def method_regexps(klass, method)\n iseq_regexps(RubyVM::InstructionSequence.of(method))\n .map { klass.new mod, method.name, _1 }\n end\n\n def iseq_regexps(obj) = case obj\n in RubyVM::InstructionSequence then iseq_regexps obj.to_a\n in Array then obj.flat_map { iseq_regexps _1 }.uniq\n in Regexp then excluded?(obj) ? [] : obj\n else []\n end", "blurhash": "U15N}.^RD~w{^SXAR+RhnSM_t2%2XA$*R+Nf", "focalPoint": [ -0.88, 0.68 ], "width": 580, "height": 385 } ], "tag": [], "replies": { "id": "https://ruby.social/users/nick_evans/statuses/110227725935380009/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://ruby.social/users/nick_evans/statuses/110227725935380009/replies?only_other_accounts=true&page=true", "partOf": "https://ruby.social/users/nick_evans/statuses/110227725935380009/replies", "items": [] } }, "likes": { "id": "https://ruby.social/users/nick_evans/statuses/110227725935380009/likes", "type": "Collection", "totalItems": 0 }, "shares": { "id": "https://ruby.social/users/nick_evans/statuses/110227725935380009/shares", "type": "Collection", "totalItems": 0 } }