Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WHIB Bot

WHIB (Where Have I Been) Bot (can be accessed at t.me/whibBY_bot) is a microservice-based application that allows users to track their travels around Belarus and generates maps of visited regions/districts. It includes the following components:

Architecture

  • Flask Web App: Provides a REST API for managing user data and map generation.
  • Redis: Used for caching data to improve performance.
  • PostGIS Database: Stores and processes geographic user data.
  • Telegram Bot: Asynchronous bot for user interaction and API communication.

Libraries Used

Telegram Bot

  • python-telegram-bot
  • aiohttp

Web App

  • API:
    • Flask
  • Database Operations and ORM:
    • Flask-SQLAlchemy
    • GeoAlchemy2
  • Map Visualization:
    • Geopandas
    • Matplotlib

Features

  • Travel Tracking: Log and manage travel data through the Telegram bot — either find a place by its name or attach the location.
  • Map Generation: Generate maps highlighting visited regions or districts.
  • High Performance: Utilizes Redis caching and asynchronous processing for efficiency.

Example of the generated map:

Districts-visited-map.png

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages