Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simplistic Hacker News (news.ycombinator.com) CLI.
Ruby
branch: master

v0.0.7

latest commit 7931fcf952
@bencevans authored
Failed to load latest commit information.
bin Add hidden link
lib v0.0.7
test Initial Commit
Gemfile HTTPS RubyGems Source
Gemfile.lock Bump versions in Gemfile.lock
LICENCE Added MIT Licence
README.md README Description
Rakefile Remove RDoc
example.gif Example.gif for README
hnews.gemspec Website

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.