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", "type": "Note", "id": "https://hj.9fs.net/khm/p/1744401993.720513", "published": "2025-04-11T20:06:33Z", "attributedTo": "https://hj.9fs.net/khm", "summary": "", "content": "use arrays.<br><br><pre>$ files = (&#34;file1&#34; &#34;file2&#34; &#34;file3&#34;)<br><br>$ echo ${files[0]}<br>file1<br><br>$ echo ${<a href=\"https://hj.9fs.net?t=files\" class=\"mention hashtag\" rel=\"tag\">#files</a>[@]} # get count<br>3<br></pre>", "context": "https://hj.9fs.net/khm/p/1744401993.720513#ctxt", "url": "https://hj.9fs.net/khm/p/1744401993.720513", "to": [ "https://polymaths.social/users/rl_dane", "https://www.w3.org/ns/activitystreams#Public" ], "cc": [], "inReplyTo": "https://polymaths.social/users/rl_dane/statuses/01JRK7249AR0H2GKGRF9NG30QF", "tag": [ { "type": "Mention", "href": "https://polymaths.social/users/rl_dane", "name": "@rl_dane@polymaths.social" }, { "type": "Hashtag", "href": "https://hj.9fs.net?t=files", "name": "#files" } ], "sourceContent": "use arrays.\n\n```\n$ files = (\"file1\" \"file2\" \"file3\")\n\n$ echo ${files[0]}\nfile1\n\n$ echo ${#files[@]} # get count\n3\n```\n" }