A command line interface (CLI) for Hacker News that utilizes their official API and node.js.
The portion of the app that directly interfaces with the API has recently been split off into its own module. You can check it out here.
- Print out stories from HN feeds (top, new, ask, show, and job)
- View info for individual story specified by ID
- View stories by headline only or with verbosity
- Display url for a specified post
- Save/load HN stories to/from favourites, which are stored as a local JSON state in program's directory
- Print out list of stories that have been favourited
Clone the repository with:
git clone https://github.com/Coteh/hacka-news-cli
Then to install all the dependencies, run:
npm install
- Error comments are unorganized
- No unit/integration testing
- Filter feed results by tags or url
- Open browser window for story
- Story caching: Save stories from feeds to cache
- Render HTML page for stories
- Save to Pocket integration