{"repo":"itxashancode/Galaxy-Brain-Automation","free":true,"listed":false,"github":"https://github.com/itxashancode/Galaxy-Brain-Automation","clone":"git clone https://github.com/itxashancode/Galaxy-Brain-Automation.git","description":"Python bot that auto-discovers GitHub Discussion threads and generates answers via 18+ free AI models through OpenRouter. Features circuit breakers, adaptive rate limiting, multi-model rotation, badge progress tracking, and Discord/Slack webhooks. Built for research and educational use.","language":"Python","stars":19,"topics":["ai-bot","automation","badge","bot","circuit-breaker","developer-tools","educational","github-actions","github-api","github-discussions"],"license":null,"category":"workflow-automation","readme_excerpt":"--- ⚠️ Heads up before you run anything. This is an educational project. It demonstrates GitHub GraphQL automation, multi-model LLM orchestration, and how production-grade HTTP clients handle failure. Running it blind against real repos without reading the output could get your GitHub account flagged. Read GitHub's Acceptable Use Policy first. This isn't to cover bases — it's because the bot is powerful enough to do real damage if you're careless with it. --- What it actually does Galaxy Brain Bot finds open GitHub Discussion threads, generates answers using free LLMs through OpenRouter, and optionally posts them under your account. It then watches for accepted answers so you can track your Galaxy Brain badge progress. The interesting part isn't the badge farming. It's the infrastructure underneath: circuit breakers, adaptive rate limiting, key rotation, TTL caching, graceful shutdown. These are the patterns any production bot needs, and they're all here in readable Python. --- Architecture deep-dive How the pieces connect CircuitBreaker — the failure handler This is the most underrated piece in the codebase. Without it, when an endpoint goes down, the bot hammers it until the session ends. Three states. Closed means everything's fine — requests go through. Open means something broke — requests are blocked without hitting the endpoint. Half-open means the timeout expired and one probe gets through. If it succeeds, back to closed. If it fails, back to open. You can tune CIRCUI","default_branch":null,"files":null,"tree":[],"storefront":"/r/itxashancode","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/itxashancode/Galaxy-Brain-Automation/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}