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://fosstodon.org/users/DeaDSouL/statuses/110441803695075373", "type": "Note", "summary": null, "inReplyTo": null, "published": "2023-05-27T17:23:06Z", "url": "https://fosstodon.org/@DeaDSouL/110441803695075373", "attributedTo": "https://fosstodon.org/users/DeaDSouL", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://fosstodon.org/users/DeaDSouL/followers" ], "sensitive": false, "atomUri": "https://fosstodon.org/users/DeaDSouL/statuses/110441803695075373", "inReplyToAtomUri": null, "conversation": "tag:fosstodon.org,2023-05-27:objectId=113343610:objectType=Conversation", "content": "<p>I needed to remove all duplicates from ~/.bash_history, and since it contains the date and time for each command, I ended up with lots of dates and times with no commands (since they were duplicates and got removed).</p><p>And I didn&#39;t want to check 34k+ of lines manually. So, I wrote a Python script to solve that.</p><p>in case you&#39;re interested, here is the code: <a href=\"https://gitlab.com/ds.python/useful-scripts\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">gitlab.com/ds.python/useful-sc</span><span class=\"invisible\">ripts</span></a></p><p><a href=\"https://fosstodon.org/tags/BASH\" class=\"mention hashtag\" rel=\"tag\">#<span>BASH</span></a> <a href=\"https://fosstodon.org/tags/history\" class=\"mention hashtag\" rel=\"tag\">#<span>history</span></a> <a href=\"https://fosstodon.org/tags/bashhistory\" class=\"mention hashtag\" rel=\"tag\">#<span>bashhistory</span></a> <a href=\"https://fosstodon.org/tags/python\" class=\"mention hashtag\" rel=\"tag\">#<span>python</span></a> <a href=\"https://fosstodon.org/tags/duplicates\" class=\"mention hashtag\" rel=\"tag\">#<span>duplicates</span></a> <a href=\"https://fosstodon.org/tags/duplicate\" class=\"mention hashtag\" rel=\"tag\">#<span>duplicate</span></a> <a href=\"https://fosstodon.org/tags/dedup\" class=\"mention hashtag\" rel=\"tag\">#<span>dedup</span></a> <a href=\"https://fosstodon.org/tags/code\" class=\"mention hashtag\" rel=\"tag\">#<span>code</span></a> <a href=\"https://fosstodon.org/tags/python3\" class=\"mention hashtag\" rel=\"tag\">#<span>python3</span></a> <a href=\"https://fosstodon.org/tags/linux\" class=\"mention hashtag\" rel=\"tag\">#<span>linux</span></a> <a href=\"https://fosstodon.org/tags/gnulinux\" class=\"mention hashtag\" rel=\"tag\">#<span>gnulinux</span></a></p>", "contentMap": { "en": "<p>I needed to remove all duplicates from ~/.bash_history, and since it contains the date and time for each command, I ended up with lots of dates and times with no commands (since they were duplicates and got removed).</p><p>And I didn&#39;t want to check 34k+ of lines manually. So, I wrote a Python script to solve that.</p><p>in case you&#39;re interested, here is the code: <a href=\"https://gitlab.com/ds.python/useful-scripts\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">gitlab.com/ds.python/useful-sc</span><span class=\"invisible\">ripts</span></a></p><p><a href=\"https://fosstodon.org/tags/BASH\" class=\"mention hashtag\" rel=\"tag\">#<span>BASH</span></a> <a href=\"https://fosstodon.org/tags/history\" class=\"mention hashtag\" rel=\"tag\">#<span>history</span></a> <a href=\"https://fosstodon.org/tags/bashhistory\" class=\"mention hashtag\" rel=\"tag\">#<span>bashhistory</span></a> <a href=\"https://fosstodon.org/tags/python\" class=\"mention hashtag\" rel=\"tag\">#<span>python</span></a> <a href=\"https://fosstodon.org/tags/duplicates\" class=\"mention hashtag\" rel=\"tag\">#<span>duplicates</span></a> <a href=\"https://fosstodon.org/tags/duplicate\" class=\"mention hashtag\" rel=\"tag\">#<span>duplicate</span></a> <a href=\"https://fosstodon.org/tags/dedup\" class=\"mention hashtag\" rel=\"tag\">#<span>dedup</span></a> <a href=\"https://fosstodon.org/tags/code\" class=\"mention hashtag\" rel=\"tag\">#<span>code</span></a> <a href=\"https://fosstodon.org/tags/python3\" class=\"mention hashtag\" rel=\"tag\">#<span>python3</span></a> <a href=\"https://fosstodon.org/tags/linux\" class=\"mention hashtag\" rel=\"tag\">#<span>linux</span></a> <a href=\"https://fosstodon.org/tags/gnulinux\" class=\"mention hashtag\" rel=\"tag\">#<span>gnulinux</span></a></p>" }, "attachment": [ { "type": "Document", "mediaType": "image/png", "url": "https://cdn.fosstodon.org/media_attachments/files/110/441/791/457/737/561/original/5c20f45387cf867a.png", "name": null, "blurhash": "U17-Wn~pJ%9sxHtRR*ozxbt7yDozrsx]NGWU", "width": 1144, "height": 1812 } ], "tag": [ { "type": "Hashtag", "href": "https://fosstodon.org/tags/bash", "name": "#bash" }, { "type": "Hashtag", "href": "https://fosstodon.org/tags/history", "name": "#history" }, { "type": "Hashtag", "href": "https://fosstodon.org/tags/bashhistory", "name": "#bashhistory" }, { "type": "Hashtag", "href": "https://fosstodon.org/tags/python", "name": "#python" }, { "type": "Hashtag", "href": "https://fosstodon.org/tags/duplicates", "name": "#duplicates" }, { "type": "Hashtag", "href": "https://fosstodon.org/tags/duplicate", "name": "#duplicate" }, { "type": "Hashtag", "href": "https://fosstodon.org/tags/dedup", "name": "#dedup" }, { "type": "Hashtag", "href": "https://fosstodon.org/tags/code", "name": "#code" }, { "type": "Hashtag", "href": "https://fosstodon.org/tags/python3", "name": "#python3" }, { "type": "Hashtag", "href": "https://fosstodon.org/tags/linux", "name": "#linux" }, { "type": "Hashtag", "href": "https://fosstodon.org/tags/gnulinux", "name": "#gnulinux" } ], "replies": { "id": "https://fosstodon.org/users/DeaDSouL/statuses/110441803695075373/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://fosstodon.org/users/DeaDSouL/statuses/110441803695075373/replies?only_other_accounts=true&page=true", "partOf": "https://fosstodon.org/users/DeaDSouL/statuses/110441803695075373/replies", "items": [] } }, "likes": { "id": "https://fosstodon.org/users/DeaDSouL/statuses/110441803695075373/likes", "type": "Collection", "totalItems": 2 }, "shares": { "id": "https://fosstodon.org/users/DeaDSouL/statuses/110441803695075373/shares", "type": "Collection", "totalItems": 2 } }