Add Tunnelmole as an open source alternative to ngrok for your Discord Bot (#19864)

* Add Tunnelmole as an open source alternative to ngrok

* More compact instructions

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
RobbieandCharis authored and GitHub committed 2023-12-20 17:16:15 +00:00
1 parent 4fff4bd1e2
commit 0ac88f68b4
1 file changed
+5 -1
@@ -62,7 +62,11 @@ Open Discord, type `/Promise` and press **Enter**.
## Run locally
First, start the bot on your local machine
```bash
supabase functions serve discord-bot --no-verify-jwt --env-file ./supabase/.env.local
ngrok http 54321
```
To use it with Discord you'll need a Public URL. There are a couple of options.
1. [Tunnelmole](https://github.com/robbie-cahill/tunnelmole-client), an open source tunneling tool that will create a public URL that forwards traffic to your local development environment through a secure tunnel. View the [README](https://github.com/robbie-cahill/tunnelmole-client) for installation instructions then run `tmole 54321`
2. [ngrok](https://ngrok.com/) is a popular closed source tunneling tool. Go to the website to download and install it, then run `ngrok http 54321`