ActivityPub Viewer

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.

Open in browser →
{ "@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/anatudor/statuses/112435568084097010", "type": "Note", "summary": null, "inReplyTo": null, "published": "2024-05-13T20:03:36Z", "url": "https://mastodon.social/@anatudor/112435568084097010", "attributedTo": "https://mastodon.social/users/anatudor", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://mastodon.social/users/anatudor/followers" ], "sensitive": false, "atomUri": "https://mastodon.social/users/anatudor/statuses/112435568084097010", "inReplyToAtomUri": null, "conversation": "tag:mastodon.social,2024-05-13:objectId=706695871:objectType=Conversation", "content": "<p><a href=\"https://mastodon.social/tags/tinySVGtip\" class=\"mention hashtag\" rel=\"tag\">#<span>tinySVGtip</span></a> How do you create an *inset* shadow on an `img` element?</p><p>You might think inset `box-shadow`, but it doesn&#39;t work! Really, there are tons of articles &amp; questions on StackOveflow on this very topic.</p><p>SVG filters to the rescue for an elegant solution! </p><p>✨ offset &amp; blur image<br />✨ subtract it out of original image alpha ⇒ get black inner shadow<br />✨ paint it 🍊<br />✨ place it on top of img</p><p><a href=\"https://mastodon.social/tags/SVG\" class=\"mention hashtag\" rel=\"tag\">#<span>SVG</span></a> <a href=\"https://mastodon.social/tags/filter\" class=\"mention hashtag\" rel=\"tag\">#<span>filter</span></a> <a href=\"https://mastodon.social/tags/inset\" class=\"mention hashtag\" rel=\"tag\">#<span>inset</span></a> <a href=\"https://mastodon.social/tags/shadow\" class=\"mention hashtag\" rel=\"tag\">#<span>shadow</span></a> <a href=\"https://mastodon.social/tags/image\" class=\"mention hashtag\" rel=\"tag\">#<span>image</span></a> <a href=\"https://mastodon.social/tags/svgFilter\" class=\"mention hashtag\" rel=\"tag\">#<span>svgFilter</span></a> <a href=\"https://mastodon.social/tags/code\" class=\"mention hashtag\" rel=\"tag\">#<span>code</span></a> <a href=\"https://mastodon.social/tags/coding\" class=\"mention hashtag\" rel=\"tag\">#<span>coding</span></a> <a href=\"https://mastodon.social/tags/frontend\" class=\"mention hashtag\" rel=\"tag\">#<span>frontend</span></a> <a href=\"https://mastodon.social/tags/webDev\" class=\"mention hashtag\" rel=\"tag\">#<span>webDev</span></a> <a href=\"https://mastodon.social/tags/webDevelopment\" class=\"mention hashtag\" rel=\"tag\">#<span>webDevelopment</span></a></p>", "contentMap": { "en": "<p><a href=\"https://mastodon.social/tags/tinySVGtip\" class=\"mention hashtag\" rel=\"tag\">#<span>tinySVGtip</span></a> How do you create an *inset* shadow on an `img` element?</p><p>You might think inset `box-shadow`, but it doesn&#39;t work! Really, there are tons of articles &amp; questions on StackOveflow on this very topic.</p><p>SVG filters to the rescue for an elegant solution! </p><p>✨ offset &amp; blur image<br />✨ subtract it out of original image alpha ⇒ get black inner shadow<br />✨ paint it 🍊<br />✨ place it on top of img</p><p><a href=\"https://mastodon.social/tags/SVG\" class=\"mention hashtag\" rel=\"tag\">#<span>SVG</span></a> <a href=\"https://mastodon.social/tags/filter\" class=\"mention hashtag\" rel=\"tag\">#<span>filter</span></a> <a href=\"https://mastodon.social/tags/inset\" class=\"mention hashtag\" rel=\"tag\">#<span>inset</span></a> <a href=\"https://mastodon.social/tags/shadow\" class=\"mention hashtag\" rel=\"tag\">#<span>shadow</span></a> <a href=\"https://mastodon.social/tags/image\" class=\"mention hashtag\" rel=\"tag\">#<span>image</span></a> <a href=\"https://mastodon.social/tags/svgFilter\" class=\"mention hashtag\" rel=\"tag\">#<span>svgFilter</span></a> <a href=\"https://mastodon.social/tags/code\" class=\"mention hashtag\" rel=\"tag\">#<span>code</span></a> <a href=\"https://mastodon.social/tags/coding\" class=\"mention hashtag\" rel=\"tag\">#<span>coding</span></a> <a href=\"https://mastodon.social/tags/frontend\" class=\"mention hashtag\" rel=\"tag\">#<span>frontend</span></a> <a href=\"https://mastodon.social/tags/webDev\" class=\"mention hashtag\" rel=\"tag\">#<span>webDev</span></a> <a href=\"https://mastodon.social/tags/webDevelopment\" class=\"mention hashtag\" rel=\"tag\">#<span>webDevelopment</span></a></p>" }, "attachment": [ { "type": "Document", "mediaType": "video/mp4", "url": "https://files.mastodon.social/media_attachments/files/112/435/540/945/967/048/original/25b6832dc38ab27b.mp4", "name": "Quick step by step guide to creating an inset shadow on an img element\nIllustrating the 5 simple steps:\n✨ offset initial image\n✨ blur it\n✨ subtract it out of initial image alpha to get a black inset shadow\n✨ paint it orange\n✨ put it on top of the initial image", "blurhash": "UKBpeDbHazMx01oet7xu~qayRjRjf6j[t7kC", "focalPoint": [ 0, 0 ], "width": 676, "height": 810 } ], "tag": [ { "type": "Hashtag", "href": "https://mastodon.social/tags/tinySVGtip", "name": "#tinySVGtip" }, { "type": "Hashtag", "href": "https://mastodon.social/tags/svg", "name": "#svg" }, { "type": "Hashtag", "href": "https://mastodon.social/tags/filter", "name": "#filter" }, { "type": "Hashtag", "href": "https://mastodon.social/tags/inset", "name": "#inset" }, { "type": "Hashtag", "href": "https://mastodon.social/tags/shadow", "name": "#shadow" }, { "type": "Hashtag", "href": "https://mastodon.social/tags/image", "name": "#image" }, { "type": "Hashtag", "href": "https://mastodon.social/tags/SVGFilter", "name": "#SVGFilter" }, { "type": "Hashtag", "href": "https://mastodon.social/tags/code", "name": "#code" }, { "type": "Hashtag", "href": "https://mastodon.social/tags/coding", "name": "#coding" }, { "type": "Hashtag", "href": "https://mastodon.social/tags/frontend", "name": "#frontend" }, { "type": "Hashtag", "href": "https://mastodon.social/tags/webdev", "name": "#webdev" }, { "type": "Hashtag", "href": "https://mastodon.social/tags/webdevelopment", "name": "#webdevelopment" } ], "replies": { "id": "https://mastodon.social/users/anatudor/statuses/112435568084097010/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://mastodon.social/users/anatudor/statuses/112435568084097010/replies?min_id=112438315795798719&page=true", "partOf": "https://mastodon.social/users/anatudor/statuses/112435568084097010/replies", "items": [ "https://mastodon.social/users/anatudor/statuses/112438315795798719" ] } }, "likes": { "id": "https://mastodon.social/users/anatudor/statuses/112435568084097010/likes", "type": "Collection", "totalItems": 20 }, "shares": { "id": "https://mastodon.social/users/anatudor/statuses/112435568084097010/shares", "type": "Collection", "totalItems": 9 } }