Skip to content

mbyzhang/sms2tg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sms2tg

Forward SMS messages received from a CDMA module to Telegram, and much more.

Features

  • Forward incoming SMS instantly to your Telegram
  • Forward incoming call notification to your Telegram
  • Send SMS via Telegram Bot commands (buggy)
  • Auto-reply incoming call with prerecorded audio
  • Local SQLite database for SMS backup

Requirements

  • Python 3
  • Telegram bot token

Supported Devices

  • SIM2000C (tested)
  • other CDMA modules (not tested)

Installation

pip3 install -r requirements.txt
cp data.db.sample data.db
cp config.json.sample config.json

and edit config.json according to your own configuration.

Run

python3 main.py

TODO

  • DTMF support
  • Autoreply on incoming SMS
  • Multiple device support
  • Forward SMS to Mail, Slack, IRC, etc.
  • GSM module support
  • Forward phone call to Telegram Call

About

Forward SMS messages received from CDMA modules to Telegram

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published