-3
日增长
-33
周增长
-69
月增长
31,319
stars
10,557
forks
1
watchers
335
prs
1,741
issues
43
releases
README
ChatGPT Web Disclaimer: This project is only published on GitHub, based on the MIT license, free and for open source learning usage. And there will be no any form of account selling, paid service, discussion group, discussion group and other behaviors. Beware of being deceived. 中文 !cover !cover2 - ChatGPT Web - Introduction - Roadmap - Prerequisites - Node - PNPM - Filling in the Key - Install Dependencies - Backend - Frontend - Run in Test Environment - Backend Service - Frontend Webpage - Environment Variables - Packaging - Use Docker - Docker Parameter Examples - Docker build \& Run - Docker compose - Prevent Crawlers - Deploy with Railway - Railway Environment Variables - Deploy with Sealos - Package Manually - Backend Service - Frontend Webpage - FAQ - Contributing - Acknowledgements - Sponsors - License Introduction Supports dual models and provides two unofficial ChatGPT API methods | Method | Free? | Reliability | Quality | | ---------------------------------- | ----- | ----------- | ------- | | ChatGPTAPI(gpt-3.5-turbo-0301) | No | Reliable | Relatively stupid | | ChatGPTUnofficialProxyAPI(web accessToken) | Yes | Relatively unreliable | Smart | Comparison: 1. ChatGPTAPI uses gpt-3.5-turbo through OpenAI official API to call ChatGPT 2. ChatGPTUnofficialProxyAPI uses unofficial proxy server to access ChatGPT's backend API, bypass Cloudflare (dependent on third-party servers, and has rate limits) Warnings: 1. You should first use the API method 2. When using the API, if the network is not working, it is blocked in China, you need to build your own proxy, never use someone else's public proxy, which is dangerous. 3. When using the accessToken method, the reverse proxy will expose your access token to third parties. This should not have any adverse effects, but please consider the risks before using this method. 4. When using accessToken, whether you are a domestic or foreign machine, proxies will be used. The default proxy is pengzhile's https://ai.fakeopen.com/api/conversation. This is not a backdoor or monitoring unless you have the ability to flip over CF verification yourself. Use beforehand acknowledge. Community Proxy (Note: Only these two are recommended, other third-party sources, please identify for yourself) 5. When publishing the project to public network, you should set the AUTH_SECRET_KEY variable to add your password access, you should also modify the title in index. html to prevent it from being searched by keywords. Switching methods: 1. Enter the service/.env.example file, copy the contents to the service/.env file 2. To use OpenAI API Key, fill in the OPENAI_API_KEY field (get apiKey) 3. To use Web API, fill in the OPENAI_ACCESS_TOKEN field (get accessToken) 4. OpenAI API Key takes precedence when both exist Environment variables: See all parameter variables here Roadmap [✓] Dual models [✓] Multi-session storage and
Latest release
v2.11.1 v2.11.1 2023-10-112023-10-11 Enhancement - 优化打字机光标效果 - 清空聊天历史按钮 - 更新文档 BugFix - 修复移动端上的问题 - 修复不规范的引入导致的问题