Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simplistic Hacker News ( CLI.

branch: master


latest commit 7931fcf952
Ben Evans authored
Octocat-spinner-32 bin Add hidden link
Octocat-spinner-32 lib v0.0.7
Octocat-spinner-32 test Initial Commit
Octocat-spinner-32 Gemfile HTTPS RubyGems Source
Octocat-spinner-32 Gemfile.lock Bump versions in Gemfile.lock
Octocat-spinner-32 LICENCE Added MIT Licence
Octocat-spinner-32 README Description
Octocat-spinner-32 Rakefile Remove RDoc
Octocat-spinner-32 example.gif Example.gif for README
Octocat-spinner-32 hnews.gemspec

hnews - Hacker News CLI


View animated GIF example.


Requires Ruby/RubyGems. Then …

gem install hnews


hnews home - Lists Hacker News homepage items.

hnews new - Lists new Hacker News items.

hnews best - Lists best Hacker News items.

hnews open [itemNo] - Opens the selected item.


The Following may require this gem in order to complete authentication required tasks.

hnews comments [itemNo] - Open Hacker News Discussion/Comments Page.

hnews login - Login in order to upvote/comments etc.

hnews logout- Logout and remove any saved credentials.

hnews upvote [itemNo]- Upvote a particular item.


hnews comment [itemNo] [comment]- Comment on a particular item.


  • Fork the repository on GitHub
  • Create your feature branch (git checkout -b my-new-feature)
  • Stage your changes (git add .)
  • Commit your changes (git commit -m 'Added some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

Thank You Too...

forresty and hn contributors. hn is used to parse Hacker News pages.

Something went wrong with that request. Please try again.