Skip to content

A matrix bot that pulls data for COVID-19 from covid2019-api.herokuapp.com

License

Notifications You must be signed in to change notification settings

p0457/matrix-bot-covid19

Repository files navigation

matrix-bot-covid19

A matrix bot that pulls data for COVID-19 from covid-api.com

Usage

  1. Invite bot to a private room
  2. Send a message !covid19 help to view commands

Building your own

Note: You'll need to have access to an account that the bot can use to get the access token.

  1. Clone this repository
  2. npm install
  3. npm run build
  4. Copy config/default.yaml to config/production.yaml
  5. Run the bot with NODE_ENV=production node lib/index.js

Docker

A Dockerfile and docker-compose are provided.

Build the docker image:
`docker build -t matrix-bot-covid19 .`

Build the docker image and run docker-compose to deploy to your server:
`docker build -t matrix-bot-covid19 . && docker-compose run matrix-bot-covid19`

About

A matrix bot that pulls data for COVID-19 from covid2019-api.herokuapp.com

Topics

Resources

License

Stars

Watchers

Forks