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 @@
{
"name": "ein-ai-proxy",
"version": "1.0.0",
"description": "Anthropic-compatible proxy that routes AI requests to multiple providers (Anthropic, Z.ai, DeepSeek)",
"main": "proxy.mjs",
"type": "module",
"scripts": {
"start": "node proxy.mjs",
"dev": "node --watch proxy.mjs"
},
"dependencies": {},
"engines": {
"node": ">=18"
}
}