Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helixspiral/covid-19-cases-discord-relay
Relay to send Covid-19 statistics to a Discord webhook
https://github.com/helixspiral/covid-19-cases-discord-relay
aws aws-lambda covid-19 discord golang lambda
Last synced: 15 days ago
JSON representation
Relay to send Covid-19 statistics to a Discord webhook
- Host: GitHub
- URL: https://github.com/helixspiral/covid-19-cases-discord-relay
- Owner: HelixSpiral
- Created: 2020-04-06T21:59:58.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-13T00:07:08.000Z (almost 5 years ago)
- Last Synced: 2024-11-27T16:41:54.073Z (2 months ago)
- Topics: aws, aws-lambda, covid-19, discord, golang, lambda
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
![BuildAndDeploy](https://github.com/HelixSpiral/Covid-19-Cases-Discord-Relay/workflows/BuildAndDeploy/badge.svg)
---This is a simple script that relays the current Covid-19 case count to a Discord webhook.
Current case count is taken from [Here](https://coronavirus-19-api.herokuapp.com/all)
This is build for use with AWS Lambda.
To run outside of Lambda swap the comments in the main function, remove the Lambda import, and set the DISCORD_WEBHOOK environment variable to your webhook url.
Example usage outside of Lambda: `DISCORD_WEBHOOK="http://test.url/hook" go run main.go`