Simple Telegram bot that takes the data from JHU CSSE COVID-19 repo and sends it to a Telegram channel or group
Removed mention of covid19api from README
Error message in case of a country missing from the data


browse  log 



You can also use your local clone with git send-email.

#Coronavirus stats bot for Telegram

Simple Ruby bot for fetching the data from JHU CSSE COVID-19 Repo and pushing to a specified Telegram group or channel.

Stores previous data in previous.json for comparison and to ignore the data that has not changed.

Build status: builds.sr.ht status


Check out the supplied config.example.yml for the configuration file format.

What you'll need:

  • A country code of the country you're interested in,
  • Telegram bot API Key, to be obtained on Telegram using the @BotFather bot,
  • A group or a channel where the messages will be posted


ruby bot.rb path/to/config.yml path/to/previous.json