Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HN Watcher

Watch a Hacker News story for new comments and send Pushover notifications when replies appear.

Setup

  1. Copy the sample environment file:

    cp .env.sample .env
  2. Fill in your values in .env:

    • HN_STORY_ID: the Hacker News story id to watch
    • PUSHOVER_APP_TOKEN: your Pushover application token
    • PUSHOVER_USER_KEY: your Pushover user key
  3. Install dependencies:

    pnpm install
  4. Start the watcher:

    pnpm start

You can also pass the story id as the first command-line argument instead of using HN_STORY_ID.

Notes

  • The script seeds the existing comment tree first, then watches for new comments.
  • A startup Pushover message is sent to confirm notifications are working.

About

Watch a Hacker News story for new comments and send Pushover notifications when replies appear.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages