Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
chore: add VPS auto-deploy workflow, remove API key section from Endpoint page
diegosouzapwb87af5d05377
diff --git a/.github/workflows/deploy-vps.yml b/.github/workflows/deploy-vps.ymlnew file mode 100644index 0000000000..96fc0691f9--- /dev/null+++ b/.github/workflows/deploy-vps.yml@@ -0,0 +1,44 @@+name: Deploy to VPS++on:+ workflow_run:+ workflows: ["Publish to Docker Hub"]+ types: [completed]+ workflow_dispatch:++jobs:+ deploy:+ if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}+ name: Deploy OmniRoute to VPS+ runs-on: ubuntu-latest+ steps:+ - name: Install Tailscale+ uses: tailscale/github-action@v3+ with:+ oauth-client-id: ""+ oauth-secret: ""+ tags: tag:ci-deploy+ continue-on-error: true++ - name: Deploy via SSH+ uses: appleboy/ssh-action@v1+ with:+ host: ${{ secrets.VPS_HOST }}+ username: ${{ secrets.VPS_USER }}+ key: ${{ secrets.VPS_SSH_KEY }}+ port: 22+ timeout: 30s+ script: |+ echo "=== Updating OmniRoute ==="+ npm install -g omniroute@latest 2>&1+ INSTALLED_VERSION=$(omniroute --version 2>/dev/null || echo "unknown")+ echo "Installed version: $INSTALLED_VERSION"++ echo "=== Restarting PM2 ==="+ pm2 restart omniroute || pm2 start omniroute --name omniroute -- --port 20128+ pm2 save++ echo "=== Health Check ==="+ sleep 3+ curl -sf http://localhost:20128/api/settings > /dev/null && echo "✅ OmniRoute is healthy" || echo "❌ Health check failed"+ echo "=== Deploy complete ==="diff --git a/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsx b/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsxindex 329c6d0cbe..b908003849 100644--- a/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsx+++ b/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsx@@ -5,7 +5,6 @@ import PropTypes from "prop-types";import { Card, Button, Input, Modal, CardSkeleton } from "@/shared/components";import { useCopyToClipboard } from "@/shared/hooks/useCopyToClipboard";import { AI_PROVIDERS, getProviderByAlias } from "@/shared/constants/providers";-import Link from "next/link";const CLOUD_URL = process.env.NEXT_PUBLIC_CLOUD_URL;const CLOUD_ACTION_TIMEOUT_MS = 15000;@@ -395,24 +394,6 @@ export default function APIPageClient({ machineId }) {{copied === "endpoint_url" ? "Copied!" : "Copy"}</Button></div>-- {/* Link to API Manager */}- <div className="flex items-center gap-3 p-4 border border-border rounded-lg mt-4 bg-surface/30">- <div className="flex items-center justify-center size-10 rounded-lg bg-amber-500/10 shrink-0">- <span className="material-symbols-outlined text-xl text-amber-500">vpn_key</span>- </div>- <div className="flex-1 min-w-0">- <p className="font-semibold text-sm">API Key Management</p>- <p className="text-xs text-text-muted">- Create and manage API keys for authenticating requests- </p>- </div>- <Link href="/dashboard/api-manager">- <Button size="sm" variant="secondary" icon="arrow_forward">- Manage Keys- </Button>- </Link>- </div></Card>{/* Available Endpoints */}