1 line
2.0 KiB
JSON
1 line
2.0 KiB
JSON
{"repo": "breadmakesyoubuff/deepseek-proxy", "files": {"README.md": {"35a1ecb4830a6f035ae152f309784a75eb642313": {"t": 1785747263.377166, "n": 1673, "h": "58971b068bf81d9d", "c": "# DeepSeek OpenAI-Compatible Proxy\n\nA FastAPI-based proxy server that provides OpenAI-compatible endpoints for the DeepSeek API, designed for integration with Janitor AI.\n\n## Features\n\n- OpenAI-compatible `/v1/chat/completions` endpoint\n- Support for multiple model names including `deepseek-ai/DeepSeek-V3-0324-Free`\n- Streaming and non-streaming responses\n- Proper error handling with OpenAI-compatible format\n- Health check endpoint\n\n## Free Deployment Options\n\n### Option 1: Railway (Recommended)\n1. Go to [railway.app](https://railway.app)\n2. Sign in with GitHub\n3. Create new project from GitHub repo\n4. Add environment variable: `DEEPSEEK_API_KEY=your_key_here`\n5. Deploy automatically gets a URL like `https://your-app.railway.app`\n\n### Option 2: Render\n1. Go to [render.com](https://render.com)\n2. Connect your GitHub account\n3. Create new Web Service\n4. Add environment variable: `DEEPSEEK_API_KEY=your_key_here`\n5. Use build command: `pip install -r requirements.txt`\n6. Use start command: `python main.py`\n\n### Option 3: Fly.io\n1. Install flyctl CLI\n2. Run `flyctl launch`\n3. Set secrets: `flyctl secrets set DEEPSEEK_API_KEY=your_key_here`\n\n## Environment Variables\n\n- `DEEPSEEK_API_KEY` - Your DeepSeek API key (required)\n- `PORT` - Server port (default: 5000)\n- `DEEPSEEK_API_URL` - DeepSeek API URL (default: https://api.deepseek.com)\n\n## For Janitor AI\n\nUse these settings in Janitor AI:\n- **Configuration Name:** DeepSeek\n- **Model Name:** deepseek-ai/DeepSeek-V3-0324-Free\n- **Proxy URL:** `https://your-deployed-url/v1/chat/completions`\n- **API Key:** (leave empty)\n\n## Local Development\n\n```bash\npython main.py\n```\n\nServer runs on http://localhost:5000"}, "1953d44fd25b26590daf4bd65056f1a907c89004": {"t": 1785772000.2062383, "n": 16, "h": "80e6d69a924d15b3", "c": "# deepseek-proxy"}}}} |