Reddiflair
A Small Flair Grapher
Written by kir12
- What is Reddiflair?
Reddiflair is a small utility that generates a graph of a subreddit's flair usage which can answer flair-related questions like "Which flairs are the most popular?"
It works with pretty much any public subreddit that is actively flaired.
The project was built over the course of 4 days during Christmas 2019.
Warning: the website may not perform as well in post-heavy subreddits.
- Aren't there websites that already cover subreddit statistics?
Yep, there are! (Examples 1, 2, and 3)
This project would've never been started if any of them had flair statistics ... except none of them did, which is surprising.
Reddit's stupid decision to completely remove mass timestamp-based searching is probably why; hence,
this project exists to fill a void.
- How does this project work if time-based indexing is no longer supported?
Time-based indexing is (thankfully) in fact still supported by Pushshift, a third party Reddit API.
Their one restriction, however, is that all queries are limited to a max of 1000 posts.
For this reason, to survey a subreddit's entire post history for flairs as Reddiflair does, it'll query by every 1000 posts all the way back to the subreddit's first post.
It is, fundamentally, just a series of API calls, so a full server-based backend isn't necessary.
For those interested, the source code is located here.