https://github.com/codeforafrica/rapidpro-bongolive
A tiny express.js app to serve SMSs from BongoLive to RapidPro.
https://github.com/codeforafrica/rapidpro-bongolive
africancommons bongolive commons express rapidpro sms sms-gateway tanzania
Last synced: 15 days ago
JSON representation
A tiny express.js app to serve SMSs from BongoLive to RapidPro.
- Host: GitHub
- URL: https://github.com/codeforafrica/rapidpro-bongolive
- Owner: CodeForAfrica
- License: gpl-3.0
- Created: 2018-12-10T14:06:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-12T09:35:28.000Z (about 7 years ago)
- Last Synced: 2025-06-19T10:49:11.042Z (11 months ago)
- Topics: africancommons, bongolive, commons, express, rapidpro, sms, sms-gateway, tanzania
- Language: JavaScript
- Homepage:
- Size: 26.4 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Rapidpro - BongoLive
--------------------
Thin middleware to route SMSs from BongoLive to Rapidpro.
To get started, simply set the following ENV Variables and deploy:
```
RP_HOSTNAME=textit.in
RP_PATH_MOYO=/c/ex/.../receive
```
### Deployment
With Dokku, deployment steps would go something like so:
```
dokku apps:create rp-bongolive
dokku domains:add rp-bongolive example.com
dokku config:set rp-bongolive \
BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-nodejs.git#v133
dokku config:set rp-bongolive \
RP_HOSTNAME=textit.in \
RP_PATH_MOYO=/c/ex/.../receive
```
On local machine now:
```
git remote add dokku dokku@example.com:rp-bongolive
git push dokku
```
A little SSL too with Letsencrypt:
```
dokku config:set --no-restart rp-bongolive DOKKU_LETSENCRYPT_EMAIL=hello@example.com
dokku letsencrypt rp-bongolive
```
## License
Rapidpro - BongoLive is a tiny express.js app to serve SMSs from BongoLive to Rapidpro.
Copyright (C) 2018 Code for Africa
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .