{"id":50881601,"url":"https://github.com/santifer/claude-pulse","last_synced_at":"2026-06-15T13:06:46.915Z","repository":{"id":334748033,"uuid":"1142613765","full_name":"santifer/claude-pulse","owner":"santifer","description":"SwiftBar plugin for macOS. Real-time Claude API usage monitoring with rate limit predictions and smart alerts.","archived":false,"fork":false,"pushed_at":"2026-01-26T16:37:12.000Z","size":1261,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-10T21:24:24.913Z","etag":null,"topics":["api-usage","claude","macos","monitoring","rate-limiting","swiftbar"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/santifer.png","metadata":{"files":{"readme":"README.es.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-26T16:30:04.000Z","updated_at":"2026-06-05T01:46:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/santifer/claude-pulse","commit_stats":null,"previous_names":["santifer-dev/claudepulse","santifer/claude-pulse"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/santifer/claude-pulse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santifer%2Fclaude-pulse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santifer%2Fclaude-pulse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santifer%2Fclaude-pulse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santifer%2Fclaude-pulse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santifer","download_url":"https://codeload.github.com/santifer/claude-pulse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santifer%2Fclaude-pulse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34363727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-usage","claude","macos","monitoring","rate-limiting","swiftbar"],"created_at":"2026-06-15T13:06:46.052Z","updated_at":"2026-06-15T13:06:46.870Z","avatar_url":"https://github.com/santifer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Claude Pulse\n\n\u003e [Read in English](README.md)\n\nPlugin de SwiftBar para macOS que monitoriza el uso de la API de Claude en tiempo real. Rastrea límites de uso, predice cuándo alcanzarás los topes y te ayuda a gestionar tu consumo de forma inteligente.\n\n![Claude Pulse](claude-pulse.png)\n\n## El Problema\n\nLos usuarios de Claude Code alcanzan los límites de uso inesperadamente. La API tiene dos ventanas temporales (5 horas y 7 días) con límites separados, lo que dificulta saber cuándo estás consumiendo tu cuota demasiado rápido.\n\n## La Solución\n\nClaude Pulse se sitúa en tu barra de menú y muestra:\n- **Uso en tiempo real** en ambas ventanas temporales (5h + 7d)\n- **Código de colores inteligente** — verde/amarillo/naranja/rojo según la tasa de consumo vs tiempo restante\n- **Predicciones de reset** — exactamente cuándo se restablecen tus límites\n- **Sesiones recientes** — reanudar con un clic desde la barra de menú\n- **Alertas de macOS** — notificaciones al 70% y 90% de uso\n\n## Stack Tecnológico\n\n![Bash](https://img.shields.io/badge/Bash-4EAA25?style=flat\u0026logo=gnubash\u0026logoColor=white)\n![macOS](https://img.shields.io/badge/macOS-000000?style=flat\u0026logo=apple\u0026logoColor=white)\n![SwiftBar](https://img.shields.io/badge/SwiftBar-F05138?style=flat\u0026logo=swift\u0026logoColor=white)\n![jq](https://img.shields.io/badge/jq-CB171E?style=flat\u0026logo=json\u0026logoColor=white)\n![Claude](https://img.shields.io/badge/Claude_API-191919?style=flat\u0026logo=anthropic\u0026logoColor=white)\n\n## Instalación\n\n```bash\n# 1. Instalar dependencias\nbrew install --cask swiftbar\nbrew install jq\n\n# 2. Copiar a la carpeta de plugins de SwiftBar\ncp claude-pulse.1m.sh ~/Library/Application\\ Support/SwiftBar/Plugins/\n\n# 3. Hacer ejecutable\nchmod +x ~/Library/Application\\ Support/SwiftBar/Plugins/claude-pulse.1m.sh\n```\n\n**Requisitos:**\n- macOS (usa Keychain para el token OAuth)\n- SwiftBar\n- jq\n- Sesión OAuth activa de Claude Code\n\n## Cómo Funciona\n\nEl plugin consulta la API OAuth de Anthropic cada minuto y calcula una \"tasa de consumo\" — comparando tu porcentaje de uso contra el tiempo transcurrido. Si estás usando el 50% de tu cuota pero solo ha pasado el 25% de la ventana temporal, vas camino de alcanzar el límite antes del reset.\n\n### Lógica de Colores\n\n| Color | Significado |\n|-------|-------------|\n| 🟢 Verde | A buen ritmo — tendrás cuota restante en el reset |\n| 🟡 Amarillo | 30% más rápido de lo sostenible |\n| 🟠 Naranja | 60% más rápido — reduce el ritmo |\n| 🔴 Rojo | Agotarás antes del reset |\n\n## Configuración (Opcional)\n\nCrea `~/.claude-usage-config.json`:\n\n```json\n{\n  \"alerts\": {\n    \"threshold_warning\": 70,\n    \"threshold_critical\": 90,\n    \"cooldown_minutes\": 30,\n    \"enabled\": true\n  },\n  \"display\": {\n    \"max_sessions\": 5,\n    \"show_velocity\": true,\n    \"show_streak\": true,\n    \"show_predictions\": true\n  }\n}\n```\n\n## Licencia\n\nMIT\n\n## Let's Connect\n\n[![Website](https://img.shields.io/badge/santifer.io-000?style=for-the-badge\u0026logo=safari\u0026logoColor=white)](https://santifer.io)\n[![LinkedIn](https://img.shields.io/badge/LinkedIn-0A66C2?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white)](https://linkedin.com/in/santifer)\n[![Email](https://img.shields.io/badge/Email-EA4335?style=for-the-badge\u0026logo=gmail\u0026logoColor=white)](mailto:hola@santifer.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantifer%2Fclaude-pulse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantifer%2Fclaude-pulse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantifer%2Fclaude-pulse/lists"}