Ngrok Installation
To use Ngrok for tunneling your local server to the internet, follow these steps:
Sign up
- Go to https://ngrok.com/ and sign up for an account.
Docker Installation ๐ณ
- Copy your auth token from: https://dashboard.ngrok.com/get-started/your-authtoken
-
Open a terminal and run the following command:
docker run -d -it -e NGROK_AUTHTOKEN=<your token> ngrok/ngrok http 80
Windows Installation ๐
- Download the ZIP file from: https://ngrok.com/download
- Extract the contents of the ZIP file using 7zip or WinRar.
-
Run
ngrok.exe
. - Copy your auth token from: https://dashboard.ngrok.com/get-started/your-authtoken
-
In the
ngrok.exe
terminal, run the following command:ngrok config add-authtoken <your token>
- If you haven't done so already, start LibreChat normally.
-
In the
ngrok.exe
terminal, run the following command:ngrok http 3080
You will see a link that can be used to access LibreChat.
Linux Installation ๐ง
- Copy the command from: https://ngrok.com/download choosing the correct architecture.
- Run the command in the terminal
- Copy your auth token from: https://dashboard.ngrok.com/get-started/your-authtoken
-
run the following command:
ngrok config add-authtoken <your token>
- If you haven't done so already, start LibreChat normally.
-
run the following command:
ngrok http 3080
Mac Installation ๐
- Download the ZIP file from: https://ngrok.com/download
- Extract the contents of the ZIP file using a suitable Mac application like Unarchiver.
- Open Terminal.
-
Navigate to the directory where you extracted ngrok using the
cd
command. -
Run ngrok by typing
./ngrok
. - Copy your auth token from: https://dashboard.ngrok.com/get-started/your-authtoken
-
In the terminal where you ran ngrok, enter the following command:
ngrok authtoken <your token>
- If you haven't done so already, start LibreChat normally.
-
In the terminal where you ran ngrok, enter the following command:
./ngrok http 3080
Note:
This readme assumes some prior knowledge and familiarity with the command line, Docker, and running applications on your local machine. If you have any issues or questions, refer to the Ngrok documentation or open an issue on our Discord server