Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1.23 KB

README.md

File metadata and controls

29 lines (25 loc) · 1.23 KB

Logo T2T SMS

T2T SMS is a tool written in Python that allows you to forward SMS from your Twilio number to Telegram via HTTP requests.

Capture

capture

Use

  • Step 1: Clone the repository.
git clone https://github.com/pablokbg/T2T-SMS.git && cd T2T-SMS
  • Step 2: Edit the docker-compose.yml file and change the environment section to your credentials.
environment:
 - TELEGRAM_BOT_TOKEN=123456789:AAAAAAAAAAAAAAAAAAAAAA
 - TELEGRAM_CHAT_ID=000000000
 - TWILIO_AUTH_TOKEN=abcdefghi123456789
  • Step 3: Add the webhook in Twilio.

webhook

  • Step 4: Launch the docker container.
docker-compose up -d

Notes

  • By default the docker container runs on port 8624, but you can change it from the docker-compose.yml file.
  • The Telegram bot must be turned on (/start) before launching the container, as the bot works through requests.