Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wcarhart/lurker

Hacker News terminal client
https://github.com/wcarhart/lurker

bash cli hacker-news ycombinator

Last synced: 3 months ago
JSON representation

Hacker News terminal client

Awesome Lists containing this project

README

        

lurker logo

lurker


Hacker News terminal client

### Overview
Lurker is a simple terminal client for reading [Hacker News](https://news.ycombinator.com/), written entirely in bash.

### Documentation
Please visit the [documentation site](https://willcarhart.dev/docs/lurker) for full documentation.

### Install
Install with [Homebrew](https://brew.sh):
```bash
brew install wcarhart/tools/lurker
```

Or, download or clone this repository and run:
```bash
./lurker
```

### Examples
Read Hacker News headlines...

![lurker demo 1](https://i.imgur.com/v6kNmTb.png)

Read comments for a specific post...

![lurker demo 2](https://i.imgur.com/n68f059.png)

### Available commands
```
> help
Available commands:
help - show this help menu
read - open the comment thread for post ID
open - open the URL for the post ID in your default browser (only available on macOS)
copy - copy the URL for the post ID to the clipboard (only available on macOS)
hack - open the Hacker News link for the post ID in your default browser (only available on macOS)
smoosh - summarize (smoosh) the content from the URL for post ID (only available on macOS)
user - show info for user ID
- get info for post ID
more - show the next 10 posts (up to 500)
less - show the previous 10 posts
back - show the previous list of posts again
refresh - refresh the master post list, which will reset the ordering of posts
clear - clear the screen
exit - quit lurker
```
Learn more about [smoosh](https://github.com/wcarhart/smoosh).