COVID-19 Norge
(Preview)
Telegram bot for tracking live COVID-19 statistics in Norway.
The bot autoposts live COVID-19 updates to a group/channel/user of your choosing:
bot:
token: BOT_TOKEN
autopost:
chatid: CHAT_ID
Bot is live in this channel: COVID-19 Norge
- Live updates/events
- Tested
- Confirmed cases
- Deaths
- Admissions
- Respiratory
- Vaccine doses
- Smittestopp
- Graphs
- Tested
- Confirmed
- Dead
- Hospitalized
- Vaccine doses
- Smittestopp
- RSS
- News from FHI (Folkehelseinstituttet)
- News from the goverment (Regjeringen)
- /help - Show commands
- /stats - COVID-19 statistikk Norge
- /tested - Graf over testede i Norge
- /confirmed - Graf over smittede i Norge
- /dead - Graf over dødsfall i Norge
- /hospitalized - Graf over sykehusinnleggelser i Norge
- /vaccine - Graf over antall personer vaksinert i Norge
- /smittestopp - Graf over data fra Smittestopp
version: '3.4'
services:
bot:
container_name: covid19norge-telegram-bot
image: frefrik/covid19norge-telegram-bot
restart: unless-stopped
environment:
- TZ=Europe/Oslo
volumes:
- ./config:/app/bot/config
- ./data:/app/bot/data
$ mkdir -p config \
&& wget https://raw.githubusercontent.com/frefrik/covid19norge-telegram-bot/master/config/config.dist.yml -O config/config.yml
$ docker-compose up -d
$ git clone https://github.com/frefrik/covid19norge-telegram-bot.git
$ cd covid19norge-telegram-bot/
$ cd config/
$ cp config.dist.yml config.yml
$ docker-compose up -d
If config.yaml
is updated while bot is running, the container must be restarted to use the updated config.
$ docker restart covid19norge-telegram-bot
Use docker logs -f covid19norge-telegram-bot
to show informational logs.
$ pip install -r requirements.txt
$ cp config/config.dist.yml config/onfig.yml
$ screen -dmS covid19norge python bot.py
$ screen -r covid19norge
- github.com/frefrik/covid19norge-data accessed through covid19norge.no/api