An open API service indexing awesome lists of open source software.

https://github.com/nobles5e/sms-telegram-forwarder

Forward your SMS to telegram with termux-api
https://github.com/nobles5e/sms-telegram-forwarder

android sms telegram termux

Last synced: about 2 months ago
JSON representation

Forward your SMS to telegram with termux-api

Awesome Lists containing this project

README

          

# sms-telegram-forwarder

Forward your SMS to telegram with `termux-api`.

## Usage

1. Install [Termux](https://f-droid.org/en/packages/com.termux/), [Termux:API](https://f-droid.org/en/packages/com.termux.api), and [Termux:Boot](https://f-droid.org/en/packages/com.termux.boot/).
2. Do `pkg install termux-api` in the Termux App.
3. Download the appropriate `sms-telegram-forwarder` binary from the [release page](https://github.com/NOBLES5E/sms-telegram-forwarder/releases) and rename it to `~/bin/sms-telegram-forwarder` in termux. Then do `chmod +x ~/bin/sms-telegram-forwarder`.
4. Create `~/.termux/boot/forward-sms.sh` with the following content:
```
#!/data/data/com.termux/files/usr/bin/sh
~/bin/sms-telegram-forwarder --bot-token --chat-id --interval-seconds 3
```
5. Disable battery optimization for the Termux App.

Now restart your phone, all your new SMS will be forwarded to your telegram chat room.