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"
}
],
"id": "https://ruby.social/users/nick_evans/statuses/110226889588902172",
"type": "Note",
"summary": null,
"inReplyTo": null,
"published": "2023-04-19T18:27:37Z",
"url": "https://ruby.social/@nick_evans/110226889588902172",
"attributedTo": "https://ruby.social/users/nick_evans",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://ruby.social/users/nick_evans/followers"
],
"sensitive": false,
"atomUri": "https://ruby.social/users/nick_evans/statuses/110226889588902172",
"inReplyToAtomUri": null,
"conversation": "tag:ruby.social,2023-04-19:objectId=20663950:objectType=Conversation",
"content": "<p>I wrote a simple thing to collect most of the regexps defined in a module, to test them with ruby 3.2's `Regexp.linear_time?`. This could be useful for finding and preventing ReDoS vulnerabilities. In addition to consts it finds hard-coded regexp literals in method defs, even when dynamically defined with eval.<br /><a href=\"https://github.com/ruby/net-imap/blob/master/test/net/imap/regexp_collector.rb\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/ruby/net-imap/blob/</span><span class=\"invisible\">master/test/net/imap/regexp_collector.rb</span></a></p>",
"contentMap": {
"en": "<p>I wrote a simple thing to collect most of the regexps defined in a module, to test them with ruby 3.2's `Regexp.linear_time?`. This could be useful for finding and preventing ReDoS vulnerabilities. In addition to consts it finds hard-coded regexp literals in method defs, even when dynamically defined with eval.<br /><a href=\"https://github.com/ruby/net-imap/blob/master/test/net/imap/regexp_collector.rb\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/ruby/net-imap/blob/</span><span class=\"invisible\">master/test/net/imap/regexp_collector.rb</span></a></p>"
},
"attachment": [],
"tag": [],
"replies": {
"id": "https://ruby.social/users/nick_evans/statuses/110226889588902172/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://ruby.social/users/nick_evans/statuses/110226889588902172/replies?min_id=110226913806801341&page=true",
"partOf": "https://ruby.social/users/nick_evans/statuses/110226889588902172/replies",
"items": [
"https://ruby.social/users/nick_evans/statuses/110226913806801341"
]
}
},
"likes": {
"id": "https://ruby.social/users/nick_evans/statuses/110226889588902172/likes",
"type": "Collection",
"totalItems": 0
},
"shares": {
"id": "https://ruby.social/users/nick_evans/statuses/110226889588902172/shares",
"type": "Collection",
"totalItems": 0
}
}