Filtering Hot Questions from the StackExchange Network
The Stack Exchange network of sites receives a lot of activity everyday, and certain sites get rather interesting questions. These questions are classified as "Hot". This repository allows one to subscribe to a filtered feed of these hot questions. So you can receive these "hot" posts by email based on your interests. The official feed just dumps all the questions which might not be desired.
Usage
The server simply returns a feed, filtered based on the query parameters. You can use the version I am running on http://se-hnq.awalgarg.me, or run your own server (see instructions below).
You can filter the feed as follows:
http://se-hnq.awalgarg.me/?include=math
This returns a feed containing only hot questions from http://math.stackexchange.com. You can filter by tag as well:
http://se-hnq.awalgarg.me/?include=math:calculus,limits
This returns a feed containing only hot questions from Math.SE which
are tagged calculus or limits.
You can add multiple such rules separated by |:
http://se-hnq.awalgarg.me/?include=math:calculus,limits|codegolf
This returns questions from both codegolf and Math.SE with the specified tags.
The same can be applied in reverse as well, using the exclude parameter.
http://se-hnq.awalgarg.me/?include=scifi&exclude=scifi:star-wars
This returns only hot questions from SciFi.SE which are not tagged star-wars.
Setup
This is written in nim, and has no dependencies. Simply compile with:
nim c hnq.nim
And run the compiled executable, passing the port to run the server on as the first parameter.
./hnq 8081
Why nim?
Was just trying out the language. It seems quite nice.
Author
Awal Garg awalgarg@gmail.com, @awalgarg
This repo is released under WTFPL.