Add CI and related fixes (#1)
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #1
Co-authored-by: Juanjo Gutiérrez <juanjo@gutierrezdequevedo.com>
Co-committed-by: Juanjo Gutiérrez <juanjo@gutierrezdequevedo.com>
This commit is contained in:
parent 50d66c2985
commit df5b0b4400
6 changed files with 87 additions and 9 deletions

32
README.md Normal file
View file

@ -0,0 +1,32 @@
# OpenAI Models Viewer
A web-based interface for browsing and interacting with OpenAI-compatible API endpoints. This application allows you to manage multiple server connections, view available models, and chat with AI models directly from your browser.
## Features
- **Multi-Server Management**: Add and manage multiple OpenAI-compatible endpoints
- **Model Discovery**: Browse and view all available models from configured servers
- **Interactive Chat**: Chat directly with AI models through a clean web interface
- **Local Storage**: Securely stores server configurations in browser localStorage
- **Responsive Design**: Works on desktop and mobile devices
### Docker Support
Build and run with Docker:
```bash
docker build -t openai-models-viewer .
docker run -p 8000:8000 openai-models-viewer
```
## API Endpoints
The application connects to standard OpenAI-compatible endpoints:
- `/models` - List available models
- `/v1/chat/completions` - Chat completion endpoint
## Security
- API keys are stored locally in browser localStorage
- All communication happens directly between your browser and the API endpoints
- No server-side storage of sensitive information