releaseplatform / RapidPro-Discord-Proxy

A simple application that handles the gateway connection for Discord, and forwards the messages it recieves to a webhook, and can send messages it recieves from its own webhook. Intended for use with RapidPro.
MIT License
2 stars 2 forks source link

What is the Proxy required to add in Textit? #1

Open fredygamez opened 2 years ago

fredygamez commented 2 years ago

When creating the Discord channel, the form requires 1)token and 2)proxy. What is the Proxy required to add in Textit, or where can be found?

awensaunders commented 2 years ago

The RapidPro-Discord-Proxy is a separate piece of software that you can optionally run alongside RapidPro. Are you running rapidpro yourself, or are you using TextIt?

fredygamez commented 2 years ago

Thanks Awen. Currently I am using Textit.

fredygamez commented 2 years ago

I have a Textit account that want to add a Discord channel. I have the token, however I am unable to find and add the Proxy URL parameter. See the image here. https://i.imgur.com/CE6mdGn.png

awensaunders commented 2 years ago

I don’t know if textit runs the discord proxy on their environment (I suspect not), but it’s possible to run it on a separate machine from the rest of rapidpro. If you want to run it on your own machine, you can. It is fairly easy to run in docker, and you can just provide a configuration file that points to the appropriate location. Do you have an appropriate server that you could deploy it on?

Once you have it running, you can paste the url into textit when it asks for the proxy URL.

awensaunders commented 2 years ago

If you have a server and you’re interested, I’d suggest checking out the repo on your server, and running docker build. That should build you an image. I may also make a pre-made image if that’s helpful to you.

fredygamez commented 2 years ago

Hi awensaunders. It has been a while since last post, but now I have a Linux server available, and I want to continue with a setup of the Discord Proxy. I am interested to use the repo. I am a new with dockers, so do you have some basic steps to use the image? Thanks.