1 Star 1 Fork 0

sunlinlin / FastChat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
third_party_ui.md 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
Ying Sheng 提交于 2023-12-24 15:01 . Update docs (#2858)

Third Party UI

If you want to host it on your own UI or third party UI, you can launch the OpenAI compatible server and host with a tunnelling service such as Tunnelmole or ngrok, and then enter the credentials appropriately.

You can find suitable UIs from third party repos:

Using Tunnelmole

Tunnelmole is an open source tunnelling tool. You can find its source code on Github. Here's how you can use Tunnelmole:

  1. Install Tunnelmole with curl -O https://install.tunnelmole.com/9Wtxu/install && sudo bash install. (On Windows, download tmole.exe). Head over to the README for other methods such as npm or building from source.
  2. Run tmole 7860 (replace 7860 with your listening port if it is different from 7860). The output will display two URLs: one HTTP and one HTTPS. It's best to use the HTTPS URL for better privacy and security.
➜  ~ tmole 7860
http://bvdo5f-ip-49-183-170-144.tunnelmole.net is forwarding to localhost:7860
https://bvdo5f-ip-49-183-170-144.tunnelmole.net is forwarding to localhost:7860
Using ngrok

ngrok is a popular closed source tunnelling tool. First download and install it from ngrok.com. Here's how to use it to expose port 7860.

ngrok http 7860
1
https://gitee.com/sll-xiaoxin/FastChat.git
git@gitee.com:sll-xiaoxin/FastChat.git
sll-xiaoxin
FastChat
FastChat
main

搜索帮助