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",
"https://kfogel.org/schemas/litepub-0.1.jsonld",
{
"@language": "und"
}
],
"actor": "https://kfogel.org/users/kfogel",
"attachment": [],
"attributedTo": "https://kfogel.org/users/kfogel",
"cc": [
"https://kfogel.org/users/kfogel/followers"
],
"content": "<p>Fellow members of the Emacs Org Mode cult:</p><p>Is there a way to toggle visibility of a heading plus the entire subtree underneath it? For example, suppose I have this:</p><pre><code>* Fish\nSome text in Fish.\n** A Fish subheading\nBlah blah blah.\n* Broccoli\nSome text in Broccoli.\n** A Broccoli subheading\nEtc etc.\n* Molybdenum\nHi. My atomic number is 42.\n** A Molybdenum subheading\nSome text about the wondrous\nproperties of Molybdenum.\n</code></pre><p>Then I run some magical function <code class=\"inline\">(hide-top-level-trees-matching-re ".*Broccoli.*")</code>. Afterwards, although the buffer's text would be unmodified, I would <em>see</em> this...</p><pre><code>* Fish\nSome text in Fish.\n** A Fish subheading\nBlah blah blah.\n* Molybdenum\nHi. My atomic number is 42.\n** A Molybdenum subheading\nSome text about the wondrous\nproperties of Molybdenum.\n</code></pre><p>...and searches, etc, would behave accordingly: if I did an isearch for "Broccoli", I would not find any matches, etc.</p><p>I could probably implement this using the excellent <a href=\"https://github.com/vapniks/hide-lines\">hide-lines.el</a> package. But maybe Org Mode offers something like this already? I've been looking around the manual and elsewhere and haven't found it yet, though.</p><p><a class=\"hashtag\" data-tag=\"orgmode\" href=\"https://kfogel.org/tag/orgmode\">#OrgMode</a> <a class=\"hashtag\" data-tag=\"emacs\" href=\"https://kfogel.org/tag/emacs\">#Emacs</a> <a class=\"hashtag\" data-tag=\"dearlazyweb\" href=\"https://kfogel.org/tag/dearlazyweb\">#DearLazyWeb</a></p>",
"context": "https://kfogel.org/contexts/50f6f5af-f8db-4c07-8aa6-915c7d395b13",
"conversation": "https://kfogel.org/contexts/50f6f5af-f8db-4c07-8aa6-915c7d395b13",
"id": "https://kfogel.org/objects/fc3f0fe1-d68a-40ea-b8fd-9d6afbc127bc",
"published": "2025-06-23T18:58:08.438603Z",
"sensitive": null,
"source": {
"content": "Fellow members of the Emacs Org Mode cult:\r\n\r\nIs there a way to toggle visibility of a heading plus the entire subtree underneath it? For example, suppose I have this:\r\n\r\n```\r\n* Fish\r\nSome text in Fish.\r\n** A Fish subheading\r\nBlah blah blah.\r\n* Broccoli\r\nSome text in Broccoli.\r\n** A Broccoli subheading\r\nEtc etc.\r\n* Molybdenum\r\nHi. My atomic number is 42.\r\n** A Molybdenum subheading\r\nSome text about the wondrous\r\nproperties of Molybdenum.\r\n```\r\n\r\nThen I run some magical function `(hide-top-level-trees-matching-re \".*Broccoli.*\")`. Afterwards, although the buffer's text would be unmodified, I would *see* this...\r\n\r\n```\r\n* Fish\r\nSome text in Fish.\r\n** A Fish subheading\r\nBlah blah blah.\r\n* Molybdenum\r\nHi. My atomic number is 42.\r\n** A Molybdenum subheading\r\nSome text about the wondrous\r\nproperties of Molybdenum.\r\n```\r\n\r\n...and searches, etc, would behave accordingly: if I did an isearch for \"Broccoli\", I would not find any matches, etc.\r\n\r\nI could probably implement this using the excellent [hide-lines.el](https://github.com/vapniks/hide-lines) package. But maybe Org Mode offers something like this already? I've been looking around the manual and elsewhere and haven't found it yet, though.\r\n\r\n#OrgMode #Emacs #DearLazyWeb",
"mediaType": "text/markdown"
},
"summary": "",
"tag": [
{
"href": "https://kfogel.org/tags/dearlazyweb",
"name": "#dearlazyweb",
"type": "Hashtag"
},
{
"href": "https://kfogel.org/tags/emacs",
"name": "#emacs",
"type": "Hashtag"
},
{
"href": "https://kfogel.org/tags/orgmode",
"name": "#orgmode",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}