I have wanted to learn more about the reddit.com PRAW API, so I decided to do this project over the weekend. I sometimes find myself following interesting stories or watching a soccer game and wanting to read all the new reddit comments as they come in. However, with standard reddit in a browser that would require sorting by new and refreshing the page every few seconds.
Instead, I developed a command line tool and interface for live streaming reddit comments from any subreddit. All you have to do is sign up for the PRAW API, clone my github repository, make your own credentials.json file, and launch with
python redditstream-cli.py -s soccer
Here is an extra demo of what it looks like in action!
If you want to help out with this project or have suggestions/requests for features let me know, or feel free to help over in the github repo.
I eventually want to make it more interactive, to allow you to change the subreddit or filter out certain submissions. So far I would consider this the alpha version.
Until next time,