{"repo":"snarfed/granary","free":true,"listed":false,"github":"https://github.com/snarfed/granary","clone":"git clone https://github.com/snarfed/granary.git","description":"💬 The social web translator","language":"Python","stars":517,"topics":["indieweb","activitypub","activitystreams","atom","converter","fediverse","feed","html","json","jsonfeed"],"license":"CC0-1.0","category":"api-integrations-sdks","readme_excerpt":"granary === The social web translator. Fetches and converts data between social networks, HTML with microformats2, mf2json, ActivityStreams/ActivityPub, Atom, JSON Feed, and more. About Using Using the REST API Using the library Troubleshooting/FAQ Future work Development Release instructions Related work Changelog About --- Granary is a library and REST API that fetches and converts between a wide variety of social data sources and formats: Facebook, Flickr, GitHub, Instagram, Mastodon, and Twitter native APIs Instagram and Facebook scraped HTML ActivityStreams 1.0 and 2.0 JSON, including ActivityPub HTML with microformats2 (e.g. h-entry , h-feed , h-card , h-event ), mf2json Atom, RSS 2.0, JSON Feed Plain XML Bluesky/AT Protocol Nostr, with many NIPs Farcaster Free yourself from silo API chaff and expose the sweet social data foodstuff inside in standard formats and protocols! Here's how to get started: Granary is available on PyPi. Install with pip install granary . Getting started docs. Reference docs. REST API and demo app at granary.io. Source code on GitHub. License: This project is placed in the public domain. You may also use it under the CC0 License. Using --- The library and REST API are both based on the OpenSocial Activity Streams service. Let's start with an example. This code using the library: is equivalent to this HTTP GET request: They return the authenticated user's Twitter stream, ie tweets from the people they follow. Here's the JSON output: The request p","default_branch":null,"files":null,"tree":[],"storefront":"/r/snarfed","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/snarfed/granary/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}