Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simplistic Hacker News (news.ycombinator.com) CLI.

branch: master

v0.0.7

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.md README Description
Octocat-spinner-32 Rakefile Remove RDoc
Octocat-spinner-32 example.gif Example.gif for README
Octocat-spinner-32 hnews.gemspec
README.md

hnews - Hacker News CLI

Example

View animated GIF example.

Installation

Requires Ruby/RubyGems. Then …

gem install hnews

Commands

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.

Planned

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.

Posibility

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

Contributing

  • 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.