Generating an RSS for AniList activities

Posted: | Updated: | Tags: project indieweb rss

After recently discovering Untappd’s RSS feed, I set out to find if AniList had the same hidden feature so I could ingest activity logs to the homepage of pesky.moe. After much searching I found that this wasn’t the case, but AniList did have a an open GraphQL API! I was able to use this to get my user’s activity and pass them along when generating my homepage.

This wasn’t enough. I have the urge to RSS all the things! I then set about creating an RSS feed from my users activity that I can fetch via the API. It wasn’t difficult given that I could reuse the code I had previously written both to fetch the activity and create RSS feeds from my other projects. Putting it all together I open-sourced the repository last weekend along with publishing the feed.

The Python script is able to take in a username from an environment variable along with other attributes and generate the feed from that and yes it does pass the W3C Feed Validation Service as a valid RSS feed. I’m sure there’s bugs in there waiting to be uncovered but feel free to use, modify and report any bugs found in the repository.

If generating and hosting your own feed is too much work, in my search, I discovered RSS for AniList a service that does this for you created by Mnpn. This is well worth the mention.


Update 2024-11-03: Added RSS tag and author to post.


Related ramblings