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.
{
"@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",
"Hashtag": "as:Hashtag"
}
],
"id": "https://mastodon.bsd.cafe/users/zirias/statuses/114360336383451589/replies",
"type": "Collection",
"first": {
"id": "https://mastodon.bsd.cafe/users/zirias/statuses/114360336383451589/replies?page=true",
"type": "CollectionPage",
"next": "https://mastodon.bsd.cafe/users/zirias/statuses/114360336383451589/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.bsd.cafe/users/zirias/statuses/114360336383451589/replies",
"items": [
{
"id": "https://mastodon.bsd.cafe/users/zirias/statuses/114365919855463433",
"type": "Note",
"summary": null,
"inReplyTo": "https://mastodon.bsd.cafe/users/zirias/statuses/114360336383451589",
"published": "2025-04-19T17:57:27Z",
"url": "https://mastodon.bsd.cafe/@zirias/114365919855463433",
"attributedTo": "https://mastodon.bsd.cafe/users/zirias",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.bsd.cafe/users/zirias/followers"
],
"sensitive": false,
"atomUri": "https://mastodon.bsd.cafe/users/zirias/statuses/114365919855463433",
"inReplyToAtomUri": "https://mastodon.bsd.cafe/users/zirias/statuses/114360336383451589",
"conversation": "tag:bsd.cafe,2025-04-18:objectId=15915128:objectType=Conversation",
"content": "<p>Of course, this new credentials checker in <a href=\"https://mastodon.bsd.cafe/tags/swad\" class=\"mention hashtag\" rel=\"tag\">#<span>swad</span></a> needs a <a href=\"https://mastodon.bsd.cafe/tags/tool\" class=\"mention hashtag\" rel=\"tag\">#<span>tool</span></a> to edit these <a href=\"https://mastodon.bsd.cafe/tags/password\" class=\"mention hashtag\" rel=\"tag\">#<span>password</span></a> files, that's currently work in progress.</p><p>I just implemented the class for reading a password, pretty simple thing from a pipe, but an "interesting" job from a <a href=\"https://mastodon.bsd.cafe/tags/terminal\" class=\"mention hashtag\" rel=\"tag\">#<span>terminal</span></a>. Turns out doing that portably, reliably and secure needs quite some code. 🙈</p><p>There's <a href=\"https://mastodon.bsd.cafe/tags/getpass\" class=\"mention hashtag\" rel=\"tag\">#<span>getpass</span></a>, but that's deprecated for good reasons (global state and not perfectly clear how it deals with <a href=\"https://mastodon.bsd.cafe/tags/signals\" class=\"mention hashtag\" rel=\"tag\">#<span>signals</span></a> that could interrupt the input). And there's the sane replacement <a href=\"https://mastodon.bsd.cafe/tags/readpassphrase\" class=\"mention hashtag\" rel=\"tag\">#<span>readpassphrase</span></a> in *some* systems (e.g. <a href=\"https://mastodon.bsd.cafe/tags/FreeBSD\" class=\"mention hashtag\" rel=\"tag\">#<span>FreeBSD</span></a>), but that's not portable. 🙃</p><p>So, plain old <a href=\"https://mastodon.bsd.cafe/tags/tcsetattr\" class=\"mention hashtag\" rel=\"tag\">#<span>tcsetattr</span></a> it is, with some signal handling on top:<br /><a href=\"https://github.com/Zirias/swad/commit/447f48096fc275a5bae113393ffe9a3cbc66cc95\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/Zirias/swad/commit/</span><span class=\"invisible\">447f48096fc275a5bae113393ffe9a3cbc66cc95</span></a></p>",
"contentMap": {
"en": "<p>Of course, this new credentials checker in <a href=\"https://mastodon.bsd.cafe/tags/swad\" class=\"mention hashtag\" rel=\"tag\">#<span>swad</span></a> needs a <a href=\"https://mastodon.bsd.cafe/tags/tool\" class=\"mention hashtag\" rel=\"tag\">#<span>tool</span></a> to edit these <a href=\"https://mastodon.bsd.cafe/tags/password\" class=\"mention hashtag\" rel=\"tag\">#<span>password</span></a> files, that's currently work in progress.</p><p>I just implemented the class for reading a password, pretty simple thing from a pipe, but an "interesting" job from a <a href=\"https://mastodon.bsd.cafe/tags/terminal\" class=\"mention hashtag\" rel=\"tag\">#<span>terminal</span></a>. Turns out doing that portably, reliably and secure needs quite some code. 🙈</p><p>There's <a href=\"https://mastodon.bsd.cafe/tags/getpass\" class=\"mention hashtag\" rel=\"tag\">#<span>getpass</span></a>, but that's deprecated for good reasons (global state and not perfectly clear how it deals with <a href=\"https://mastodon.bsd.cafe/tags/signals\" class=\"mention hashtag\" rel=\"tag\">#<span>signals</span></a> that could interrupt the input). And there's the sane replacement <a href=\"https://mastodon.bsd.cafe/tags/readpassphrase\" class=\"mention hashtag\" rel=\"tag\">#<span>readpassphrase</span></a> in *some* systems (e.g. <a href=\"https://mastodon.bsd.cafe/tags/FreeBSD\" class=\"mention hashtag\" rel=\"tag\">#<span>FreeBSD</span></a>), but that's not portable. 🙃</p><p>So, plain old <a href=\"https://mastodon.bsd.cafe/tags/tcsetattr\" class=\"mention hashtag\" rel=\"tag\">#<span>tcsetattr</span></a> it is, with some signal handling on top:<br /><a href=\"https://github.com/Zirias/swad/commit/447f48096fc275a5bae113393ffe9a3cbc66cc95\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/Zirias/swad/commit/</span><span class=\"invisible\">447f48096fc275a5bae113393ffe9a3cbc66cc95</span></a></p>"
},
"attachment": [],
"tag": [
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/swad",
"name": "#swad"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/tool",
"name": "#tool"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/password",
"name": "#password"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/terminal",
"name": "#terminal"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/getpass",
"name": "#getpass"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/signals",
"name": "#signals"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/readpassphrase",
"name": "#readpassphrase"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/freebsd",
"name": "#freebsd"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/tcsetattr",
"name": "#tcsetattr"
}
],
"replies": {
"id": "https://mastodon.bsd.cafe/users/zirias/statuses/114365919855463433/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.bsd.cafe/users/zirias/statuses/114365919855463433/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.bsd.cafe/users/zirias/statuses/114365919855463433/replies",
"items": []
}
},
"likes": {
"id": "https://mastodon.bsd.cafe/users/zirias/statuses/114365919855463433/likes",
"type": "Collection",
"totalItems": 1
},
"shares": {
"id": "https://mastodon.bsd.cafe/users/zirias/statuses/114365919855463433/shares",
"type": "Collection",
"totalItems": 1
}
}
]
}
}