Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yashvardhan-kukreja/go-corona
Get mails containing coronavirus metrics
https://github.com/yashvardhan-kukreja/go-corona
Last synced: 15 days ago
JSON representation
Get mails containing coronavirus metrics
- Host: GitHub
- URL: https://github.com/yashvardhan-kukreja/go-corona
- Owner: yashvardhan-kukreja
- Created: 2020-03-20T12:53:37.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-21T14:02:49.000Z (almost 5 years ago)
- Last Synced: 2024-04-08T17:06:47.574Z (9 months ago)
- Language: Go
- Homepage:
- Size: 3.55 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-corona
## Introduction:
A CLI to get an email containing the metrics associated with coronavirus of any country you specify------
## Pre-requisites:
Please have "go" installed in your computer. That's it!------
## How to set it up:
- Download the github repo with the following command:
```git clone https://www.github.com/yashvardhan-kukreja/go-corona```
- Then, run the following command:
```bash commander.sh```- And, that's it !
-----
## How to run it:
The command expects four parameter:
- **email** -> the email id at which you want to receive alerts
- **password** -> the password of that email account. I promise I am not going to steal it. Look at the source code if you want :)
- **country** (default: India)-> The country for which you want to receive COVID alerts
- **timeInSeconds** (default: 300 seconds) -> rate at which you want to receive covid alerts/emailExample command:
- Here, the email is "[email protected]" and the password is "hello1234". And, let's say I want to get the alerts every 10 minutes (600 seconds) regarding the status of Covid in Canada.
So, this would be the command to do so:
```go-corona --email [email protected] --password hello1234 --country Canada --timeInSeconds 600 ```-----
## Upcoming features:
- Getting emails continuously at a defined rate
- Mail delivery to multiple mail recipients-----