Back to the list
xanggate.rentaicoder.com
Xăng Gate
A Claude API gateway on local payments, two services split by RS256 JWT
A Vietnamese developer without an international credit card cannot buy an API key. Xăng Gate sits in between: it takes a domestic transfer and issues a key that works immediately with Claude Code or a compatible SDK.
Visit product— Xăng Gate (opens in a new tab)
- Lit 3
- Vite
- ASP.NET Core 10
- Docker
- JWT RS256
§ 01Product
ManaGate ── JWT ký RS256 ──▶ IRIS Proxy
(cửa hàng, dashboard, (proxy tới nhà cung cấp AI,
thanh toán, admin) rate limit, quota)
POST /admin/keys/generate
Authorization: Bearer <jwt>
alg = RS256 (RsaSecurityKey, RsaSha256)
# Vì sao bất đối xứng: IRIS chỉ cần PUBLIC key để xác minh.
# Hai dịch vụ không phải chia sẻ secret đối xứng.
⚠ trong code: thiếu RSA private key thì rơi về alg = None với khoá rỗng.
Chỉ hợp lệ cho môi trường dev.§ 02Highlights
- Fully domestic payment: bank transfer QR, VNPay, MoMo, no international card needed
- Keys activate immediately and work with Claude Code and compatible SDKs
- Two separate services authenticating over RS256 JWTs, with no shared symmetric secret
- Dashboard showing each key's remaining time as a fuel gauge
- Sliding-window rate limiting at the proxy layer
- Admin views for users, orders, system metrics and provider quota
§ 03Screens