A simple, responsive web-based chat interface for interacting with OpenAI-compatible APIs. Built with vanilla HTML, CSS, and JavaScript.
- 🎨 Clean, modern interface with responsive design
- 🔧 Configurable API endpoint and model selection
- 📊 Real-time session metrics (tokens, response time, throughput)
- 💬 Markdown rendering support with Mermaid diagrams
- 📱 Mobile-friendly sidebar navigation
- 🔐 Local storage for API configurations
- ⚡ Fast and lightweight (no build process required)
- Clone or download this repository
- Open
index.htmlin your web browser - Configure your API endpoint and key in the sidebar
- Select a model and start chatting!
- API Endpoint: Set your OpenAI-compatible API URL (default: OpenAI)
- API Key: Your API key (stored locally in browser)
- Model: Choose from available models via the dropdown
Works in all modern browsers that support ES6+ features.
MIT License - feel free to use and modify as needed.

