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",
"blurhash": "toot:blurhash",
"focalPoint": {
"@container": "@list",
"@id": "toot:focalPoint"
},
"Hashtag": "as:Hashtag"
}
],
"id": "https://mastodon.bsd.cafe/users/zirias/statuses/112682769382818283",
"type": "Note",
"summary": null,
"inReplyTo": "https://mastodon.bsd.cafe/users/zirias/statuses/112682565954938699",
"published": "2024-06-26T11:50:08Z",
"url": "https://mastodon.bsd.cafe/@zirias/112682769382818283",
"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/112682769382818283",
"inReplyToAtomUri": "https://mastodon.bsd.cafe/users/zirias/statuses/112682565954938699",
"conversation": "tag:bsd.cafe,2024-06-26:objectId=5992240:objectType=Conversation",
"content": "<p>On a side note, the build is quickly growing 🧐</p><p>A relevant part of it comes from "embedding" <a href=\"https://mastodon.bsd.cafe/tags/binary\" class=\"mention hashtag\" rel=\"tag\">#<span>binary</span></a> <a href=\"https://mastodon.bsd.cafe/tags/png\" class=\"mention hashtag\" rel=\"tag\">#<span>png</span></a> images into the executable. Here's indeed a weakness of my favorite <a href=\"https://mastodon.bsd.cafe/tags/programming\" class=\"mention hashtag\" rel=\"tag\">#<span>programming</span></a> language: <a href=\"https://mastodon.bsd.cafe/tags/C\" class=\"mention hashtag\" rel=\"tag\">#<span>C</span></a>. There's just no standard way to include binary data 😒</p><p>In the past, I had hacked something together with <a href=\"https://mastodon.bsd.cafe/tags/objcopy\" class=\"mention hashtag\" rel=\"tag\">#<span>objcopy</span></a>. Non-portable, and doesn't work any more with the llvm tooling installed with <a href=\"https://mastodon.bsd.cafe/tags/FreeBSD\" class=\"mention hashtag\" rel=\"tag\">#<span>FreeBSD</span></a> 13.3. I tried the <a href=\"https://mastodon.bsd.cafe/tags/incbin\" class=\"mention hashtag\" rel=\"tag\">#<span>incbin</span></a> pseudo-opcode which worked perfectly, but that's non-portable as well, you can't rely on the <a href=\"https://mastodon.bsd.cafe/tags/assembler\" class=\"mention hashtag\" rel=\"tag\">#<span>assembler</span></a> to support it. So I took the only portable route, generating C source (embedding the binary data into "string literals"), which requires a separate little tool built in a sub-make 🤯</p><p>This is really a feature <a href=\"https://mastodon.bsd.cafe/tags/C\" class=\"mention hashtag\" rel=\"tag\">#<span>C</span></a> desperately needs: a standard way to embed binary data.</p>",
"contentMap": {
"en": "<p>On a side note, the build is quickly growing 🧐</p><p>A relevant part of it comes from "embedding" <a href=\"https://mastodon.bsd.cafe/tags/binary\" class=\"mention hashtag\" rel=\"tag\">#<span>binary</span></a> <a href=\"https://mastodon.bsd.cafe/tags/png\" class=\"mention hashtag\" rel=\"tag\">#<span>png</span></a> images into the executable. Here's indeed a weakness of my favorite <a href=\"https://mastodon.bsd.cafe/tags/programming\" class=\"mention hashtag\" rel=\"tag\">#<span>programming</span></a> language: <a href=\"https://mastodon.bsd.cafe/tags/C\" class=\"mention hashtag\" rel=\"tag\">#<span>C</span></a>. There's just no standard way to include binary data 😒</p><p>In the past, I had hacked something together with <a href=\"https://mastodon.bsd.cafe/tags/objcopy\" class=\"mention hashtag\" rel=\"tag\">#<span>objcopy</span></a>. Non-portable, and doesn't work any more with the llvm tooling installed with <a href=\"https://mastodon.bsd.cafe/tags/FreeBSD\" class=\"mention hashtag\" rel=\"tag\">#<span>FreeBSD</span></a> 13.3. I tried the <a href=\"https://mastodon.bsd.cafe/tags/incbin\" class=\"mention hashtag\" rel=\"tag\">#<span>incbin</span></a> pseudo-opcode which worked perfectly, but that's non-portable as well, you can't rely on the <a href=\"https://mastodon.bsd.cafe/tags/assembler\" class=\"mention hashtag\" rel=\"tag\">#<span>assembler</span></a> to support it. So I took the only portable route, generating C source (embedding the binary data into "string literals"), which requires a separate little tool built in a sub-make 🤯</p><p>This is really a feature <a href=\"https://mastodon.bsd.cafe/tags/C\" class=\"mention hashtag\" rel=\"tag\">#<span>C</span></a> desperately needs: a standard way to embed binary data.</p>"
},
"attachment": [
{
"type": "Document",
"mediaType": "image/png",
"url": "https://media.bsd.cafe/bsdmmedia01/media_attachments/files/112/682/662/921/633/564/original/d078b6e279669605.png",
"name": null,
"blurhash": "U17-f-?^4;k::v$*XObuuK-p#rn4}djqO8XR",
"width": 568,
"height": 858
}
],
"tag": [
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/binary",
"name": "#binary"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/png",
"name": "#png"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/programming",
"name": "#programming"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/c",
"name": "#c"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/objcopy",
"name": "#objcopy"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/freebsd",
"name": "#freebsd"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/incbin",
"name": "#incbin"
},
{
"type": "Hashtag",
"href": "https://mastodon.bsd.cafe/tags/assembler",
"name": "#assembler"
}
],
"replies": {
"id": "https://mastodon.bsd.cafe/users/zirias/statuses/112682769382818283/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.bsd.cafe/users/zirias/statuses/112682769382818283/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.bsd.cafe/users/zirias/statuses/112682769382818283/replies",
"items": []
}
},
"likes": {
"id": "https://mastodon.bsd.cafe/users/zirias/statuses/112682769382818283/likes",
"type": "Collection",
"totalItems": 4
},
"shares": {
"id": "https://mastodon.bsd.cafe/users/zirias/statuses/112682769382818283/shares",
"type": "Collection",
"totalItems": 0
}
}