Initial commit: ein-ai-proxy

Anthropic-compatible API proxy that routes requests to multiple
providers (Anthropic, Z.ai/GLM-4.7, DeepSeek V3.2) based on
model name. Zero dependencies, SSE streaming, bearer token auth.

Designed to run behind Caddy/nginx on a home server, enabling
Claude Code and Roo Code clients to connect from anywhere.
This commit is contained in:
harrison
2026-03-26 13:54:22 -05:00
commit 7fc0bafb01
8 changed files with 561 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
{
"port": 3100,
"authToken": "CHANGE_ME_TO_A_LONG_RANDOM_STRING",
"providers": {
"anthropic": {
"apiKey": "sk-ant-YOUR_ANTHROPIC_KEY"
},
"zai": {
"apiKey": "YOUR_ZAI_KEY"
},
"deepseek": {
"apiKey": "YOUR_DEEPSEEK_KEY"
}
}
}