Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 739 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 739 Bytes

hn-telegram

A Telegram bot that sends notifications on Hacker News stories that reach 200 upvotes or 200 comments.

Screenshot

Usage

  1. Create a bot using BotFather
  2. Install hn-telegram, execute it, and send a message to the bot to retrieve your channel ID:
    $ cargo install --git https://github.com/cpg314/hn-telegram
    $ hn-telegram --token XXX
  3. Execute hn-telegram again with your channel ID:
    $ hn-telegram --token XXX --id YYY
    

By default, notifications are send every 15 minutes. This can be customized with the --schedule flag.