Skip to content

stunnel/stacker-news-top

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stacker-news-top

Telegram bot that posts new hot stories from Stacker News to telegram channel

Telegram API

Bot uses Telegram Bot API to post messages to the telegram channel with sendMessage request

How to run your own stacker-news-top

  • Clone this project
  • Run pip3 install -r requirements.txt to install dependencies
  • Create your bot via BotFather
  • Rename conf/config-sample.yaml to conf/config.yaml and
    • set db_type to sqlite or redis
    • replace tg_chat_id with your channel/chat/group id
    • replace tg_token with your bot token
    • you can also change the db_name, redis_url, log_name and log_file
  • Run python3 app.py in the project folder
  • Use misc/stackernews.service to run the bot as a service

Stacker News Trending Channel

Link to join the channel: https://t.me/stackernewstop

About

A bot that gets the top topics from Stacker News and sends them via Telegram.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages