Matrix Twilio Bridge (SMS)

32 Members
Text your friends from matrix using Twilio| https://github.com/turt2live/matrix-appservice-twilio | Road to v1: https://github.com/turt2live/matrix-appservice-twilio/milestone/119 Servers

Load older messages

Timestamp Message
29 Jan 2019
03:23:34@travis:t2l.ioTravisRI used to use it on a daily basis but ran out of time to be able to develop it :(
03:24:10@travis:t2l.ioTravisRit's stuck at about item no. 5 for projects of mine to refresh, unfortunately
03:26:13@tony:matrix.arsmoriendi.clubtonyI'm looking forward to purism's librem 5 phone, so I'm trying to figure out how all this stuff works, and this project of yours seemed like a big step toward being able to ditch my cell service provider. I'll keep my eye on it for sure.
03:26:51@travis:t2l.ioTravisRThat's certainly the goal of the project, so glad you're at least here for that :)
04:15:14@tony:matrix.arsmoriendi.clubtonyIf I use a web browser to go to the url: https://your.server.com/api/v1/twilio/{secret}/sms should it show a 404 not found error?
04:23:17@travis:t2l.ioTravisRprobably not. It should give you something helping. Might indicate that the reverse proxy isn't totally set uop
04:24:02@tony:matrix.arsmoriendi.clubtonyyeah, I think my lack of knowledge with setting up this server is getting in my way becuase I'm following some instructions from matrix.org

could this nginx thing be my problem you think?
server {
listen 80;
server_name matrix.example.com;
return 301 https://$server_name$request_uri;

server {
listen 443 ssl;
listen [::]:443 ssl;
server_name matrix.example.com;

ssl_certificate /etc/letsencrypt/live/matrix.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/matrix.example.com/privkey.pem;

# If you don't wanna serve a site, comment this out
root /var/www/html;
index index.html index.htm;

location /_matrix {
  proxy_set_header X-Forwarded-For $remote_addr;


04:25:28@tony:matrix.arsmoriendi.clubtonyor maybe the ufw firewall that is set up?
04:26:54@travis:t2l.ioTravisRIt doesn't look like you have a proxy set up for the bridge itself
04:28:02@tony:matrix.arsmoriendi.clubtonyMmmm, I didn't even know that was necessary (behold my utter lack of knowledge).
04:36:02@tony:matrix.arsmoriendi.clubtonyWell, I suppose I've been enough of a pain in the ass. I'm going to try to learn about how to set up a proxy, but I won't decline advice on how to do that if it's an easy thing someone can explain.
04:37:45@travis:t2l.ioTravisRis the bridge running on the same machine as synapse?

change the listen address in the bridge's config file to (instead of and add this to your nginx config:

location /api {
    proxy_pass http://localhost:4501;
    proxy_set_header X-Forwarded-For $remote_addr;

then your domain will be matrix.example.org. Changing this isn't impossible, but more involved than a single chat message :p

04:41:13@tony:matrix.arsmoriendi.clubtonyGreat. I'll try it. Do you mean that I should put matrix.example.org in the bridge's config file instead of my own domain?
04:41:41@travis:t2l.ioTravisRshouldn't have to. Might need to change the thing on Twilio though
04:41:55@tony:matrix.arsmoriendi.clubtonyI'll mess around with it. Thanks.
04:43:02@tony:matrix.arsmoriendi.clubtonythe listen address is the "host" right?
05:35:58@tony:matrix.arsmoriendi.clubtonyThanks for the help. I've got it working now. Didn't have to do anything with matrix.example.org (I'm not really sure what you meant by that tbh). Looking forward to the point where this is slick and polished and works with voice calls! Do people like you who work on projects like this use something like Patreon? Seems like it would be a good way to encourage development of apps and functionality for something like the librem 5 and make it worth your time.
05:38:21@travis:t2l.ioTravisRin practice I spend most of my time running t2bot.io, which is where this bridge is eventually landing. Donations towards that (which still go towards me, and paying operating costs of t2bot.io first) can be made here: https://t2bot.io/donate/
05:40:40@tony:matrix.arsmoriendi.clubtonyOh, so you have a lot going on, I see. I'll have a look at it all, and thanks again!
05:41:05@travis:t2l.ioTravisRI do tend to collect projects ._.
05:42:32@tony:matrix.arsmoriendi.clubtonyOne last thing: How do you get the bridge to keep running once you close the terminal? Isn't there some command to run stuff like that in the background?
05:43:23@travis:t2l.ioTravisR depends on a variety of things, but some people use systemd, forever (from npm), or screen managers like screen and tmux
19:11:27@tony:tawk.clubtony joined the room.
30 Jan 2019
22:05:42@tony:tawk.clubtony set a profile picture.
3 Feb 2019
05:44:06@dikeat142:matrix.orgdikeat142 joined the room.
16 Feb 2019
01:59:04@tomey:nethole.usTomey changed their profile picture.

There are no newer messages yet.

Back to Room List