ActivityPub is a decentralized social networking protocol standardized by the World Wide Web Consortium (W3C). It includes both an API for social networking clients and an API for server-server federation.
Just toying with the W3C ActivityStream specs, this project will probably end up in the bin like many others before
Lightweight Mastodon- and GNU social-compatible ActivityPub and OStatus server implementation