Fediverse and Bluesky
Federating with Pixelfed
Pixelfed is a good neighbour on the fediverse: a home for pictures, with its
own ways of reading what is sent to it. This page is how to better
communicate with it: what it receives from this server and how it shows it,
what it sends here, and how this server meets it. It is read from Pixelfed's
own code (its dev branch at 665d9f9cc, 2026-12-05), not from its
documentation, and wants reading again when Pixelfed makes a release.
Federation is how this server federates in general.
How Pixelfed shows what is sent
Pixelfed is a home for pictures, and shows what belongs there: picture posts and the conversations under them.
| Sent from here | On Pixelfed |
|---|---|
A photo post (a Note with pictures) |
Shown |
| A reply to a post Pixelfed has | Shown, under that post |
| A note with no pictures that replies to nothing | Not shown: it is not a picture post |
An article (Article), an event or anything else that is not a Note |
Not shown: Pixelfed shows notes |
A poll (Question) |
Shown when Pixelfed fetches it, not when it is sent |
| A direct note, to people only | Kept as a direct message |
A new post that is not a reply is kept when its author has a follower on
that Pixelfed server, or when its administrator chose to keep everything
(store_notes_without_followers). Pixelfed answers every delivery
kindly either way, so when somebody asks why a post is not there, these
are the first things to look at.
Signatures
- What Pixelfed reads: draft-cavage and RFC 9421 (HTTP Message
Signatures).
- For draft-cavage,
Datemust be within a day either way. - For RFC 9421,
createdmay be at most 12 hours old, with an hour of skew.@methodand@target-urimust be covered, and on a POSTcontent-digesttoo.
- For draft-cavage,
- The signer is the sender. The
keyId, the activity'sidand itsactormust all be on one host. When the object carries anattributedTo, that is on the same host too. The key's owner must be theactorexactly. - Keys. The profile's
publicKey.idmust be on its own host. Multikeys inassertionMethodare read whencontrolleris the profile'sidand the key'sidis thatidwith a fragment. - What Pixelfed signs with: draft-cavage and rsa-sha256 by default. A
POST is signed over
(request-target) host date digest, a GET over(request-target) host date. - RFC 9421 only after hearing it. Pixelfed switches a host to RFC 9421 once it has had an RFC 9421 signature from that host, and remembers it for 30 days. After a 400 or 401 it tries the other format. A server that signs only draft-cavage is answered in draft-cavage.
- Fetches are signed by Pixelfed's own server profile, at
/i/actor.
What Pixelfed asks of this server
- One Accept header:
Accept: application/activity+json, alone. What it asks for has to come back as JSON for that header. - The answer's type must be
application/activity+json, orapplication/ld+json; profile="https://www.w3.org/ns/activitystreams". Those are the types it reads. - Redirects are followed one at a time and each is checked. Only https addresses on public hosts are fetched.
- JSON at most 8 levels deep. Pixelfed reads JSON with a depth limit of 8; an activity nested deeper is one it cannot read.
Profiles
-
Needed:
idandinbox, on one host;preferredUsername; andpublicKey.publicKeyPem. -
The username may hold letters, digits,
_,.and-only. A profile whose name holds anything else cannot be shown there. -
manuallyApprovesFollowersmust be said. Left out, Pixelfed takes the profile to approve its followers, as a private profile does. -
Also read:
summary,name,icon,indexable(false when left out),endpoints.sharedInbox,outbox,followersandmovedTo. -
An
Updateof a profile is taken only when all of these are in it, all on the profile's own host:id(the same as theactor),url,inbox,outbox,followingandfollowers;publicKey.id, andpublicKey.owner(the same as theactor);preferredUsernameandmanuallyApprovesFollowers;summaryandname, which may benullbut must be there.
An
iconis anImagewhosemediaTypeis a JPEG, a PNG, a GIF or a WebP. Without any one of these, Pixelfed keeps the profile as it last knew it. -
The handle. Pixelfed asks the profile's own host, by WebFinger, for
acct:<name>@<that host>. Asubjecton another domain is taken only when that domain's WebFinger names the same profileid; otherwise the person is shown as@<name>@<that host>.
Posts
-
Whose a post is. A delivered post is kept as sent only when its
attributedTois exactly theactor(a string, or a list holding aPersonwith thatid), and itsidis on the actor's host. Otherwise Pixelfed fetches it by itsid. -
Who may see it is read from
toandcc, and only the full addresshttps://www.w3.org/ns/activitystreams#Publiccounts;as:PublicandPublicdo not, and make the post one for followers.Public is in The post is toPublic ccUnlisted Both Unlisted Neither, but a followers collection is For followers Neither, and people only A direct message -
Needed:
publishedandto. A post withouttois not shown. -
The words are cleaned down to
a,p,spanandbr. -
A content warning is
sensitive: truewith the warning insummary.commentsEnabled: falsecloses a post to comments. -
How a picture was taken (FEP-ee3a, on Pixelfed's newer branch): an attachment's
exifData, a list of{name, value}. Only the camera, the lens, the settings, the date and the software are kept: at most 64 items, 128 characters each. -
Changes and deletions. An
Updateof a post is taken from its author only, and replaces its words. ADeleteis taken only for a post Pixelfed already has.
Pictures
Pixelfed shows a post's pictures together, so each of them needs to be one it can show, or the post is not shown:
typeisImageorDocument, orVideowhere the administrator allows MP4;urlis an address, as a plain string, not aLinkobject;mediaTypeis one the server allows, which unless its administrator changes it isimage/jpeg,image/jpg,image/pngandimage/gifonly: a WebP is not among them;widthandheight, when given, are each from 1 to 5000;blurhash, when given, is 6 to 164 characters long.
name is the picture's description.
Follows, likes, reposts and the rest
| Activity | How Pixelfed receives it |
|---|---|
Follow |
object as an address |
Accept |
object as an address, or the Follow with its id and type; if it also has actor and object, that object is the one accepting |
Reject |
object as the whole Follow, with id, actor and object |
Like |
object as an address only: not a post written out in full. A post for followers takes likes from followers only; a direct one takes none |
Announce (repost) |
object as an address only |
Undo |
object written out, with its type (Announce, Block, Follow or Like); an address alone is not understood. An undone repost is found by its object, so the Announce inside carries the post it reposted |
Delete |
object written out with its id and its type (Tombstone, Person or Story), on the actor's host; an address alone is not understood, except object the same as actor, which deletes the profile |
Move |
object and target as addresses |
Pixelfed also receives Flag, Block, Add, View, QuoteRequest
(FEP-044f), FeatureRequest, and its own stories (Story:Reaction,
Story:Reply).
What Pixelfed sends here
- Its posts are
Notes with pictures, alocation(aPlace) when its author placed it, andexifDatawith how a picture was taken (see Posts going out and Posts coming in). - Its collections of a profile's posts, followers and following give
counts only (
totalItems), no items. - Followers synchronization (FEP-8fcf): Pixelfed sends the
Collection-Synchronizationheader and serves/users/<name>/followers_synchronization, narrowed to the followers on the asking server. - Quote authorizations (FEP-044f) are at
/users/<name>/quote_authorizations/<id>.
How this server meets Pixelfed
| What helps Pixelfed | This server |
|---|---|
Signed draft-cavage over (request-target) host date digest |
✅ httpsig.Sign |
| Pixelfed's own signatures read | ✅ draft-cavage, which Pixelfed sends unless it hears RFC 9421 from here |
| Signed fetches | ✅ |
| Ids without a fragment, served where they point | ✅ /ap/notes/<uuid> |
| The full Public address | ✅ ap.Public |
manuallyApprovesFollowers always said |
✅ |
Like and Announce with an address |
✅ |
Undo of a like with the Like written out |
✅ |
Undo of a repost carrying the post it reposted |
✅ NewUndoAnnounce, from activitypub_objects.reposted, kept when the repost went out. A repost sent before 2026-12-05 is undone without it, and stays on Pixelfed |
Delete with a Tombstone |
✅ |
A profile Update Pixelfed can receive |
➖ summary and name are always said, empty or not; but url is the web app's page, on another host than the profile's id wherever the web app and the API have hosts of their own, so Pixelfed keeps the profile as it last knew it. Left so on 2026-12-05: everywhere else a profile's link leads straight to its page, with no redirect |
| Pictures in JPEG or PNG | Mostly: a picture with something see-through kept as a WebP goes as a WebP, and its post is not shown on a Pixelfed that has not allowed WebP |
| JSON at most 8 deep | ✅ |
| Text notes and articles | ➖ Pixelfed is a home for pictures and does not show them: its own choice, and a fair one |
From anahitasocial/anahita-services, 2026-12-05.
Written by Claude, reviewed by Rastin Mehr · About this