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" }, "Hashtag": "as:Hashtag" } ], "id": "https://mastodon.cloud/users/Changaco/statuses/114587497775374436", "type": "Note", "summary": null, "inReplyTo": null, "published": "2025-05-28T21:07:37Z", "url": "https://mastodon.cloud/@Changaco/114587497775374436", "attributedTo": "https://mastodon.cloud/users/Changaco", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://mastodon.cloud/users/Changaco/followers" ], "sensitive": false, "atomUri": "https://mastodon.cloud/users/Changaco/statuses/114587497775374436", "inReplyToAtomUri": null, "conversation": "tag:mastodon.cloud,2025-05-28:objectId=463012037:objectType=Conversation", "content": "<p>I&#39;ve just published a new Python module: <a href=\"https://github.com/Changaco/python-memory-inventory\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/Changaco/python-mem</span><span class=\"invisible\">ory-inventory</span></a></p><p>It&#39;s an interesting little tool that tries to find all the Python objects in memory and compiles statistics on them.</p><p>Did you know that Python creates quite a few duplicate objects in memory? Tuples, bytes, strings, integers, frozen sets, floats. When loading the entire standard library, more than 32 thousand duplicate objects waste almost 2 megabytes of RAM.</p><p><a href=\"https://mastodon.cloud/tags/Python\" class=\"mention hashtag\" rel=\"tag\">#<span>Python</span></a> <a href=\"https://mastodon.cloud/tags/RAM\" class=\"mention hashtag\" rel=\"tag\">#<span>RAM</span></a> <a href=\"https://mastodon.cloud/tags/optimization\" class=\"mention hashtag\" rel=\"tag\">#<span>optimization</span></a></p>", "contentMap": { "en": "<p>I&#39;ve just published a new Python module: <a href=\"https://github.com/Changaco/python-memory-inventory\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/Changaco/python-mem</span><span class=\"invisible\">ory-inventory</span></a></p><p>It&#39;s an interesting little tool that tries to find all the Python objects in memory and compiles statistics on them.</p><p>Did you know that Python creates quite a few duplicate objects in memory? Tuples, bytes, strings, integers, frozen sets, floats. When loading the entire standard library, more than 32 thousand duplicate objects waste almost 2 megabytes of RAM.</p><p><a href=\"https://mastodon.cloud/tags/Python\" class=\"mention hashtag\" rel=\"tag\">#<span>Python</span></a> <a href=\"https://mastodon.cloud/tags/RAM\" class=\"mention hashtag\" rel=\"tag\">#<span>RAM</span></a> <a href=\"https://mastodon.cloud/tags/optimization\" class=\"mention hashtag\" rel=\"tag\">#<span>optimization</span></a></p>" }, "updated": "2025-05-29T12:25:24Z", "attachment": [ { "type": "Document", "mediaType": "image/png", "url": "https://media.mastodon.cloud/media_attachments/files/114/587/274/763/854/234/original/a5f769c2f9095600.png", "name": "Screenshot of the top of an HTML page generated by the memory_inventory module, containing a table listing the classes that could be optimized by giving them slots. The third and sixth rows of the table are for “classmethod” and “staticmethod”, two builtins usually called as decorators.", "blurhash": "U6R{#?9FIU00?bRjof-;%MIUay%M-;IURjay", "focalPoint": [ 0, 0 ], "width": 1706, "height": 1216 }, { "type": "Document", "mediaType": "image/png", "url": "https://media.mastodon.cloud/media_attachments/files/114/587/388/908/418/711/original/1ca5655e42a396ba.png", "name": "Screenshot of the top of another HTML page generated by the memory_inventory module, containing a table listing strings that appear multiple times in memory. The first string in the table mentions PEP 585. Its 44 duplicates waste 6.38 kilobytes of RAM. The second string is “encodings”. Its 122 duplicates waste 6.1 kilobytes of RAM.", "blurhash": "U9SY{q00Rj9Fxuofj[t7WBM{Rjt7ofRjRjj[", "focalPoint": [ 0, 0 ], "width": 1706, "height": 1216 }, { "type": "Document", "mediaType": "image/png", "url": "https://media.mastodon.cloud/media_attachments/files/114/591/095/389/837/949/original/e942fe6ace219756.png", "name": "Screenshot of the top of an HTML page generated by the memory_inventory module, containing a table titled “Types by intrinsic memory usage”. Each row shows the name, cumulated memory usage, instances found and average memory usage per instance of a type.", "blurhash": "U5SPX_WBD%00xuRjt7-;of9FM{%MxuD%NGof", "focalPoint": [ 0, 0 ], "width": 1706, "height": 1216 } ], "tag": [ { "type": "Hashtag", "href": "https://mastodon.cloud/tags/python", "name": "#python" }, { "type": "Hashtag", "href": "https://mastodon.cloud/tags/ram", "name": "#ram" }, { "type": "Hashtag", "href": "https://mastodon.cloud/tags/optimization", "name": "#optimization" } ], "replies": { "id": "https://mastodon.cloud/users/Changaco/statuses/114587497775374436/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://mastodon.cloud/users/Changaco/statuses/114587497775374436/replies?min_id=114591110882218815&page=true", "partOf": "https://mastodon.cloud/users/Changaco/statuses/114587497775374436/replies", "items": [ "https://mastodon.cloud/users/Changaco/statuses/114591110882218815" ] } } }