https://github.com/pablokbg/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.
https://github.com/pablokbg/t2t-sms
docker-compose foward-twilio python sms-api t2t-sms twilio-sms-api twiliototelegram
Last synced: 4 months ago
JSON representation
T2T SMS is a tool written in Python that allows you to forward SMS from your Twilio number to Telegram via HTTP requests.
- Host: GitHub
- URL: https://github.com/pablokbg/t2t-sms
- Owner: pablokbg
- Created: 2023-01-07T02:31:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-09T13:58:30.000Z (over 2 years ago)
- Last Synced: 2025-01-09T11:47:48.123Z (5 months ago)
- Topics: docker-compose, foward-twilio, python, sms-api, t2t-sms, twilio-sms-api, twiliototelegram
- Language: Python
- Homepage:
- Size: 1.12 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#  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
> # 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](https://github.com/pablokbg/T2T-SMS/blob/main/docker-compose.yml#L8-L11) 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](https://twilio.com/console/phone-numbers/incoming).
> * 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](https://github.com/pablokbg/T2T-SMS/blob/main/docker-compose.yml#L12-L13) file.
* The Telegram bot must be turned on (/start) before launching the container, as the bot works through requests.