5 ms·
Show HN: Hacker News CLI, written in Go
- Zikes 12y agoLooks like it's off to a good start! Some colors & lines would go a ways towards making it a bit more usable. I'm looking forward to diving into the code later this evening.
- andrewstuart2 12y agoThanks! I'll try to put in a bit more work on the UI front. I look forward to any more feedback you have.
- Zikes 12y agoIndentation would make it easier to read the comments structure, especially if each indent had a line or block down the left margin.
- yakshemash 12y agoLive links would also be nice, though it defeats somehow the original purpose of shunning the browser.
- clockworkelf 12y agoAren't these Go stories more or less geek masturbation? Yeah Go is probably amazing but beyond HN hasn't much mindshare.
- andrewstuart2 12y agoAs a warning for any who choose to hack on this, cloudflare gets a bit upset if you query too often, resulting in a period of sadness. It's probably a good sign I should be doing unit testing.
- omribahumi 12y agoThanks for goquery! didn't know about it :) https://github.com/PuerkitoBio/goquery https://github.com/PuerkitoBio/goquery
- elithrar 12y agoNeat stuff! You should consider building some binaries and making them available via GitHub's releases feature: being able to ship just binaries is a big plus for Go ;)
- andrewstuart2 12y agoSweet, and done. I had no idea GitHub has that as a feature.
- kibibu 12y agoBrings it up to feature parity with SourceForge circa 1999 ;)
- terrymooreii 12y agobut without all the ads.
- pablasso 12y agoYou may want to point that the binary is for Linux.
- aktau 12y agoBtw, I made something that's supposed to make this process easier (and done from the command line, har har): https://github.com/aktau/github-release https://github.com/aktau/github-release Also written in Go, of course...
- skwuent 12y agoNice! Maybe this can be made to use stdout so I can grep -v raises.*eries and other money talk...
- jawerty 12y agoThis has the right words to make it to the front page...jk I love it. I made something like this for reddit a while ago; I really enjoy stuff like this. It allows you to stay within the terminal rather than keeping the browser open at all times.
- cnbuff410 12y agoDoes it only work for Linux? I could not go get it under MacOs.
- billhathaway 12y agoLooks like the goncurses dependency requires some help to run on OSX: https://code.google.com/p/goncurses/wiki/KnownIssues https://code.google.com/p/goncurses/wiki/KnownIssues
- terrymooreii 12y agoI did something similar a few months back but in NodeJS. https://github.com/TerryMooreII/HackerNode https://github.com/TerryMooreII/HackerNode
- grunz 12y agoPlease make a plugin for xiki.org
- rly_ItsMe 12y agoA 7,9 MB binary to read HN? Just for the sake of using go? Are you kidding me? I'll rather stay with my old python one: https://pypi.python.org/pypi/hacker-top/1.0 https://pypi.python.org/pypi/hacker-top/1.0
- drtse4 12y agoTry compiling it with gccgo that is able to dynamically link the go standard library (shared among your go projects) instead of building a single big binary, my guess is it should be just a few hundred kb :)
- rly_ItsMe 12y agoI did not compiled it by my self - I've just grabbed the binary provided by OP.
- 4ad 12y agoDo you object to the hundreds of megabytes of your browser's code and dependant libraries too? Or since you brought up Python, why don't you object to the size of python's libraries and binaries? 7.9MB is nothing.
- rly_ItsMe 12y agoValid Point. Or not? It took a bit longer but I wrote a bit about here: https://news.ycombinator.com/item?id=8119322 https://news.ycombinator.com/item?id=8119322