command module
v0.0.0-...-bbdca4e Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2017 License: MIT Imports: 12 Imported by: 0



Build Status Go Report Card codecov

A Golang CLI to browser news from Hacker News and Reddit
Also is a Golang implementation of the awesome pynews-cli.


Get this project and install via go get -u.

$ go get -u github.com/drgarcia1986/gonews

Or you can download a binary on releases.

Usage example

To get the last 10 new stories just call gonews on command line and press Enter on the news wanted.

You can determine the number max of news to return with parameter --limit and you can also choose between new or top stories with parameter --type.

$ gonews --limit 20 --type top

By default gonews use hackernews as provider, but you can change the provider with parameter --provider, e.g:

$ gonews --provider reddit-golang --type new --limit 10

For more information about usage, use command gonews --help

$ gonews --help
  -limit int
        Number of Stories to get (default 10)
  -provider string
        Stories Provider (hackernews, reddit, reddit-<subreddit>) (default "hackernews")
  -type string
        Stories Type ('new' or 'top') (default "top")


This is a toy project to help me to pratice Golang, if you can help me with this, getting in touch 😄.


The Go Gopher

There is no documentation for this package.


Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL