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.social/users/hugovk/statuses/109349647645794025/activity",
"type": "Create",
"actor": "https://mastodon.social/users/hugovk",
"published": "2022-11-15T20:13:27Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.social/users/hugovk/followers",
"https://fedi.simonwillison.net/users/simon",
"https://friend.camp/users/darius"
],
"object": {
"id": "https://mastodon.social/users/hugovk/statuses/109349647645794025",
"type": "Note",
"summary": null,
"inReplyTo": null,
"published": "2022-11-15T20:13:27Z",
"url": "https://mastodon.social/@hugovk/109349647645794025",
"attributedTo": "https://mastodon.social/users/hugovk",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.social/users/hugovk/followers",
"https://fedi.simonwillison.net/users/simon",
"https://friend.camp/users/darius"
],
"sensitive": false,
"atomUri": "https://mastodon.social/users/hugovk/statuses/109349647645794025",
"inReplyToAtomUri": null,
"conversation": "tag:mastodon.social,2022-11-15:objectId=333264757:objectType=Conversation",
"content": "<p>Following <span class=\"h-card\" translate=\"no\"><a href=\"https://fedi.simonwillison.net/@simon\" class=\"u-url mention\">@<span>simon</span></a></span>'s prompt to write about <a href=\"https://mastodon.social/tags/projects\" class=\"mention hashtag\" rel=\"tag\">#<span>projects</span></a>:</p><p><a href=\"https://mastodon.social/tags/NaNoGenMo\" class=\"mention hashtag\" rel=\"tag\">#<span>NaNoGenMo</span></a> or National Novel Generation Month is based on an idea <span class=\"h-card\" translate=\"no\"><a href=\"https://friend.camp/@darius\" class=\"u-url mention\">@<span>darius</span></a></span> tweeted on a whim:</p><p>"Hey, who wants to join me in NaNoGenMo: spend the month writing code that generates a 50k word novel, share the novel & the code at the end"</p><p><a href=\"https://github.com/NaNoGenMo/2022\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"\">github.com/NaNoGenMo/2022</span><span class=\"invisible\"></span></a></p><p>For the past few years I've been organising it and taking part, here's some of my silly entries:</p><p><a href=\"https://github.com/search?q=org%3Ananogenmo+org%3Adariusk+author%3Ahugovk+label%3Acompleted&type=issues&s=comments&o=desc\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/search?q=org%3Anano</span><span class=\"invisible\">genmo+org%3Adariusk+author%3Ahugovk+label%3Acompleted&type=issues&s=comments&o=desc</span></a></p><p>There's still plenty of November left to join in the fun!</p>",
"contentMap": {
"en": "<p>Following <span class=\"h-card\" translate=\"no\"><a href=\"https://fedi.simonwillison.net/@simon\" class=\"u-url mention\">@<span>simon</span></a></span>'s prompt to write about <a href=\"https://mastodon.social/tags/projects\" class=\"mention hashtag\" rel=\"tag\">#<span>projects</span></a>:</p><p><a href=\"https://mastodon.social/tags/NaNoGenMo\" class=\"mention hashtag\" rel=\"tag\">#<span>NaNoGenMo</span></a> or National Novel Generation Month is based on an idea <span class=\"h-card\" translate=\"no\"><a href=\"https://friend.camp/@darius\" class=\"u-url mention\">@<span>darius</span></a></span> tweeted on a whim:</p><p>"Hey, who wants to join me in NaNoGenMo: spend the month writing code that generates a 50k word novel, share the novel & the code at the end"</p><p><a href=\"https://github.com/NaNoGenMo/2022\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"\">github.com/NaNoGenMo/2022</span><span class=\"invisible\"></span></a></p><p>For the past few years I've been organising it and taking part, here's some of my silly entries:</p><p><a href=\"https://github.com/search?q=org%3Ananogenmo+org%3Adariusk+author%3Ahugovk+label%3Acompleted&type=issues&s=comments&o=desc\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/search?q=org%3Anano</span><span class=\"invisible\">genmo+org%3Adariusk+author%3Ahugovk+label%3Acompleted&type=issues&s=comments&o=desc</span></a></p><p>There's still plenty of November left to join in the fun!</p>"
},
"attachment": [
{
"type": "Document",
"mediaType": "image/png",
"url": "https://files.mastodon.social/media_attachments/files/109/349/558/814/999/670/original/39c725b2f86ca65c.png",
"name": "Tweet from Darius Kazemi:\n\n\"Hey, who wants to join me in NaNoGenMo: spend the month writing code that generates a 50k word novel, share the novel & the code at the end\"",
"blurhash": "U77-j8%FWGxb?dt0xboM8|oGt8WC4ot2xujG",
"focalPoint": [
-0.14,
0.52
],
"width": 1220,
"height": 694
},
{
"type": "Document",
"mediaType": "image/png",
"url": "https://files.mastodon.social/media_attachments/files/109/349/619/940/099/575/original/d964f5c7791d45be.png",
"name": "50,000 Meows\nThe rules say:\n\nThe \"novel\" is defined however you want. It could be 50,000 repetitions of the word \"meow\". It could literally grab a random novel from Project Gutenberg. It doesn't matter, as long as it's 50k+ words.\n\nWell, someone had better create 50,000 meows just to get it out of the way.\n\nBut this isn't just \"meow\" 50,000 times. meow.py replaces all words with a meow of the same length, keeping punctuation.\n\nMoby Dick begins:\n\nMeow me Meeeeow. Meow meoow mew--meeow meow mew meow meeeeeeow--meeoow\nmeeeow me me meoow me me meeow, mew meoooow meeeeeooow me meeeooow me me\nmeeow, M meeooow M meoow meow meoow m meooow mew mew mew meooow meow me\nmew meoow. Me me m mew M meow me meoooow mew mew meeeow mew meeeeeeeow\nmew meeooooooow. Meeeooow M meow meeoow meeeeow meow meoow mew meoow;\nmeeeeoow me me m meow, meoooow Meeeooow me me meow; meeoooow M meow\nmeooow meoooooooooow meoooow meeeow meeoow meeeeeooow, mew meeeeoow me\nmew meow me meeow meoooow M meow; mew meeeeeeoow meeeeeow me meeow mew\nmeow me meeow meow me me, meow me meeeeoow m meooow meeow meeeoooow me\nmeeooow me meow meooooooooow meeeeeow meow mew meeeow, mew meooooooooow\nmeeeeeow meeeow'm meow mew--meow, M meeeoow me meow meow me mew me mew\nme meow me M mew. Meow me me meeeeoooow mew meeoow mew meow. Meow m\nmeeeeeeeeooow meeeeoow Meow meeeow meoooow meow mew meoow; M meeooow\nmeow me mew meow. Meeow me meeooow meeeooooow me meow. ",
"blurhash": "U4SY{q00~qWB?bWBM{t7ayt7ofRjM{ofj[Rj",
"focalPoint": [
-0.11,
-0.64
],
"width": 944,
"height": 1398
},
{
"type": "Document",
"mediaType": "image/png",
"url": "https://files.mastodon.social/media_attachments/files/109/349/626/497/184/763/original/332e367107d7fe34.png",
"name": "This NaNoGenMo entry goes through a book, for example Moby Dick, checks each word in turn, finds another work using that word (from 600 Project Gutenberg texts), and adds that work as a citation for that single word throughout the original.\n\nThe shows the first page:\n\n\"Moby Dick by Herman Melville and\" then lists the 346 others.",
"blurhash": "UeNwWdj[00j[M{fQoffQIUfQj[fQt7fQayj[",
"focalPoint": [
0,
0
],
"width": 1176,
"height": 1529
},
{
"type": "Document",
"mediaType": "image/png",
"url": "https://files.mastodon.social/media_attachments/files/109/349/632/443/284/284/original/51a13df6318ca6d5.png",
"name": "The problem isn't generating over 50,000 words. The problem is existing books are too long. Pride and Prejudice is 130,000 words, Moby Dick is 215,136 words (or 215,136 meows). And we all know 50,000 is the gold standard for a novel! So how can we reduce the word count?\n\nRemove Project Gutenberg boilerplate\n\nUse contractions everywhere: \"won't\" instead of \"will not\", \"t'\" instead of \"the\"\n\nReplace \"and\" with a comma, \"or\" with a slash\n\nDelete parenthetical \"however\", \"indeed\" and \"I dare say\"\nRemove honorifics (Mr., Mrs., Miss, Dr.)\n\n'Substitute ‘damn’ every time you’re inclined to write ‘very’; your editor will delete it and the writing will be just as it should be.'\n\nReplace redundant phrases like \"whether or not\" with just \"whether\"\n\nThese tactics reduce Pride and Prejudice by about 15% to 111,000 words.\n\nNext we work out the ratio of words we have to 50k, count how many sentences we have, and work out how many sentences we want to approach 50k and use a text summariser to chop out the dead wood.\n\nThis image shows a diff between the original and the better version. It begins:\n\n'tis a truth universally acknowledged, that a single man in possession of a good fortune, must be in want of a wife. \n\nHowever little known t'feelings/views of such a man may be on his first entering a neighbourhood, this truth is so well fixed in t'minds of t'surrounding families, that he's considered t'rightful property of some one/other of their daughters.",
"blurhash": "UQP%3EVs4nSdxunPaekB0Jj?t7j]xYbaf+a#",
"focalPoint": [
0.02,
-0.05
],
"width": 1358,
"height": 1527
}
],
"tag": [
{
"type": "Mention",
"href": "https://fedi.simonwillison.net/users/simon",
"name": "@simon@simonwillison.net"
},
{
"type": "Mention",
"href": "https://friend.camp/users/darius",
"name": "@darius@friend.camp"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/projects",
"name": "#projects"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/nanogenmo",
"name": "#nanogenmo"
}
],
"replies": {
"id": "https://mastodon.social/users/hugovk/statuses/109349647645794025/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.social/users/hugovk/statuses/109349647645794025/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.social/users/hugovk/statuses/109349647645794025/replies",
"items": []
}
},
"likes": {
"id": "https://mastodon.social/users/hugovk/statuses/109349647645794025/likes",
"type": "Collection",
"totalItems": 11
},
"shares": {
"id": "https://mastodon.social/users/hugovk/statuses/109349647645794025/shares",
"type": "Collection",
"totalItems": 5
}
}
}