granary
The social web translator

Fetches and converts data between social networks, HTML and JSON with microformats2, ActivityStreams 1 and 2 (including ActivityPub), Atom, RSS, JSON Feed, and more.

Try it below! Also see the docs and source code.


{% if access_token or access_token_key or access_token_secret or input or site or declined or error or failure %}

{% if declined or error %} Please accept the prompt to try the demo. {% endif %} {% if failure %} Error: {{ failure }} {% endif %} {% if entity %} Authenticated as {{ entity.user_display_name() }} on {{ entity.site_name() }}. {% endif %}

{% if entity or site %}

{% if site in ('mastodon', 'pixelfed') %} {% endif %} {% if site == 'nostr' %} {% endif %} {% if site != 'github' %} {% endif %} {% if site == 'facebook' %} {% elif site != 'github' %} {% endif %} ? & {% if site not in ('github', 'nostr') %}
  {% endif %} {% if access_token %} {% endif %} {% if access_token_key and access_token_secret %} {% endif %} {% if refresh_token %} {% endif %} {% if site == 'bluesky' %} {% endif %} {% if site == 'instagram' %} {% endif %}

{% endif %} {% if input %}

{% endif %}

{% else %}

The library also includes:

{% endif %}

This app does not store or use any data, yours or anyone else's. It only reformats data and passes it through in response to your own HTTP requests. Questions?