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://join-lemmy.org/context.json",
"https://www.w3.org/ns/activitystreams"
],
"type": "Page",
"id": "https://lemmy.world/post/21463665",
"attributedTo": "https://lemmy.world/u/NateNate60",
"to": [
"https://lemmy.ml/c/programmerhumor",
"https://www.w3.org/ns/activitystreams#Public"
],
"name": "Oh boy what a beautiful regex. I'm sure it does something logical and easy to understand.",
"cc": [],
"content": "<p><code>^.?$|^(…+?)\\1+$</code></p>\n<details><summary><answer></summary><p>Matches strings of any character repeated a non-prime number of times\n</p></details>\n<p><a href=\"https://www.youtube.com/watch?v=5vbk0TwkokM\">www.youtube.com/watch?v=5vbk0TwkokM</a></p>\n",
"mediaType": "text/html",
"source": {
"content": "`^.?$|^(..+?)\\1+$`\n\n::: spoiler <answer>\nMatches strings of any character repeated a non-prime number of times\n:::\n\nhttps://www.youtube.com/watch?v=5vbk0TwkokM",
"mediaType": "text/markdown"
},
"attachment": [
{
"href": "https://lemmy.world/pictrs/image/1bcb365d-7f03-4efe-a6ff-ef1e60a13576.png",
"type": "Link"
}
],
"image": {
"type": "Image",
"url": "https://lemmy.world/pictrs/image/aba16d36-e3b1-4fca-9ea9-5c57b3b70475.png"
},
"commentsEnabled": true,
"sensitive": false,
"published": "2024-10-31T02:43:51.764415Z",
"updated": "2024-10-31T02:44:21.427164Z",
"audience": "https://lemmy.ml/c/programmerhumor"
}