- Register for an account at Twilio, purchase a toll-free number with SMS capability, and purchase credits. (This project will not work with Twilio free accounts)
- Create a Twilio application for the number.
- Sign up for an ngrok account and download the ngrok application
- Open the ngrok directory and run this command:
./ngrok tcp 5000 - Visit the active numbers page and add the ngrok url to the "A Message Comes In" section after selecting "webhook". For example: "https://xyz.ngrok.io/receive_sms"
- Download the TxtNet Browser server script and install all the required modules using "pip install x"
- Add your Twilio API ID and Key into your environment variables, and run the script!
python SMS_Server_Twilio.py - In the TxtNet Browser app, press the three dots and press "Change Server Phone Number". Enter in the phone number you purchased from Twilio and press OK!
TxtNetwork/TxtNet-Desktop-Server
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|