Home

Awesome

About

A Hacker News ncurses CLI reader written in Go. Currently known to work on Linux, and a few people have gotten it to work on OSX.

Right now it's able to view articles, view comments, and open a page in your default browser, all done directly from the site using goquery (jquery-like library for Go), goncurses, and xdg-open for opening pages.

Story view

Comment view

Installation

Assuming you have your GOPATH and PATH set appropriately:

Unfortunately, you'll also need mercurial installed, for packages hosted at code.google.com. If you're working with Go, you've probably already done that.

go get github.com/andrewstuart/hn

Usage

$ hn

Story view

Comments view

API (unfinished/deprecated/idk)

This basically only works for page 1 in its current state, IIRC.

$ hn -s -p 3000 & 

$ curl localhost:3000