| Crates.io | watchhn |
| lib.rs | watchhn |
| version | 0.1.0 |
| created_at | 2020-07-19 14:44:51.003453+00 |
| updated_at | 2020-07-19 14:44:51.003453+00 |
| description | Watch hackernews for new comments and keywords |
| homepage | https://github.com/monokh/watchhn |
| repository | https://github.com/monokh/watchhn |
| max_upload_size | |
| id | 266877 |
| size | 57,540 |
CLI tool (Rust) to watch hackernews for new comments and keywords
Supports output to console and notification to slack.
cargo install watchhn
Download (mac & windows)
watchhn post https://news.ycombinator.com/item?id=23796580 --slack-webhook <optional slack webhook url>
keywords rust bitcoin GPT-3 --new --slack-webhook <optional slack webhook url>
-i, --interval <SECONDS> Time in seconds to wait between each check [default: 10]
-s, --slack-webhook <HOOK URL> Slack webhook url to send notifications
watchhn postWatches a post for new comments. First indexes the post to save current comments, then watches for new comments anywhere in the hierarchy.
<link> Link to the HN post to watch
Example: watchhn post https://news.ycombinator.com/item?id=23796580
watchhn keywordsWatches top, new or both HN index page for posts containing any of a given set of keywords
-n, --new Include new stories
-t, --top Include top stories
-l, --limit <limit> Limit the number of posts to check for each kind (new and top) [default: 40]