https://github.com/qcl/qclivery
@qcl 's SMS delivery bot service
https://github.com/qcl/qclivery
bot instant-messaging pushbullet slack-webhook sms
Last synced: 7 months ago
JSON representation
@qcl 's SMS delivery bot service
- Host: GitHub
- URL: https://github.com/qcl/qclivery
- Owner: qcl
- Created: 2018-07-24T21:09:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-29T20:45:46.000Z (about 7 years ago)
- Last Synced: 2025-01-23T05:14:09.984Z (9 months ago)
- Topics: bot, instant-messaging, pushbullet, slack-webhook, sms
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# QCLivery
This is a small project that forwarding SMS that my Android phone received to my iPhone in realtime. At the beginning, I tried [PushBullet](https://www.pushbullet.com/), it works but I have to open browser and check SMS by myself, then I used [IFTTT](https://ifttt.com/), it was great, I can received email when my Android phoen recieved SMS, but someday it stoped working, so I cannot recived email notfication on my iPhone anymore. That's why I want to rewite my own service to instantly forward SMS via push notifcation.
Currently, QCLivery uses [PushBullet streaming API](https://docs.pushbullet.com/#realtime-event-stream) to receive SMS event, then use [Slack incoming webhook](https://api.slack.com/incoming-webhooks) to send message into a Slack channel, then I can have Slack installed on my iPhone, so I can have push notifcation with SMS content.
## Requirements
- PushBullet installed on phone that you want to forward SMS from.
- Slack channel that is used to receive SMS message
- `node` and `npm`
- Create config file `config/default.json`
```json
{
"slackWebhook": "https://hooks.slack.com/services/...", // Slack webhook URL
"pushbulletWebSocket": "wss://stream.pushbullet.com/websocket/${ACCESS_TOKEN}" // PushBullet web socket URL
}
```## Start to use
Clone code and install required packages, `$ npm install`
Then just start it, slack channel will recive a startup message. `$ node index.js`