5 ms·
Some more background on what this is and why I built it here: https://eliot-jones.com/2020/1/hackernews-trends https://eliot-jones.com/2020/1/hackernews-trends
by UglyToad 7y ago
Some more background on what this is and why I built it here: https://eliot-jones.com/2020/1/hackernews-trends https://eliot-jones.com/2020/1/hackernews-trends
And the source code here: https://github.com/EliotJones/HnTrends https://github.com/EliotJones/HnTrends
As I mention in the blog post this is hosted on the lowest tier DO droplet so will probably fall over soon.
- alpb 7y agoHave you considered deploying to Google Cloud Run or something like that which charge you per-request rather than instance-hours?
- UglyToad 7y agoThat's a good idea. It's currently on the box I run my blog off so shouldn't be costing my anything at all (given I am paying for the blog hosting anyway) but it would be interesting to try.
- jcims 7y agoFWIW your cache appears to be case sensitive but searches aren't.
- UglyToad 7y agoGood spot, I'll fix it.
- dmje 7y agoThis is super cool and potentially really useful (and thanks for building it!) One q - I can't seem to click through to a specific date? Is this me missing something or you not making it available? Would seem the next obvious interaction?
- UglyToad 7y agoThanks, yeah this functionality doesn't exist at the moment (aggregation happens server side so the actual stories aren't available client side). You can however get the full data for a trend from the API endpoint (the front end doesn't use this endpoint but I added it since it's useful to check the actual data). Just replace 'rust' at the end with your search term: http://eliot-jones.com:5690/api/results/rust http://eliot-jones.com:5690/api/results/rust