Home
Softono
telegram_transport

telegram_transport

Open source Python
27
Stars
16
Forks
0
Issues
1
Watchers
5 months
Last Commit

About telegram_transport

## Build a Real-Time Shipment Tracking Tool using a Telegram Bot 🚚 *Design a Telegram Bot that will interact with truck drivers to track your shipments and provide real-time visibility of your transportation performance* ### Youtube Video Find in the link below a short animated explained video to understand the concept behind this solution <div align="center"> <a href="https://www.youtube.com/watch?v=VQNil1uR1js"><img src="https://github.com/samirsaci/telegram_transport/blob/main/thumbnail.webp" alt="Explainer Video Link"></a> </div> ### Article In this [Article](https://www.samirsaci.com/build-a-shipment-tracking-tool-using-a-telegram-bot/), we will implement a simple, cheap and easy-to-implement solution to track your shipments that - Does not require additional IT development for your carriers - Easily integrates into the current transportation processes - Reduces admin workload for your logistics team - Does not impact drivers’ productivity - Does not require additional equipment - Provides visibilit ...

Platforms

Web Self-hosted

Languages

Python

Build a Real-Time Shipment Tracking Tool using a Telegram Bot 🚚

Design a Telegram Bot that will interact with truck drivers to track your shipments and provide real-time visibility of your transportation performance

Youtube Video

Find in the link below a short animated explained video to understand the concept behind this solution

Explainer Video Link

Article

In this Article, we will implement a simple, cheap and easy-to-implement solution to track your shipments that

  • Does not require additional IT development for your carriers
  • Easily integrates into the current transportation processes
  • Reduces admin workload for your logistics team
  • Does not impact drivers’ productivity
  • Does not require additional equipment
  • Provides visibility, real-time tracking and transparency

How does it work?

Scenario Your shipment has been unloaded in your store. DRIVER wants to send delivery confirmation before leaving for his next destination.\

Step 1: DRIVER opens Telegram and starts a discussion with the BOT

This is an image

Step2: DRIVER shares it’s GPS Location (= Store Location)

This is an image

Step 3: DRIVER shares a delivery number

This is an image

Step 4: DRIVER shares a picture of the shipment

This is an image

Step 5: Your logistics teams receive a shipment confirmation

This is an image

Code

This repository code is ready to be deployed on Heroku:

1. Clone the GitHub repository to your local folder and create a local Python environment
2. Download libraries listed in requirements.txt
  pip3 install -r requirements.txt

1. Create your bot with another bot :)

@ BotFather is a Telegram bot that will help you create your own bot \ Search @ BotFather on Telegram and send him ‘/start’ \ Answer ‘/newbot’ message and follow instructions to set up a name and a username \ Your bot is now ready, with an API token created—please keep a copy of it!

This is an image

2. Take your token and Telegram API keys

TOKEN: shared by @ BotFather when you created your bot
APP_NAME: address of your Heroku application (see steps below)

3. Deploy the code on the cloud

Heroku is a cloud-based platform for hosting web applications; its free tier provides sufficient resources to run your app.

Procfile
requirements.txt

4. Test it :)

About me đŸ€“

Senior Supply Chain and Data Science consultant with international experience working on Logistics and Transportation operations.\ For consulting or advising on analytics and sustainable supply chain transformation, feel free to contact me via Logigreen Consulting.\ Please have a look at my personal blog: Personal Website