Skip to main content

proxygmn 🚀

Local HTTP Proxy & TUI Key Manager for Google Gemini CLI
100% Local • Zero External Servers • Zero Telemetry • Automatic Rate-Limit Fallback

Python Version License Zero Telemetry PyPI

Português | English


Português

O proxygmn é um proxy HTTP local e gerenciador TUI 100% local para o Google Gemini CLI, projetado para garantir soberania total dos seus dados e chaves, sem servidores externos intermediários e sem qualquer telemetria.

💡 O Problema que o proxygmn Resolve

Contas gratuitas do Google AI Studio possuem limites rígidos de requisições por minuto (RPM) — tipicamente 15 RPM. Quando você faz uso intenso do Gemini CLI, erros 429 (Too Many Requests) interrompem seu fluxo de trabalho.

O proxygmn resolve isso com:

  1. Rotação Round-Robin & Fallback Automático: Se você tem 2+ chaves, o proxy alterna entre elas automaticamente. Se uma chave recebe um erro 429 ou 503, ela entra em cooldown temporário e a requisição é redirecionada instantaneamente para outra chave ativa sem falhar.
  2. Modo Ritmo Calmo (Delay Inteligente): Se você usa apenas 1 chave, o proxy insere uma pausa inteligente configurável entre as chamadas para respeitar o teto do seu plano.
  3. Dashboard de Métricas em Tempo Real: Acompanhe o total de requisições encaminhadas, chaves ativas e o número de fallbacks acionados.

🏛️ Arquitetura

[ Google Gemini CLI ] 
       │ (GOOGLE_GEMINI_BASE_URL)
       ▼
[ proxygmn Local Proxy ] ──(Round-Robin / Fallback / Cooldown)──► [ Google AI Studio API ]
       │
       └─► Gerenciador TUI (~/.config/proxygmn/config.json)

📦 Instalação

pip install proxygmn

🚀 Como Usar

  1. Inicie o gerenciador e configure suas chaves do Google AI Studio:
    proxygmn
    
  2. Escolha a opção [1] Iniciar Gemini CLI com Proxy ativo. O proxy local subirá em background, injetará as variáveis de ambiente necessárias e abrirá o Gemini CLI com resiliência total.

English

proxygmn is a 100% local HTTP proxy and TUI manager for the Google Gemini CLI, built to ensure complete data sovereignty and key privacy, with zero intermediate servers and zero telemetry.

💡 The Problem proxygmn Solves

Free tier Google AI Studio accounts have strict Requests Per Minute (RPM) limits (typically 15 RPM). Heavy usage in Gemini CLI leads to frustrating 429 (Too Many Requests) errors.

proxygmn solves this with:

  1. Round-Robin Rotation & Automatic Fallback: With 2+ keys, traffic is automatically rotated. If a key hits 429 or 503, it goes into temporary cooldown and the request is instantly retried with another active key.
  2. Calm Mode (Smart Delay): For single-key users, an intelligent configurable delay prevents rate limits.
  3. Live Metrics Dashboard: Monitor total requests served, active keys, and fallback counts.

📦 Installation

pip install proxygmn

License

MIT

Metadata

Release files for proxygmn 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for proxygmn 0.1.2
File Size Uploaded Provenance Actions
proxygmn-0.1.2.tar.gz 13.0 kB Without provenance Details for proxygmn-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for proxygmn 0.1.2
File Interpreter ABI Platform Actions
proxygmn-0.1.2-py3-none-any.whl Python 3 none any Details for proxygmn-0.1.2-py3-none-any.whl

Total release size: 25.8 kB

Release files / proxygmn-0.1.2.tar.gz

Download URL proxygmn-0.1.2.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1e4f0017ad5d9b498e8dc57e8511c108f33e391f4146068c11d54cf708dff658
BLAKE2b-256 checksum
How to use checksums
c47733c2c9295abc2346967f07982dbf33fcadf79fe80671c1a2618adb896f21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release files / proxygmn-0.1.2-py3-none-any.whl

Download URL proxygmn-0.1.2-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
636ca91cceb21a2871a128d76988efc89e5204b101e28f926fbba12268e0d78d
BLAKE2b-256 checksum
How to use checksums
dfc0d1cf2a14ee693bbcf1ac4efc068725a0e65fee05c71d9e5a86f289737185
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Security for proxygmn 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page