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",
"litepub": "http://litepub.social/ns#",
"directMessage": "litepub:directMessage",
"Hashtag": "as:Hashtag"
}
],
"id": "https://social.mildlyfunctional.gay/users/artemist/statuses/113525005800106901",
"type": "Note",
"summary": null,
"inReplyTo": "https://social.mildlyfunctional.gay/users/artemist/statuses/113524977435370755",
"published": "2024-11-22T05:41:56Z",
"url": "https://social.mildlyfunctional.gay/@artemist/113525005800106901",
"attributedTo": "https://social.mildlyfunctional.gay/users/artemist",
"to": [
"https://social.mildlyfunctional.gay/users/artemist/followers"
],
"cc": [
"https://www.w3.org/ns/activitystreams#Public"
],
"sensitive": false,
"atomUri": "https://social.mildlyfunctional.gay/users/artemist/statuses/113525005800106901",
"inReplyToAtomUri": "https://social.mildlyfunctional.gay/users/artemist/statuses/113524977435370755",
"conversation": "tag:mildlyfunctional.gay,2024-11-22:objectId=2460109:objectType=Conversation",
"content": "<p>To the kernel and dynamic linker the name <code>.openbsd.randomdata</code> don't matter, the important part is the program header of type <code>PT_OPENBSD_RANDOMIZE</code>. The fact that libc always has a <code>.openbsd.randomdata</code> means that you can get free randomness pretty easily though:</p><pre><code>#include <stdio.h><br><br>unsigned int random __attribute__((section(\".openbsd.randomdata\")));<br><br>int main() {<br> printf(\"random: %d\\n\", random);<br> return 0;<br>}<br></code></pre>",
"contentMap": {
"en": "<p>To the kernel and dynamic linker the name <code>.openbsd.randomdata</code> don't matter, the important part is the program header of type <code>PT_OPENBSD_RANDOMIZE</code>. The fact that libc always has a <code>.openbsd.randomdata</code> means that you can get free randomness pretty easily though:</p><pre><code>#include <stdio.h><br><br>unsigned int random __attribute__((section(\".openbsd.randomdata\")));<br><br>int main() {<br> printf(\"random: %d\\n\", random);<br> return 0;<br>}<br></code></pre>"
},
"attachment": [],
"tag": [
{
"type": "Hashtag",
"href": "https://social.mildlyfunctional.gay/tags/include",
"name": "#include"
}
],
"replies": {
"id": "https://social.mildlyfunctional.gay/users/artemist/statuses/113525005800106901/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://social.mildlyfunctional.gay/users/artemist/statuses/113525005800106901/replies?only_other_accounts=true&page=true",
"partOf": "https://social.mildlyfunctional.gay/users/artemist/statuses/113525005800106901/replies",
"items": []
}
},
"likes": {
"id": "https://social.mildlyfunctional.gay/users/artemist/statuses/113525005800106901/likes",
"type": "Collection",
"totalItems": 3
},
"shares": {
"id": "https://social.mildlyfunctional.gay/users/artemist/statuses/113525005800106901/shares",
"type": "Collection",
"totalItems": 0
}
}