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://witter.cz/users/vyskocilm/statuses/113027369434881572",
"type": "Note",
"summary": null,
"inReplyTo": null,
"published": "2024-08-26T08:26:28Z",
"url": "https://witter.cz/@vyskocilm/113027369434881572",
"attributedTo": "https://witter.cz/users/vyskocilm",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://witter.cz/users/vyskocilm/followers"
],
"sensitive": false,
"atomUri": "https://witter.cz/users/vyskocilm/statuses/113027369434881572",
"inReplyToAtomUri": null,
"conversation": "tag:witter.cz,2024-08-26:objectId=13369863:objectType=Conversation",
"content": "<p>Display syntax highlighted SQL in Go.</p><p>Finally took a time to check neovim treesitter and.</p><p>You should install printf, comment, re2c and regex languages in treesitter config. You'll get the tresitter for Printf and regexes.</p><p>With a help of ray-x/go.vim and existing injections.scm for Go and a bit of a black magic .. et voilà!</p><p>Added a proper query: <a href=\"https://codeberg.org/vyskocilm/gists/src/branch/main/2024/go-treesitter-sql-injection.scm\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">codeberg.org/vyskocilm/gists/s</span><span class=\"invisible\">rc/branch/main/2024/go-treesitter-sql-injection.scm</span></a></p><p><a href=\"https://witter.cz/tags/neovim\" class=\"mention hashtag\" rel=\"tag\">#<span>neovim</span></a> <a href=\"https://witter.cz/tags/tresitter\" class=\"mention hashtag\" rel=\"tag\">#<span>tresitter</span></a> <a href=\"https://witter.cz/tags/golang\" class=\"mention hashtag\" rel=\"tag\">#<span>golang</span></a> <a href=\"https://witter.cz/tags/sql\" class=\"mention hashtag\" rel=\"tag\">#<span>sql</span></a></p>",
"contentMap": {
"en": "<p>Display syntax highlighted SQL in Go.</p><p>Finally took a time to check neovim treesitter and.</p><p>You should install printf, comment, re2c and regex languages in treesitter config. You'll get the tresitter for Printf and regexes.</p><p>With a help of ray-x/go.vim and existing injections.scm for Go and a bit of a black magic .. et voilà!</p><p>Added a proper query: <a href=\"https://codeberg.org/vyskocilm/gists/src/branch/main/2024/go-treesitter-sql-injection.scm\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">codeberg.org/vyskocilm/gists/s</span><span class=\"invisible\">rc/branch/main/2024/go-treesitter-sql-injection.scm</span></a></p><p><a href=\"https://witter.cz/tags/neovim\" class=\"mention hashtag\" rel=\"tag\">#<span>neovim</span></a> <a href=\"https://witter.cz/tags/tresitter\" class=\"mention hashtag\" rel=\"tag\">#<span>tresitter</span></a> <a href=\"https://witter.cz/tags/golang\" class=\"mention hashtag\" rel=\"tag\">#<span>golang</span></a> <a href=\"https://witter.cz/tags/sql\" class=\"mention hashtag\" rel=\"tag\">#<span>sql</span></a></p>"
},
"updated": "2024-08-26T19:15:59Z",
"attachment": [
{
"type": "Document",
"mediaType": "image/png",
"url": "https://witter.cz/system/media_attachments/files/113/027/353/957/665/703/original/8275d626ba6e4171.png",
"name": "Neovim displaying an SQL string embedded in Go's db.Query. Upper part displays the SQL string properly highlighted. The lower one has the SQL higlighting disabled.",
"blurhash": "U26*H$~BjeRVxGocWoah56IoNGNa%Gs.WES2",
"focalPoint": [
0,
0
],
"width": 1166,
"height": 506
}
],
"tag": [
{
"type": "Hashtag",
"href": "https://witter.cz/tags/neovim",
"name": "#neovim"
},
{
"type": "Hashtag",
"href": "https://witter.cz/tags/tresitter",
"name": "#tresitter"
},
{
"type": "Hashtag",
"href": "https://witter.cz/tags/golang",
"name": "#golang"
},
{
"type": "Hashtag",
"href": "https://witter.cz/tags/sql",
"name": "#sql"
}
],
"replies": {
"id": "https://witter.cz/users/vyskocilm/statuses/113027369434881572/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://witter.cz/users/vyskocilm/statuses/113027369434881572/replies?only_other_accounts=true&page=true",
"partOf": "https://witter.cz/users/vyskocilm/statuses/113027369434881572/replies",
"items": []
}
},
"likes": {
"id": "https://witter.cz/users/vyskocilm/statuses/113027369434881572/likes",
"type": "Collection",
"totalItems": 4
},
"shares": {
"id": "https://witter.cz/users/vyskocilm/statuses/113027369434881572/shares",
"type": "Collection",
"totalItems": 2
}
}