This is a great hack, but a terribly dangerous idea. I have trouble enough avoiding HN when I open a browser... now the thing is looming over me at all times. Sorry, I don't have the willpower for this.
It actually has a better influence on me. I don't worry about opening it on the browser all the time. And somehow, I don't click the button as often as I used to open the HN homepage.
I'm going to try this, I think it will actually HELP. I always find myself mindlessly ctrl+t and typing news..<enter> when I open a new browser window.
Update: If the app isn't starting any more because of a JSON error, its because the API I am using just crossed its Rate Limit. (https://github.com/cheeaun/node-hnapi). I'm working to fix it as soon as I can.
@cheeaun promised me on twitter that the rate limit is per-IP, and I've since implemented fallback servers (same as hackerweb) so this shouldn't be an issue any more. Plus setting up a local instance would make things unnecessarily complicated (nodejs and all that)
I hope there are options to follow /newest. There are many great stories that never make it to the front page. But I have to (lightly) disagree with swalsh's apprehension. This will quadruple the time spent on my actual work since I can quickly scan the headlines and go back without having to open a window.
Thanks for open sourcing it. It'd be neat to replicate this idea for other sites I might frequent. I'm already having enough trouble trying to stay away from HN on the browser. Heh.
EDIT: Popping up an entire webview from Tray doesn't seem to be easy. But creating a menu is very easy. I might do a simple clone of hackertray to Windows :)