back

fe

activitypub extension providing useful fields to implement frontends, quite useless for federation

all these fields should only be shown to logged in local users

this is a draft, expect changes!

namespaces

abbreviated prefix full IRI
as https://www.w3.org/ns/activitystreams/#
xsd https://www.w3.org/TR/xmlschema11-2/#
fe https://ns.alemi.dev/as/fe/#

fe:notifications 🔗

this field should contain a Collection of activities which directly interacted with the owning Actor, such as likes or replies.

this collection should only be visible to local user owning this actor once authenticated.

while it should be possible to embed this field, it is probably a better choice to just put a link to the Collection itself.

fe:followingMe 🔗

is true if actor is following local user

fe:followedByMe 🔗

is true if actor is followed by local user

example

{
	"@context": [
		"https://www.w3.org/ns/activitystreams",
		{
			"fe": "https://ns.alemi.dev/as/fe/#",
			"followingMe": "fe:followingMe",
			"followedByMe": "fe:followedByMe",
			"notifications": "fe:notifications"
		}
	],
	"id": "https://example.net/users/actor",
	"following": "https://example.net/users/actor/following",
	"followers": "https://example.net/users/actor/followers",
	"inbox": "https://example.net/users/actor/inbox",
	"outbox": "https://example.net/users/actor/outbox",
	"notifications": "https://example.net/users/actor/notifications",
	"name": "Test Actor",
	"summary": "manually generated actor",
	"preferredUsername": "actor",
	"followingMe": true,
	"followedByMe": false,
	"type": "Person"
}
		

fe:likedByMe 🔗

is true if object has been liked by local user

example

{
	"@context": [
		"https://www.w3.org/ns/activitystreams",
		{
			"fe": "https://ns.alemi.dev/as/fe/#",
			"likedByMe": "fe:likedByMe"
		}
	],
	"id": "https://example.net/objects/1",
	"attributedTo": "https://example.net/users/actor",
	"summary": "my first post",
	"content": "Hello world!",
	"published": "2024-05-01T21:27:57.704282Z"
	"likedByMe": true,
	"type": "Note"
}
		

fe:seen 🔗

is true if notifications generated by this activity have been seen by local user