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://social.jvns.ca/users/b0rk/statuses/113408479591556325", "type": "Note", "summary": null, "inReplyTo": null, "published": "2024-11-01T15:47:47Z", "url": "https://social.jvns.ca/@b0rk/113408479591556325", "attributedTo": "https://social.jvns.ca/users/b0rk", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://social.jvns.ca/users/b0rk/followers" ], "sensitive": false, "atomUri": "https://social.jvns.ca/users/b0rk/statuses/113408479591556325", "inReplyToAtomUri": null, "conversation": "tag:jvns.ca,2024-11-01:objectId=767067:objectType=Conversation", "content": "<p>pipes &amp; redirects cheat sheet</p>", "contentMap": { "en": "<p>pipes &amp; redirects cheat sheet</p>" }, "attachment": [ { "type": "Document", "mediaType": "image/png", "url": "https://cdn.masto.host/socialjvnsca/media_attachments/files/113/408/478/607/373/110/original/1206e8debbaa33c8.png", "name": "panel 1: the magic of pipes is that you can use any program with any other program\n\nANYTHING that outputs text => ANYTHING that takes text input\n\npanel 2: pipe some output\n\nenv | grep MAIL\n\npanel 3: redirect stdout to a file\n\npbpaste > ~/bin/git-vee\n\npanel 4: ignore error output\n\nfind . 2>/dev/null\n\npanel 5: pipe both stderr and stdout to a program\n\ncmd 2>&1 | less\n\npanel 6: redirect both stderr and stdout to the same file\n\ncmd &> file.txt\n\ncmd > file.txt 2>&1\n\n\npanel 7: gotcha: sudo echo blah > file.txt doesn't work\n\nif `file.txt` is owned by root, you have to do\n\necho blah | sudo tee file.txt\n\npanel 8: gotcha: grep blah file.txt > file.txt will make file.txt empty\n\nyou can use sponge but I always just make sure to write to a different file\n\npanel 9: gotcha: ./some_program | grep blah often gets buffered\n\nthis is because libc buffers writes to files and pipes\n\nworkaround: \n\nunbuffer some_program | grep blah\n\n(unbuffer is part of expect)", "blurhash": "U6RMYt=|k;t7?GR6xsWB?uxu%1Rj_4W.xvof", "width": 1477, "height": 942 } ], "tag": [], "replies": { "id": "https://social.jvns.ca/users/b0rk/statuses/113408479591556325/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://social.jvns.ca/users/b0rk/statuses/113408479591556325/replies?only_other_accounts=true&page=true", "partOf": "https://social.jvns.ca/users/b0rk/statuses/113408479591556325/replies", "items": [] } }, "likes": { "id": "https://social.jvns.ca/users/b0rk/statuses/113408479591556325/likes", "type": "Collection", "totalItems": 265 }, "shares": { "id": "https://social.jvns.ca/users/b0rk/statuses/113408479591556325/shares", "type": "Collection", "totalItems": 150 } }