Skip to content

A telegram bot that can tell you the weather of any given location Powered by https://www.weatherapi.com/ WeatherAPI.com

Notifications You must be signed in to change notification settings

Deep-Jiwan/weatherappv3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weatherappv3

A telegram bot that can tell you the weather of any given location

Pre-requirements:

How to use:

Local Dev:

  1. Clone the repo
  2. Create a Python dev environment using venv. Select it (/venv/scripts/python.exe) as the interpreter
  3. Create a file /.env for environment variables using the template
  4. Add your API keys for relevant features to the .env file
  5. Activate your venv python
  6. Navigate to the directory where you cloned the repository
  7. Install the requirements
    pip install --no-cache-dir -r requirements.txt
  8. Run the command: python app/main.py

Docker Container

  1. Pull the image
    docker pull dmjiwan/weatherappv3:latest
    docker pull dmjiwan/weatherappv3:arm64 for arm-based systems ( Raspberry Pi )

    OR Using Github Repo:

    docker pull ghcr.io/deep-jiwan/weatherappv3:ghlatest

  2. Run the image in a container while making sure to add the following environment variables and associated API keys
    tele_logger_token
    tele_logger_chat_id
    weather_api_token
    tele_chat_bot_token

  3. The service is ready to use

Powered by https://www.weatherapi.com/ WeatherAPI.com

About

A telegram bot that can tell you the weather of any given location Powered by https://www.weatherapi.com/ WeatherAPI.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages