weather_bot

command module
v0.0.0-...-06a578e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

README

🤖 Weather_bot ⛅

License - BSD 3-Clause

🛠 Стек технологий:

telegram go lang vs code Docker Ubuntu

📄 О самом проекте:

Бот просит координаты, запоминает их и выводит погоду по ним. Также у него можно узнать время восхода и заката солнца. Бот использует openweather API для погоды и Heroku для хостинга. Координаты хранятся в json файле в формате
"айди чата : координаты".

🐳 Запуск в Docker:

Сборка

sudo docker build -t weather_bot .

Запуск

docker run --name=weather_bot -e TOKEN="<token_value>" -e WEATHER_TOKEN="<token_value>" weather_bot

🔗 Ссылка на бота:

telegram

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL