Skip to content

696969ccc/ChatSydney

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatSydney

中国用户请设置能翻墙的系统代理 Chinese users, please set up a system proxy that can bypass the GFW.

Installation

First, you need to have Python 3.11 or higher installed. Then, you can install the required dependencies using pip:

pip install -r requirements.txt --upgrade

How to get cookies.json

same as EdgeGPT https://github.com/acheong08/EdgeGPT#getting-authentication-required

Usage

After saving cookies.json in current directory, you can run this project using the Python command line:

python main.py

Then, you can open http://localhost:65432 in your browser to start chatting.

Command Line Arguments

  • --host or -H: The hostname and port for the server, default is localhost:65432.
  • --proxy or -p: Proxy address, like http://localhost:7890, default is empty.

WebSocket API

The WebSocket API accepts a JSON object containing the following fields:

  • message: The user's message.
  • context: The context of the conversation, can be any string.

Voice broadcast

Only the PC Edge browser is supported.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.7%
  • Python 4.0%
  • HTML 2.1%
  • Other 0.2%