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", "https://social.vlhl.dev/schemas/litepub-0.1.jsonld", { "@language": "und" } ], "actor": "https://social.vlhl.dev/users/navi", "attachment": [], "attributedTo": "https://social.vlhl.dev/users/navi", "cc": [ "https://social.vlhl.dev/users/navi/followers" ], "content": "<p>okay it’s just a messed up macro:</p><pre><code>intptr_t http_listen(const char *port, const char *binding,\n struct http_settings_s);\n/** Listens to HTTP connections at the specified `port` and `binding`. */\n<a class=\"hashtag\" data-tag=\"define\" href=\"https://social.vlhl.dev/tag/define\" rel=\"tag ugc\">#define</a> http_listen(port, binding, ...) \\\n http_listen((port), (binding), (struct http_settings_s){__VA_ARGS__})\n</code></pre><p>i know this “looks cool” but please don’t do this on your api</p>", "contentMap": { "en": "<p>okay it’s just a messed up macro:</p><pre><code>intptr_t http_listen(const char *port, const char *binding,\n struct http_settings_s);\n/** Listens to HTTP connections at the specified `port` and `binding`. */\n<a class=\"hashtag\" data-tag=\"define\" href=\"https://social.vlhl.dev/tag/define\" rel=\"tag ugc\">#define</a> http_listen(port, binding, ...) \\\n http_listen((port), (binding), (struct http_settings_s){__VA_ARGS__})\n</code></pre><p>i know this “looks cool” but please don’t do this on your api</p>" }, "context": "https://social.vlhl.dev/contexts/85eac0ce-b17c-42a4-955c-6d3e805ee39d", "conversation": "https://social.vlhl.dev/contexts/85eac0ce-b17c-42a4-955c-6d3e805ee39d", "id": "https://social.vlhl.dev/objects/e957c07f-0baa-4527-be86-6b730c55145a", "inReplyTo": "https://social.vlhl.dev/objects/c5ba8449-86a7-4bf7-a3fd-bbca5bcb8aec", "published": "2024-11-24T21:26:34.165859Z", "sensitive": null, "source": { "content": "okay it's just a messed up macro:\r\n\r\n```c\r\nintptr_t http_listen(const char *port, const char *binding,\r\n struct http_settings_s);\r\n/** Listens to HTTP connections at the specified `port` and `binding`. */\r\n#define http_listen(port, binding, ...) \\\r\n http_listen((port), (binding), (struct http_settings_s){__VA_ARGS__})\r\n```\r\n\r\ni know this \"looks cool\" but please don't do this on your api", "mediaType": "text/markdown" }, "summary": "", "tag": [ { "href": "https://social.vlhl.dev/tags/define", "name": "#define", "type": "Hashtag" }, { "href": "https://social.vlhl.dev/users/navi", "name": "@navi", "type": "Mention" } ], "to": [ "https://social.vlhl.dev/users/navi", "https://www.w3.org/ns/activitystreams#Public" ], "type": "Note" }