Skip to content
Turns Mastodon Atom feeds into reformatted JSON Feeds, inspired by micro.blog
Ruby HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Gemfile
Gemfile.lock
config.ru
fetcher.rb
generator.rb
index.html
readme.md
server.rb
strip_heredoc.rb

readme.md

Mastodon Feed Converter

Turns Mastodon Atom feeds into reformatted JSON Feeds, inspired by micro.blog

Features

The feeds created by this service have the following changes:

  • Titles are omitted—a status is just a body
  • If there is a Content Warning on the status, that becomes the title
  • Reposts are presented Tumblr-style, with the author's name followed by the original post in a blockquote
  • Images are included in the post body

Instructions

You can convert an existing Atom feed provided by Mastodon into a converted JSON feed by passing it as a source query parameter to feed.json:

http://mastodon-feed-converter.johnholdun.com/feed.json?source=https://mastodon.social/users/johnholdun.atom

You can subscribe directly to that feed in your feed reader. Every time your reader requests it, it will fetch that latest version of the source feed and convert it on the fly.

Hosting it yourself

I make no guarantees that this service will remain functional, but I can tell you that I use it personally to read statuses from Mastodon users, so it will probably remain functional for a while. If you're interested in a more self-sufficient approach, this repo can be pushed to Heroku or any other server and work without any special configuration.

Issues

It's not perfect, and some content doesn't show up correctly. Check this project's GitHub Issues and submit a new issue if you've noticed something that hasn't already been reported. (You're also welcome to try fixing it yourself and submitting a pull request!)

Who did this?

I did. I'm John Holdun.

Why isn't this a PR against Mastodon?

While I think these changes satisfy a very general use case, they seem too drastically different from the existing Mastodon feeds. A very brief browse of existing conversations about RSS and Atom feeds in Mastodon suggested that pitching this as an official enhancement would not be a good use of anyone's time.

That said, if you have an idea for how to make this official, or you're interested in a patch for your own installation of Mastodon, let me know! Maybe I can help you make it happen.

You can’t perform that action at this time.