danitrap / hn500-rs

Hacker News 500 Telegram Bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hacker News 500 Telegram Bot

This is a Rust program that fetches the top 500 stories from Hacker News and sends them to a Telegram chat.

It deduplicates the stories and only sends the new ones.

Written as a learning exercise.

Usage

  $ export TELEGRAM_BOT_TOKEN=your_token
  $ export TELEGRAM_CHAT_ID=your_chat_id
  $ docker build -t hn500 .
  $ docker run --name hn500 -e TELEGRAM_BOT_TOKEN -e TELEGRAM_CHAT_ID hn500

TODO

  • Add tests
  • Add CI
  • Add logging
  • Add Dockerfile
  • Add documentation

About

Hacker News 500 Telegram Bot

License:Other


Languages

Language:Rust 93.2%Language:Dockerfile 5.2%Language:Makefile 1.6%