sms-telegram-forwarder
Forward your SMS to telegram with termux-api
.
Usage
- Install Termux, Termux:API, and Termux:Boot.
- Do
pkg install termux-api
in the Termux App. - Download the appropriate
sms-telegram-forwarder
binary from the release page and rename it to~/bin/sms-telegram-forwarder
in termux. Then dochmod +x ~/bin/sms-telegram-forwarder
. - Create
~/.termux/boot/forward-sms.sh
with the following content:
#!/data/data/com.termux/files/usr/bin/sh
~/bin/sms-telegram-forwarder --bot-token <your-telegram-bot-token> --chat-id <your-chat-room-id> --interval-seconds 3
- Disable battery optimization for the Termux App.
Now restart your phone, all your new SMS will be forwarded to your telegram chat room.