Forage: a self-hosted, ranked feed for Mastodon
I’ve been a real fan of FediAlgo for some time. It gives you a fully customisable algorithm to catch up with your Mastodon feed. During busy times, I’ve often preferred to scroll through it rather than attempt to catch up with everything I’ve missed on my home timeline, which fills with many hundreds of posts per day.
But there is one problem with it: it’s slow. As everything happens in the browser when you open the page, it can take several minutes to fetch and rank content.
So I’ve built an app that does this server-side, and called it Forage. Processed images │ 52
What is Forage?
Forage takes your Mastodon home timeline, plus whatever’s trending on the servers of the people you follow, and ranks it based on what matters to you. That might be the accounts you interact with most, hashtags you care about, how popular or how recent a post is, or whether you’ve already seen it. You can tweak the weights and filters to your liking, and the feed re-ranks as you go.
Because it all runs on a server, Forage keeps fetching and ranking in the background, so when you open it, your feed is already there waiting for you. I’ve also made it installable as a PWA on your phone, and it’ll show you the last feed it fetched even when you’re offline.

The ranking itself is all done by fedialgo by michelcrypt4d4mus (originally written by pkreissel). Forage started out as a fork of fedialgo’s browser demo, and I’ve essentially moved the ranking from the browser onto a server, and given the frontend a fresh lick of paint.
Limitations
I think there are three big limitations to Forage:
Firstly, it’s meant to supplement your main Mastodon app, not replace it. It’s primarily designed for reading. Replying, composing new posts, and following or muting someone are all possible, but the composer is basic (no alt text editing for images, for example), and searching and browsing hashtags are very limited. There are no notifications, and no blocking or reporting.
Secondly, it’s single user only. Partly that’s architectural: fedialgo holds its state in a singleton, so supporting multiple users would mean running one engine process per user, which would be hugely wasteful. But it’s also deliberate: I don’t want to be responsible for other people’s Mastodon tokens in an app I can’t fully vouch for. So you’ll have to run your own instance on your own server.
Which brings me to the third point: it’s largely vibe coded. I’ve been using it daily for about 10 days, so expect rough edges. I haven’t reviewed every line, and it holds an access token for your Mastodon account. I know many people have problems with that, and if that’s you, this app probably isn’t for you.
How to run it
As mentioned above, for now you’ll have to run your own instance. The easiest route is Docker: the image is hosted at code.thms.uk/michael/forage, and there’s a sample docker-compose.yml in the repo.
For full details, see the Forage repo on Forgejo.
Conclusion
Forage has become my go-to way of catching up on Mastodon after a busy few days, alongside my regular app. If you give it a try, I’d love to hear how you get on: give me a shout on Mastodon at @[email protected].