https://github.com/walkr/hn
read HN from the command line
https://github.com/walkr/hn
Last synced: about 2 months ago
JSON representation
read HN from the command line
- Host: GitHub
- URL: https://github.com/walkr/hn
- Owner: walkr
- License: mit
- Created: 2015-05-15T23:40:58.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-02T01:28:06.000Z (almost 10 years ago)
- Last Synced: 2025-03-29T08:17:34.763Z (3 months ago)
- Language: Python
- Homepage:
- Size: 134 KB
- Stars: 15
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
hn
=========
read HN from the command line[](https://travis-ci.org/walkr/hn)

**Features**
* Modular, "daemon" + ctl
* Daemon can watch for regexes in stories and trigger notifications (currently broken on OSX) or do any other type of work### Install
```shell
$ make install
```### Usage
1. Start the daemon
2. Use the command line interface```shell
# Start the daemon
$ hnd# OR start the daemon with a config file (see example config file)
$ hnd --config hn/hn.conf# Use the command line interface
$ hnctl
ctl >
ctl > top # show top stories
ctl > new # show new stories
ctl > ask # show ask stories
ctl > jobs # show jobs stories
ctl > show # show "show hn" storiesctl > ping # ping HN site
ctl > open 1 # open story <1> in browser
ctl > user pg # show user
ctl > help # show help
ctl > help user # show help for command
ctl > quit # quit# You can also invoke a command directly w/o the loop
$ hnctl top
$ hnctl open 1
```MIT Licensed