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",
"blurhash": "toot:blurhash",
"focalPoint": {
"@container": "@list",
"@id": "toot:focalPoint"
},
"Hashtag": "as:Hashtag"
}
],
"id": "https://functional.cafe/users/thattommyhall/statuses/113578339505593705",
"type": "Note",
"summary": null,
"inReplyTo": null,
"published": "2024-12-01T15:45:24Z",
"url": "https://functional.cafe/@thattommyhall/113578339505593705",
"attributedTo": "https://functional.cafe/users/thattommyhall",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://functional.cafe/users/thattommyhall/followers"
],
"sensitive": false,
"atomUri": "https://functional.cafe/users/thattommyhall/statuses/113578339505593705",
"inReplyToAtomUri": null,
"conversation": "tag:functional.cafe,2024-12-01:objectId=45281045:objectType=Conversation",
"content": "<p>I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 <a href=\"https://functional.cafe/tags/AdventOfCode\" class=\"mention hashtag\" rel=\"tag\">#<span>AdventOfCode</span></a> in <a href=\"https://functional.cafe/tags/JuliaLang\" class=\"mention hashtag\" rel=\"tag\">#<span>JuliaLang</span></a> <a href=\"https://adventofcode.com/2024/day/1\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"\">adventofcode.com/2024/day/1</span><span class=\"invisible\"></span></a></p>",
"contentMap": {
"en": "<p>I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 <a href=\"https://functional.cafe/tags/AdventOfCode\" class=\"mention hashtag\" rel=\"tag\">#<span>AdventOfCode</span></a> in <a href=\"https://functional.cafe/tags/JuliaLang\" class=\"mention hashtag\" rel=\"tag\">#<span>JuliaLang</span></a> <a href=\"https://adventofcode.com/2024/day/1\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"\">adventofcode.com/2024/day/1</span><span class=\"invisible\"></span></a></p>"
},
"attachment": [
{
"type": "Document",
"mediaType": "image/png",
"url": "https://functional.cafe/system/media_attachments/files/113/578/338/737/739/197/original/b7b19f844bb3f685.png",
"name": "input = get_numbers.(readlines(\"1a.txt\"))\ninput = reduce(hcat, input)'\n\n# part 1\nl = input[:, 1]\nr = input[:, 2]\nsum(abs.(sort(l) .- sort(r)))\n\n# part 2\ncounts = DefaultDict(0, countmap(r))\nreduce(+, [el * counts[el] for el ∈ l])",
"blurhash": "U25E:H_4oHtRScxHoxni_3M#M_xtSiaPk7s.",
"focalPoint": [
0,
0
],
"width": 629,
"height": 384
}
],
"tag": [
{
"type": "Hashtag",
"href": "https://functional.cafe/tags/adventofcode",
"name": "#adventofcode"
},
{
"type": "Hashtag",
"href": "https://functional.cafe/tags/julialang",
"name": "#julialang"
}
],
"replies": {
"id": "https://functional.cafe/users/thattommyhall/statuses/113578339505593705/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://functional.cafe/users/thattommyhall/statuses/113578339505593705/replies?min_id=113580043760878955&page=true",
"partOf": "https://functional.cafe/users/thattommyhall/statuses/113578339505593705/replies",
"items": [
"https://functional.cafe/users/thattommyhall/statuses/113580043760878955"
]
}
},
"likes": {
"id": "https://functional.cafe/users/thattommyhall/statuses/113578339505593705/likes",
"type": "Collection",
"totalItems": 9
},
"shares": {
"id": "https://functional.cafe/users/thattommyhall/statuses/113578339505593705/shares",
"type": "Collection",
"totalItems": 1
}
}