tools for the fediverse
Warning this is still experimental and APIs are expected to change a lot
This project houses the low-level interfaces to interact with the Fediverse. It aims to be
- buildless (ESM)
- isomorphic (run in browser and Node)
- typed (with JSDoc annotations and TS declarations)
Documentation will be lacking, so please refer to kotori for usage examples.
These are the main components. Please suggest more if you think they should be added.
ActivityPub (and ActivityStreams)
The core protocol for federated social networking. For a quick rundown, this highly opinionated guide to learning about ActivityPub is highly recommended.
Similar libraries
Some Well-known URIs have been defined for easy communication between services. The main ones are WebFinger (to lookup handles) and NodeInfo (server metadata).
To verify messages across services, HTTP requests are signed with keys.
Note There is some code for hs2019 but take note that it is not well supported