Minimal web UI for ChatGPT
Top 6.6% on sourcepulse
This repository provides a minimal, self-hostable web UI for interacting with OpenAI's ChatGPT API, targeting developers and users who want a private or customized interface to the language model. It offers a straightforward way to deploy a chat interface with features like password protection and custom API endpoints.
How It Works
The application is built using Astro and leverages the OpenAI GPT-3.5 Turbo API. It's designed for easy deployment via various platforms like Vercel, Netlify, Docker, or Sealos. Configuration is managed through environment variables, allowing users to specify their OpenAI API key, proxy settings, and even custom API base URLs or models.
Quick Start & Requirements
pnpm install
pnpm run dev
(runs on http://localhost:3000/
)docker run --name=chatgpt-demo -e OPENAI_API_KEY=YOUR_OPEN_API_KEY -p 3000:3000 -d ddiu8081/chatgpt-demo:latest
Highlighted Details
Maintenance & Community
The project is maintained by ddiu8081. Further discussions and feature requests can be found in the GitHub discussions.
Licensing & Compatibility
Limitations & Caveats
The live preview site is currently unavailable due to API key limits. Automatic updates after forking require manual enabling of Workflows and Upstream Sync Action.
1 year ago
1 day