Skip to content

Rishats/ywpti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Notifications

Simple system which notify users about weather in to Telegram via Horn

Installing

1 Clone project

git clone https://github.com/Rishats/ywpti.git

2 Change folder

cd ywpti

3 Create .env file from .env.example

 cp .env.example .env

4 Configure your .env

   YW_API_URI=https://api.weather.yandex.ru/v1/informers
   YW_LAT=43.262547
   YW_LON=76.927127
   YW_LANG=kk_KZ
   INTEGRAM_WEBHOOK_URI=https://integram.org/webhook/cCgds28sIpG
   SENTRY_DSN=your-dsn

Running

Via docker:

 docker build -t wn .
 docker run -d --name "wn" wn

Via go native:

go run main.go

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Yandex Weather push to Integram.

Resources

License

Stars

Watchers

Forks

Packages

No packages published