Lightweight HTTP proxy for chatjimmy.ai with OpenAI-compatible API.
docker-compose up -d
# Server runs on http://localhost:3000| Method | Endpoint | Description |
|---|---|---|
GET |
/health |
Health check |
GET |
/v1/models |
List models |
POST |
/v1/chat/completions |
Chat (supports stream: true for SSE) |
curl -X POST http://localhost:3000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"llama3.1-8B","messages":[{"role":"system","content":"You are a pirate"},{"role":"user","content":"Hi"}]}'- OpenAI-compatible API
- System prompt (first
systemmessage) - SSE streaming (
stream: true) - Distroless Docker image (~20MB)
| Env | Default |
|---|---|
RUST_LOG |
info |
BIND_ADDR |
0.0.0.0:3000 |
MIT