https://github.com/errornointernet/chatgpt-frontend
A very simple HTML + CSS frontend for ChatGPT
https://github.com/errornointernet/chatgpt-frontend
alternative-frontends chatgpt flask frontend gpt-3
Last synced: 11 months ago
JSON representation
A very simple HTML + CSS frontend for ChatGPT
- Host: GitHub
- URL: https://github.com/errornointernet/chatgpt-frontend
- Owner: ErrorNoInternet
- License: gpl-3.0
- Created: 2023-03-07T07:44:11.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-10T10:38:48.000Z (about 3 years ago)
- Last Synced: 2025-04-11T03:43:42.302Z (about 1 year ago)
- Topics: alternative-frontends, chatgpt, flask, frontend, gpt-3
- Language: Python
- Homepage:
- Size: 126 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ChatGPT-Frontend
A very simple HTML + CSS frontend for ChatGPT, powered by [ChatGPTAPIFree](https://github.com/ayaka14732/ChatGPTAPIFree)!\
Designed to work on Kindles (and other old browsers) without any JavaScript.

## Running
### Environment variables
- `PASSWORD`
- Used to prevent other people from accessing the frontend
- `OPENAI_API_KEY`
- Use your own API key if you don't want to use the free API
- `OPENAI_API_ENDPOINT`
- Supply a custom API endpoint if the official API is inaccessible
- `HOST` (default `0.0.0.0`)
- `PORT` (default `8080`)
```sh
git clone https://github.com/ErrorNoInternet/ChatGPT-Frontend
cd ChatGPT-Frontend
pip install -r requirements.txt
PASSWORD=HelloWorld1234 python3 main.py
# xdg-open http://localhost:8080/HelloWorld1234/Conversation0
```