https://github.com/rwillians/sms-proxy
Use Twilio to setup a mobile phone number anywhere in the world and redirect all messages from that phone to yours. This is just me playing around, don't even think about using this in production.
https://github.com/rwillians/sms-proxy
Last synced: 3 months ago
JSON representation
Use Twilio to setup a mobile phone number anywhere in the world and redirect all messages from that phone to yours. This is just me playing around, don't even think about using this in production.
- Host: GitHub
- URL: https://github.com/rwillians/sms-proxy
- Owner: rwillians
- License: mit
- Created: 2019-04-18T01:55:17.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-18T04:58:44.000Z (about 6 years ago)
- Last Synced: 2025-01-10T15:24:26.494Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 26.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SMS Proxy
## 1. Twilio initial setup
- Create a Twilio account
- Create a Programable SMS service
- Buy or associate a phone number to your service## 2. Deploying the api with now
> Make sure you're logged in on zeit/now: `now login`
You need to create the following secrets:
- sms-proxy-sentry-dsn (optional): Sentry DSN if you want to have error reports;
- sms-proxy-my-phone-number (required): Your phone number, formated as an international number (e.g.: +19171231234)
- sms-proxy-twilio-account-sid (required): Your twilio account sid;
- sms-proxy-twilio-auth-token (required): Your twilio account auth token;
- sms-proxy-twilio-messaging-service-sid (required): The programable SMS service's sid.Use the following command to create secrets:
```sh
now secret add SECRET_NAME SECRET_VALUE
```Use the following command to deploy:
```sh
now
```This command will output the domain in which your API is available, you'll need it for the next step.
## 3. Finish twilio setup
On you programable SMS service, set inbound sms callback URL to `https://YOU_API_DOMAIN/inbound-message` (HTTP POST).