The WordPress ActivityPub plugin connects a WordPress site to the federated social web, allowing it to exchange posts with other servers.
granary
granary translates social web data between platforms, converting posts into formats that other services can consume.

About granary
Granary is an open source Python library and REST API that fetches social data and converts it between platform APIs and standard formats. Sources include Facebook, Flickr, GitHub, Instagram, Mastodon, and Twitter APIs, Facebook and Instagram scraped HTML, Bluesky/AT Protocol, Nostr, Farcaster, ActivityStreams 1.0 and 2.0 including ActivityPub, HTML with microformats2, mf2json, Atom, RSS 2.0, JSON Feed, and plain XML. It is installable from PyPI with pip install granary, and a REST API with demo app is available at granary.io.
Most Facebook requests and all Twitter, Instagram, and Flickr requests require OAuth access tokens, which are passed through to authorize requests to the source platforms. Requests use USER_ID, GROUP_ID, and APP_ID parameters, with paging via startIndex and count, and output is JSON Activity Streams 1.0 in an OpenSocial envelope.
Key features
- Fetches data from Facebook, Flickr, GitHub, Instagram, Mastodon, Twitter APIs
- Converts ActivityStreams 1.0 and 2.0 JSON including ActivityPub
- Parses HTML with microformats2 such as h-entry, h-feed, h-card
- Outputs Atom, RSS 2.0, and JSON Feed formats
- Supports Bluesky/AT Protocol, Nostr, and Farcaster
- Provides Python library and REST API with paging via startIndex and count
- Converts between platform APIs and standard formats such as ActivityStreams, Atom, and JSON Feed
- Usable as Python library from PyPI and as REST API
- Source code is in the public domain, also available under CC0
- Most Facebook requests and all Twitter, Instagram, and Flickr requests need OAuth access tokens
- The @friends group is currently identical to @all, and APP_ID is ignored
granary at a glance
- Website
- github.com/snarfed/granary
- Category
- Social & Communities › Fediverse
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
granary alternatives
Tools and sites you could use instead, ranked by how closely they match.
Run feedpushr, a feed aggregator daemon described as including additional convenience features.
Mastofeed embeds Mastodon posts and feeds in blogs, with a page for opting out of the service.
Fetch missing replies and posts from other Fediverse instances and add them to your Mastodon instance with FediFetcher.
PodcastAP helps fediverse users search for podcasts using a Mastodon or Pleroma account, with optional sign-in.
This directory introduces people and communities across the fediverse, guiding visitors through the open social web.
Popular in Fediverse
Well-known listings from the same topic.
granary FAQ
How do I install Granary as a library?
Do I need access tokens to fetch from some networks?
How is paging handled?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.











