Why implementing ActivityPub is hard, and why it doesn't have to be

33 points by hongminhee


morj

This is why so many activitypub projects are forks of one another: it's easier to figure out someone else's approach than to code it all up yourself. What the author proposes is not so different from a usual fork of misskey or pleroma one would find in the wild: the library has its opinions and approaches and doesn't seem to give you much control. But at least it doesn't also force its UI on you, like forking a full server does

As a person also working on implementing AP, for me the hardest part is: there is no good way to use JSON-LD. If it were easy to convert to a canonical representation of an object, all the interactions would fall out of it. Using it as a real linked document is too inefficient, and using a document as a raw json means death by a million corner cases (so far I chose the approach two and died)