ChatGPT Web UI implemented with Flask, HTML, Javascript and CSS.
Fill in your own API to use.
See installation.md for installation instructions.
- Chat with GPT and every model that supports OpenAI-style API.
- Let the model search online for information with DuckDuckGo.
- Generate images with FLUX.
Frontend: HTML, CSS, and Javascript to receive user messages and send them to the backend.
Backend: Python Flask to receive messages from the frontend and call the API.
Search: Free DuckDuckGo search API to search for information. You can set DUCK_PROXY
environment variable to use a proxy for DuckDuckGo.
Draw: Free CloudFlare Workers AI FLUX-schnell model to generate images. You can set CLOUDFLARE_API_KEY
and CLOUDFLARE_USER_ID
environment variables to use the CloudFlare Workers AI.
To save space, images will be stored on 16 image hosting. Define ONESIX_API_KEY
environment variable to use an API key.(It's free and you can generate it on 16's website)
As 16 image hosting has an annoying CloudFlare shield which displays a captcha for almost all IDC IPs, CloudScraper is used to bypass it.
All chat data is stored in an SQL database, with UUIDs stored in cookies.
We will not use your data for any purpose other than to provide the service. The SQL database will never be viewed by anyone other than the program.
The log of the python program will hide all personal information. The only thing that will be shown in the log is the web requests.
Main branch: Latest tested stable version, with the most stable features and good experience.
Dev branch: Latest features, may be unstable. Several features may be incomplete.