Skip to content

Backend for Telegram bot which helps to save interesting locations spotted while you run through the city

License

Notifications You must be signed in to change notification settings

niki4/remember_locations_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

remember_locations_bot

Backend for Telegram bot which helps to save an interesting locations you've spotted while on the go

Setup and Run

Clone the repo:

git clone https://github.com/niki4/remember_locations_bot.git

Go to clonned repo folder on your command line. Create a virtual environment and install dependencies:

python3 -m venv ./venv
source venv/bin/activate
pip3 install -r requirements.txt

Now go to Telegram client, add @BotFather and request for /newbot You should get token to access the Telegram HTTP API. Copy it.

Set TELEGRAM_TOKEN environment variable with your token you've just copied, e.g.:

export TELEGRAM_TOKEN='123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11'

You're all set. Simply run the bot:

python3 bot.py

You can also play around with the bot instance running on Telegram:

Bot basic usage

About

Backend for Telegram bot which helps to save interesting locations spotted while you run through the city

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages