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", "Hashtag": "as:Hashtag" } ], "id": "https://mastodon.xyz/users/shaun/statuses/109684223860298016", "type": "Note", "summary": null, "inReplyTo": "https://mastodon.xyz/users/shaun/statuses/109684199328835464", "published": "2023-01-13T22:20:35Z", "url": "https://mastodon.xyz/@shaun/109684223860298016", "attributedTo": "https://mastodon.xyz/users/shaun", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://mastodon.xyz/users/shaun/followers" ], "sensitive": false, "atomUri": "https://mastodon.xyz/users/shaun/statuses/109684223860298016", "inReplyToAtomUri": "https://mastodon.xyz/users/shaun/statuses/109684199328835464", "conversation": "tag:mastodon.xyz,2023-01-13:objectId=112373855:objectType=Conversation", "content": "<p>In doing so, I learned how to get_url the newest release of a GitHub project via <a href=\"https://mastodon.xyz/tags/Ansible\" class=\"mention hashtag\" rel=\"tag\">#<span>Ansible</span></a> (if the repo does releases).</p><p>Here&#39;s <a href=\"https://mastodon.xyz/tags/cURL\" class=\"mention hashtag\" rel=\"tag\">#<span>cURL</span></a> for example:</p><p>- name: Download the latest cURL distribution<br /> ansible.builtin.get_url:<br /> url: &quot;{{ lookup(&#39;url&#39;, &#39;https://api​​.github​.​​com/repos/curl/curl/releases/latest&#39;, split_lines=false) | regex_search(&#39;browser_download_url.*(https://(.*?).tar.gz)&#39;, &#39;\\\\1&#39;) | first }}&quot;<br /> dest: &#39;{{ build_directory }}/curl-latest.tar.gz&#39;</p><p>Caveat: no checksum parameter...</p>", "contentMap": { "en": "<p>In doing so, I learned how to get_url the newest release of a GitHub project via <a href=\"https://mastodon.xyz/tags/Ansible\" class=\"mention hashtag\" rel=\"tag\">#<span>Ansible</span></a> (if the repo does releases).</p><p>Here&#39;s <a href=\"https://mastodon.xyz/tags/cURL\" class=\"mention hashtag\" rel=\"tag\">#<span>cURL</span></a> for example:</p><p>- name: Download the latest cURL distribution<br /> ansible.builtin.get_url:<br /> url: &quot;{{ lookup(&#39;url&#39;, &#39;https://api​​.github​.​​com/repos/curl/curl/releases/latest&#39;, split_lines=false) | regex_search(&#39;browser_download_url.*(https://(.*?).tar.gz)&#39;, &#39;\\\\1&#39;) | first }}&quot;<br /> dest: &#39;{{ build_directory }}/curl-latest.tar.gz&#39;</p><p>Caveat: no checksum parameter...</p>" }, "attachment": [], "tag": [ { "type": "Hashtag", "href": "https://mastodon.xyz/tags/ansible", "name": "#ansible" }, { "type": "Hashtag", "href": "https://mastodon.xyz/tags/curl", "name": "#curl" } ], "replies": { "id": "https://mastodon.xyz/users/shaun/statuses/109684223860298016/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://mastodon.xyz/users/shaun/statuses/109684223860298016/replies?min_id=112621550940176106&page=true", "partOf": "https://mastodon.xyz/users/shaun/statuses/109684223860298016/replies", "items": [ "https://mastodon.xyz/users/shaun/statuses/112621550940176106" ] } }, "likes": { "id": "https://mastodon.xyz/users/shaun/statuses/109684223860298016/likes", "type": "Collection", "totalItems": 6 }, "shares": { "id": "https://mastodon.xyz/users/shaun/statuses/109684223860298016/shares", "type": "Collection", "totalItems": 2 } }