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
- Host: GitHub
- URL: https://github.com/nobles5e/sms-telegram-forwarder
- Owner: NOBLES5E
- License: gpl-3.0
- Created: 2021-03-06T13:58:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-06T15:21:21.000Z (over 5 years ago)
- Last Synced: 2026-01-28T13:49:55.991Z (5 months ago)
- Topics: android, sms, telegram, termux
- Language: Rust
- Homepage:
- Size: 26.4 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.