<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SwitchX Pro — Universal AI Subscription & Rolling Quota Router</title>
<link rel="icon" href="app-icon.svg" type="image/svg+xml">
<style>
:root {
--bg: #090d16;
--card-bg: rgba(22, 30, 49, 0.7);
--card-border: rgba(255, 255, 255, 0.08);
--text-main: #f8fafc;
--text-muted: #94a3b8;
--accent-blue: #38bdf8;
--accent-purple: #c084fc;
--accent-green: #34d399;
--accent-rose: #f43f5e;
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background: radial-gradient(circle at 50% 0%, #151e36 0%, var(--bg) 80%);
color: var(--text-main);
font-family: var(--font-family);
line-height: 1.6;
min-height: 100vh;
overflow-x: hidden;
}
.container {
max-width: 1100px;
margin: 0 auto;
padding: 40px 24px;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 24px;
border-bottom: 1px solid var(--card-border);
}
.logo-group {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
color: inherit;
}
.logo-img {
width: 38px;
height: 38px;
}
.logo-text {
font-size: 20px;
font-weight: 800;
letter-spacing: -0.5px;
background: linear-gradient(90deg, #fff, var(--accent-blue));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.nav-links {
display: flex;
gap: 16px;
align-items: center;
}
.nav-link {
color: var(--text-muted);
text-decoration: none;
font-size: 14px;
font-weight: 500;
transition: color 0.15s;
}
.nav-link:hover {
color: #fff;
}
.btn-github {
background: rgba(255, 255, 255, 0.08);
border: 1px solid var(--card-border);
color: #fff;
padding: 8px 16px;
border-radius: 8px;
font-size: 13px;
font-weight: 600;
text-decoration: none;
transition: all 0.2s;
}
.btn-github:hover {
background: rgba(255, 255, 255, 0.16);
border-color: rgba(255, 255, 255, 0.25);
}
.hero {
text-align: center;
padding: 70px 0 50px;
}
.pill-badge {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 14px;
border-radius: 100px;
background: rgba(56, 189, 248, 0.1);
border: 1px solid rgba(56, 189, 248, 0.25);
color: var(--accent-blue);
font-size: 12.5px;
font-weight: 600;
margin-bottom: 24px;
}
h1 {
font-size: 52px;
font-weight: 800;
line-height: 1.15;
letter-spacing: -1.5px;
margin-bottom: 20px;
background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-subtitle {
font-size: 19px;
color: var(--text-muted);
max-width: 720px;
margin: 0 auto 36px;
}
.install-row {
display: flex;
justify-content: center;
gap: 16px;
flex-wrap: wrap;
margin-bottom: 50px;
}
.cmd-box {
background: rgba(15, 23, 42, 0.85);
border: 1px solid var(--card-border);
padding: 12px 20px;
border-radius: 10px;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 13.5px;
color: var(--accent-blue);
display: flex;
align-items: center;
gap: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
gap: 20px;
margin-bottom: 70px;
}
.feature-card {
background: var(--card-bg);
border: 1px solid var(--card-border);
border-radius: 12px;
padding: 24px;
backdrop-filter: blur(12px);
transition: all 0.2s ease;
}
.feature-card:hover {
border-color: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}
.feature-icon {
width: 40px;
height: 40px;
border-radius: 8px;
background: rgba(56, 189, 248, 0.15);
color: var(--accent-blue);
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
margin-bottom: 16px;
}
.feature-title {
font-size: 17px;
font-weight: 700;
margin-bottom: 8px;
}
.feature-desc {
font-size: 13.5px;
color: var(--text-muted);
line-height: 1.5;
}
.table-section {
background: var(--card-bg);
border: 1px solid var(--card-border);
border-radius: 14px;
padding: 28px;
margin-bottom: 60px;
backdrop-filter: blur(14px);
}
.table-section h2 {
font-size: 22px;
margin-bottom: 18px;
}
table {
width: 100%;
border-collapse: collapse;
font-size: 13.5px;
}
th, td {
padding: 12px 14px;
text-align: left;
border-bottom: 1px solid var(--card-border);
}
th {
color: var(--text-muted);
font-weight: 600;
text-transform: uppercase;
font-size: 11px;
letter-spacing: 0.5px;
}
footer {
text-align: center;
padding-top: 30px;
border-top: 1px solid var(--card-border);
color: var(--text-muted);
font-size: 13px;
}
</style>
</head>
<body>
<div class="container">
<header>
<a href="#" class="logo-group">
<img src="app-icon.svg" alt="SwitchX Logo" class="logo-img">
<span class="logo-text">SwitchX Pro</span>
</a>
<div class="nav-links">
<a href="#features" class="nav-link">Features</a>
<a href="#comparison" class="nav-link">Why SwitchX</a>
<a href="https://github.com/isaim0011/switchx" target="_blank" class="btn-github">GitHub Repository ↗</a>
</div>
</header>
<section class="hero">
<div class="pill-badge">⚡ Zero-Touch AI Subscription Routing & Failover</div>
<h1>Universal Account Switcher<br>& Rolling Quota Router</h1>
<p class="hero-subtitle">
Never get locked out by AI rate limits again. SwitchX seamlessly manages multiple subscription sessions across Claude Code, Google Antigravity, Cursor, and GitHub Copilot with sub-millisecond local failover.
</p>
<div class="install-row">
<div class="cmd-box">
<code>cargo install switchx</code>
</div>
<div class="cmd-box">
<code>npx switchx status</code>
</div>
</div>
</section>
<div class="features-grid" id="features">
<div class="feature-card">
<div class="feature-icon">🛡️</div>
<div class="feature-title">Real Subscription Profiles</div>
<div class="feature-desc">
Handles real Anthropic Claude Pro/Team, Google Antigravity, and GitHub Copilot web subscriptions with full OAuth token persistence.
</div>
</div>
<div class="feature-card">
<div class="feature-icon">⏱️</div>
<div class="feature-title">Dual Rolling Quota Engine</div>
<div class="feature-desc">
Accurately monitors both the 5-Hour rolling sprint window and the 7-Day marathon limit with exact second-by-second countdowns.
</div>
</div>
<div class="feature-card">
<div class="feature-icon">⚡</div>
<div class="feature-title">Smart Auto-Failover</div>
<div class="feature-desc">
When an account hits rate limits, SwitchX automatically swaps to your healthy alt account without interrupting your workflow.
</div>
</div>
</div>
<section class="demo-section" style="margin-bottom: 70px;">
<div style="text-align: center; margin-bottom: 24px;">
<div class="pill-badge" style="margin-bottom: 12px;">🎥 Smooth Live Experience</div>
<h2 style="font-size: 28px; font-weight: 800;">Real-Time Quota & Auto-Failover in Action</h2>
<p style="color: var(--text-muted); font-size: 15px;">Watch how SwitchX instantly swaps active accounts and tracks 5-hour rolling windows with zero reload lag.</p>
</div>
<div style="background: rgba(15, 23, 42, 0.95); border: 1px solid var(--card-border); border-radius: 16px; padding: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); backdrop-filter: blur(16px); max-width: 860px; margin: 0 auto;">
<div style="display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--card-border); padding-bottom: 14px; margin-bottom: 20px;">
<div style="display: flex; gap: 8px;">
<div style="width: 12px; height: 12px; border-radius: 50%; background: #f43f5e;"></div>
<div style="width: 12px; height: 12px; border-radius: 50%; background: #fbbf24;"></div>
<div style="width: 12px; height: 12px; border-radius: 50%; background: #34d399;"></div>
</div>
<span style="font-size: 12px; font-weight: 600; color: var(--text-muted); font-family: monospace;">switchx-pro-preview.webm</span>
<div style="font-size: 11px; padding: 2px 8px; border-radius: 4px; background: rgba(56, 189, 248, 0.15); color: var(--accent-blue); font-weight: 700;">60 FPS SMOOTH</div>
</div>
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 20px;">
<div style="background: #090d16; border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 16px; font-family: monospace; font-size: 12px; line-height: 1.6;">
<div style="color: #64748b; margin-bottom: 6px;"># Shell session: auto-failover test</div>
<div style="color: #38bdf8;">$ switchx status</div>
<div style="color: #94a3b8; font-size: 11px; margin: 6px 0;">
• work (claude) <span style="color:#f43f5e; font-weight:bold;">[CRITICAL]</span> 95% used<br>
• personal (claude) <span style="color:#34d399; font-weight:bold;">[OPTIMAL]</span> 0% used
</div>
<div style="color: #38bdf8; margin-top: 8px;">$ switchx auto-next claude</div>
<div style="color: #fbbf24; font-weight: 600;">⚡ Swapped Claude Code to 'personal' (<8ms)</div>
<div style="color: #34d399; margin-top: 4px;">✔ Session ready for immediate use.</div>
</div>
<div style="background: rgba(22, 30, 49, 0.85); border: 1px solid rgba(56, 189, 248, 0.25); border-radius: 10px; padding: 16px;">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;">
<span style="font-weight: 700; font-size: 13px;">personal (Claude Pro)</span>
<span style="font-size: 10px; background: rgba(52, 211, 153, 0.2); color: #34d399; padding: 2px 6px; border-radius: 4px; font-weight: 800;">ACTIVE</span>
</div>
<div style="font-size: 11px; color: #94a3b8; margin-bottom: 10px;">5-Hour Rolling Sprint: 100% capacity remaining</div>
<div style="height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; margin-bottom: 12px;">
<div style="height: 100%; width: 100%; background: linear-gradient(90deg, #10b981, #34d399);"></div>
</div>
<div style="display: flex; justify-content: space-between; font-size: 11px; color: #64748b;">
<span>Reset: Full capacity</span>
<span style="color: #38bdf8; font-weight: 600;">Synced with Editor</span>
</div>
</div>
</div>
</div>
</section>
<div class="table-section" style="margin-bottom: 60px;">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;">
<h2 style="font-size: 22px; margin: 0;">Release History & Changelog</h2>
<span style="font-size: 12px; padding: 4px 10px; border-radius: 20px; background: rgba(56, 189, 248, 0.15); color: var(--accent-blue); font-weight: 700;">v1.0.0 Stable</span>
</div>
<div style="background: rgba(15, 23, 42, 0.6); border: 1px solid var(--card-border); border-radius: 10px; padding: 20px; font-size: 13.5px; line-height: 1.7;">
<p style="color: var(--accent-green); font-weight: 700; margin-bottom: 6px;">[v1.0.0] - Universal AI Subscription Engine</p>
<ul style="padding-left: 20px; color: var(--text-muted);">
<li><strong>Universal App Support</strong>: Hot-swaps Claude Code CLI, Google Antigravity, Cursor, and GitHub Copilot.</li>
<li><strong>Rolling Quota Math</strong>: Calculates exact countdowns for both 5-hour rolling windows and 7-day limits.</li>
<li><strong>Intelligent Auto-Failover</strong>: Detects 429 rate limits and routes to the healthiest account in <10ms.</li>
<li><strong>Zero-Distraction UI</strong>: Activity Bar glassmorphism extension and dark theme landing site.</li>
</ul>
</div>
</div>
<footer>
<p>© 2026 SwitchX Labs • Built with Rust and Modern Web Standards • Open Source under MIT</p>
</footer>
</div>
</body>
</html>