Skip to content

Instantly share code, notes, and snippets.

@rmdes
Last active March 15, 2026 17:10
Show Gist options
  • Select an option

  • Save rmdes/36f6884fcfecd94bdc076298609f3022 to your computer and use it in GitHub Desktop.

Select an option

Save rmdes/36f6884fcfecd94bdc076298609f3022 to your computer and use it in GitHub Desktop.
Fedify AP JSON-LD Indiekit
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1",
"https://w3id.org/security/data-integrity/v1",
"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/multikey/v1",
{
"alsoKnownAs": {
"@id": "as:alsoKnownAs",
"@type": "@id"
},
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
"movedTo": {
"@id": "as:movedTo",
"@type": "@id"
},
"toot": "http://joinmastodon.org/ns#",
"Emoji": "toot:Emoji",
"featured": {
"@id": "toot:featured",
"@type": "@id"
},
"featuredTags": {
"@id": "toot:featuredTags",
"@type": "@id"
},
"discoverable": "toot:discoverable",
"suspended": "toot:suspended",
"memorial": "toot:memorial",
"indexable": "toot:indexable",
"schema": "http://schema.org#",
"PropertyValue": "schema:PropertyValue",
"value": "schema:value",
"misskey": "https://misskey-hub.net/ns#",
"_misskey_followedMessage": "misskey:_misskey_followedMessage",
"isCat": "misskey:isCat"
}
],
"id": "https://rmendes.net/activitypub/users/rick",
"type": "Person",
"featured": "https://rmendes.net/activitypub/users/rick/featured",
"featuredTags": "https://rmendes.net/activitypub/users/rick/tags",
"inbox": "https://rmendes.net/activitypub/users/rick/inbox",
"assertionMethod": [
{
"id": "https://rmendes.net/activitypub/users/rick#main-key",
"type": "Multikey",
"controller": "https://rmendes.net/activitypub/users/rick",
"publicKeyMultibase": "z4MXj1wBzi9jUstyQRiHv1WDYj5owNaBpvTaEToDruss3SpBruRWtwPbkUv2zKmntchdDcte4x3vafHNocgWRJLhmWVBkMz7wMZeSWzsqv6t1Jf9FMsLzrecyFhHaiHGeBQ3wKwVQDxaFPeMqNGedYMhFHg3Q6gC1M9SsSPz4Q6ddGEaQwpTktEVu13wbP6v8ZG76ZBrWqhpkn9QuRwj7q9U6rpkonfEZ6i7Y9seXMLCNz7Yj5DW8Tzu3JiHSBmBfQf9pTfxjpsZ2vG77KCDiNL7afW7dNDyeCWTSXkxQQyj169wAx3RYTfZaGpDZo99r7noZYC7NTmpuTNhfGQ4U2Jma64m8NKVoZLELb7FKf7WgoHhKANxG"
},
{
"id": "https://rmendes.net/activitypub/users/rick#key-2",
"type": "Multikey",
"controller": "https://rmendes.net/activitypub/users/rick",
"publicKeyMultibase": "z6MkojLA1LyNELPLYzg9TEkNSJCeUNqWsDa1ykCrd66PW9p8"
}
],
"publicKey": {
"id": "https://rmendes.net/activitypub/users/rick#main-key",
"type": "CryptographicKey",
"owner": "https://rmendes.net/activitypub/users/rick",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4F2MDzCr5lYiI9LSFpf4\nsysMIQK63Po5FkVPKzfQSdxHJjYEFqniKRHa+gpQzg0aadSWMIsBbZWvVKypKZZR\nd3g3LDvtV6zyCOdQ0XUxp4ggYmvj22VcdZkyeygMSxkl9D8zr6U5TzAEfPYBMUMx\nwruTUAAFpyLQTCQmSCcMllxlPvgeHCF54VYg8QArTvvYz9G7IMsjR1OWM1AAg2Iy\n1UevOPBLVdSt2SBYf1GccsLjHEwgPTFT2iBtE2FTwlVgthOpEG5imB1Up0G1gZtA\nA5RCG1nR9ymRCFpDfg5Awtx+vtNCQ64guM1yjMeKEk7KJoULWqF2O+iEzvyR/BPq\n8QIDAQAB\n-----END PUBLIC KEY-----\n"
},
"attachment": [
{
"type": "PropertyValue",
"value": "<a href=\"https://rmendes.net/\" rel=\"me\">https://rmendes.net/</a>",
"name": "Website"
},
{
"type": "PropertyValue",
"value": "<a href=\"https://rmendes.net/activitypub/users/rick\" rel=\"me\">https://rmendes.net/activitypub/users/rick</a>",
"name": "Fediverse"
}
],
"endpoints": {
"type": "as:Endpoints",
"sharedInbox": "https://rmendes.net/activitypub/inbox"
},
"followers": "https://rmendes.net/activitypub/users/rick/followers",
"following": "https://rmendes.net/activitypub/users/rick/following",
"icon": {
"type": "Image",
"mediaType": "image/jpeg",
"url": "https://rmendes.net/images/rick.jpg"
},
"image": {
"type": "Image",
"mediaType": "image/jpeg",
"url": "https://rmendes.net/media/photos/2026/02/22/header.jpg"
},
"liked": "https://rmendes.net/activitypub/users/rick/liked",
"manuallyApprovesFollowers": false,
"name": "Ricardo",
"outbox": "https://rmendes.net/activitypub/users/rick/outbox",
"preferredUsername": "rick",
"published": "2026-02-19T11:05:24.135Z",
"summary": "Just moved to my own indiekit-activitypub implementation, I'm a one-person AP server\r\nPassionné par l'information, la démocratie, la justice et le discernement.\r\nPassionate about information systems, democracy, justice and discernment\r\n\r\n\r\n#introduction\r\n\r\nHi, I'm a middleware engineer passionate about all things #selfhosting #indieweb #fediverse #politics #democracy #news #tech\r\n#arch #regolith #lotr #books #SF #hyprland\r\nMatrix: rick:rmendes.net 🗨️",
"url": "https://rmendes.net/"
}
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Create",
"actor": "https://rmendes.net/activitypub/users/rick",
"object": {
"type": "Note",
"id": "https://rmendes.net/notes/2026/03/15/fbb7d",
"attributedTo": "https://rmendes.net/activitypub/users/rick",
"published": "2026-03-15T12:23:59.198Z",
"url": "https://rmendes.net/notes/2026/03/15/fbb7d",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://rmendes.net/activitypub/users/rick/followers"
],
"content": "<p>If you see this post, please interact with it with a reply or like, I will then be able to retrieve your interaction to my blog/AP fedify instance and then I will test replying to your reply to demo threaded reply backfilled to my site<br>\nYou can also comment using IndieAuth/indieweb if your site support it !</p><p>🔗 <a href=\"https://rmendes.net/notes/2026/03/15/fbb7d\">https://rmendes.net/notes/2026/03/15/fbb7d</a></p>",
"tag": [
{
"type": "Hashtag",
"name": "#Test",
"href": "https://rmendes.net/categories/Test"
},
{
"type": "Hashtag",
"name": "#Fedify",
"href": "https://rmendes.net/categories/Fedify"
},
{
"type": "Hashtag",
"name": "#Indiekit",
"href": "https://rmendes.net/categories/Indiekit"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment