Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 473 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 473 Bytes

hacker-news

Searches the top stories on Hacker News and outputs the title and link that match a regular expression.

Installation

go get github.com/coyle/hacker-news

Dependencies

go get github.com/fatih/color

Run

go run main.go

optional flags:

-regexp="regexp to match on stories"

Ex. go run main.go -regexp=[Nn]ode(.js)?

On a Mac you can CMD+click to open a URL from the terminal