feat: Initial commit

This commit is contained in:
Aunali321 2025-08-11 20:22:47 +05:30
commit b8ed169587
30 changed files with 6993 additions and 0 deletions

23
.env.example Normal file
View file

@ -0,0 +1,23 @@
# Claude CLI Configuration
CLAUDE_CLI_PATH=claude
# API Configuration
# If API_KEY is not set, server will prompt for interactive API key protection on startup
# Leave commented out to enable interactive prompt, or uncomment to use a fixed API key
# API_KEY=your-optional-api-key-here
PORT=8000
# Timeout Configuration (milliseconds)
MAX_TIMEOUT=600000
# CORS Configuration
CORS_ORIGINS=["*"]
# Rate Limiting Configuration
RATE_LIMIT_ENABLED=true
RATE_LIMIT_PER_MINUTE=30
RATE_LIMIT_CHAT_PER_MINUTE=10
RATE_LIMIT_DEBUG_PER_MINUTE=2
RATE_LIMIT_AUTH_PER_MINUTE=10
RATE_LIMIT_SESSION_PER_MINUTE=15
RATE_LIMIT_HEALTH_PER_MINUTE=30