Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mtharrison/hackernews
A command line tool to print out the latest posts on Hacker News to your terminal.
https://github.com/mtharrison/hackernews
Last synced: 23 days ago
JSON representation
A command line tool to print out the latest posts on Hacker News to your terminal.
- Host: GitHub
- URL: https://github.com/mtharrison/hackernews
- Owner: mtharrison
- Created: 2013-10-23T17:57:38.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-16T17:11:45.000Z (almost 9 years ago)
- Last Synced: 2024-04-23T01:02:38.870Z (7 months ago)
- Language: JavaScript
- Size: 1.17 MB
- Stars: 50
- Watchers: 2
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hackernews - hackernews cli - Print out the latest posts to your terminal. `no license` (Clients / CLI & TUI)
README
hackernews cli
==========###A command line tool to print out the latest posts on Hacker News to your terminal.
---
If you're anything like me, you visit Hacker news at least 4 times a day and you spend a lot of time in the terminal.
I usually open the Hacker News site in my browser and decide if any of the headlines catch my attention, I thought it would be cool if I could see a summary of the new featured posts in my terminal and only open them in a browser if I wanted to read them, so I made this simple tool.
![Preview](http://s3-eu-west-1.amazonaws.com/matt-github/hn.png)
##Installation
Before installation you will need node/npm installed.
sudo npm install -g hacker-news-cli
##UsageThe global installation will symlink an executable script and place it in your PATH. To use with hacker news simply type:
hn
or for designer news:dn
You will then be prompted to open a post. Type the number of the post to open a post or type 0 to quit and return to your terminal session.##Version history
0.1.0 - `stephenway` added dn command
0.2.0 - Support for Windows and Linux added, `mkozakov` added input validation