frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: OpenGem – Free, self-healing load-balanced proxy for Google Gemini API

https://github.com/arifozgun/OpenGem
1•ariozgun•2h ago
Hi HN!

I loved the official Gemini CLI authentication method to get standard Google Gemini AI access, but a single free Google account quota depletes fast.

I wanted to just build and prototype freely. So, I built OpenGem. It essentially turns your idle accounts into your own personal API provider, so developing and scaling side projects is no longer a problem.

GitHub: https://github.com/arifozgun/OpenGem

What it does: OpenGem acts as a standard drop-in replacement endpoint (POST /v1beta/models/{model}). Behind the scenes, it's a smart load balancer. You connect multiple idle/free Google accounts to the dashboard via standard OAuth, and OpenGem routes your traffic to the least-used account.

How it handles limits gracefully: If an account legitimately hits a true 429 quota limit, OpenGem instantly detects it, puts that specific account on a 60-minute cooldown, and seamlessly retries your request with the next available account. The accounts are completely self-healing—a background probe checks them every 30 seconds to see if they've recovered.

It doesn't just blindly retry, either. It uses an 8-category error classifier (50+ regex patterns) to distinguish between a brief rate-limit burst and actual quota exhaustion, and applies exponential backoff with jitter to prevent hammering the servers.

Tech specs:

- 100% compatible with official Google SDKs (@google/genai), LangChain, and standard SSE streaming. - Full support for native "tools" (Function Calling) for agentic workflows. - Raised internal payload limit to 50MB so you can throw huge documents at it. - Has a 3-model fallback chain (flash → pro → pro-3.1) if a specific model is overloaded. - AES-256-GCM encryption for all sensitive configs and OAuth tokens at rest. - Toggle between Firebase Firestore or a fully offline Local JSON database. - It’s completely open-source (MIT licensed) and written in TypeScript. It’s strictly for educational purposes and personal research to bypass the friction of prototyping.

I’m currently running it with my own side projects and it handles agent tasks flawlessly. I would love any feedback on the load balancing and self-healing logic, or just general thoughts!

New online database maps Prague's art monuments and architecture

https://english.radio.cz/new-online-database-maps-pragues-art-monuments-and-architecture-8878703
1•gnabgib•3m ago•0 comments

Open source package repositories face sustainability crisis

https://www.theregister.com/2026/02/28/open_source_opinion/
1•Anthony-G•3m ago•0 comments

Most Code Deserves to Die

https://chatbotkit.com/reflections/most-code-deserves-to-die
1•_pdp_•3m ago•1 comments

Show HN: Explain Curl Commands

https://github.com/akgitrepos/explain-my-curl
1•akgitrepos•5m ago•0 comments

Show HN: Salacia – The First Runtime OS for Agentic Coding

https://startripai.github.io/Salacia/
1•alfredhua•9m ago•0 comments

Pentagon chief blocks officers from Ivy League schools and top universities

https://fortune.com/2026/02/28/pentagon-officer-education-ivy-league-schools-universities-partner...
3•geox•9m ago•0 comments

As SuperAgers age, they make at least twice as many new neurons as their peers

https://news.northwestern.edu/stories/2026/02/as-superagers-age-they-make-at-least-twice-as-many-...
1•hhs•12m ago•0 comments

Reading Doesn't Fill a Database, It Trains Your Internal LLM

https://tidbits.com/2026/02/28/reading-doesnt-fill-a-database-it-trains-your-internal-llm/
1•TMWNN•12m ago•0 comments

Poll: Code with AI or Not?

6•bitbasher•15m ago•1 comments

Show HN: Xmloxide – an agent made rust replacement for libxml2

https://github.com/jonwiggins/xmloxide
2•jawiggins•16m ago•0 comments

All Too Quiet on the Western Neuroenhancement Front

https://warontherocks.com/2026/02/all-too-quiet-on-the-western-neuroenhancement-front/
1•hhs•16m ago•0 comments

B.A.S.E. – A standalone back end language with zero dependencies

https://github.com/igorkalen/base
1•igorkalen•16m ago•1 comments

Jails for NetBSD

https://netbsd-jails.petermann-digital.de/
1•birdculture•17m ago•1 comments

Show HN: I built a tool to translate and declutter articles for my immigrant mom

https://dulink.click/
2•dh2013•17m ago•1 comments

TOSTracker – Clause Adoption over Time

https://tostracker.app/time-series
1•tldrthelaw•18m ago•0 comments

Private Intelligence Agency (PIA) Is People

https://en.wikipedia.org/wiki/Private_intelligence_agency
1•barrister•18m ago•0 comments

Manifest (Skydeck Batch21) – open-source alternative to OpenRouter

https://manifest.build/docs/introduction
1•stosssik•19m ago•0 comments

Show HN: Claude-powered Chrome sidebar and Python automation scripts

https://nexiolabs.gumroad.com/l/nexio-ai
1•bytecraft_•19m ago•0 comments

Mercor acquires Sepal AI

https://www.orrick.com/en/News/2026/02/Mercor-Acquires-Sepal-AI
1•hhs•24m ago•0 comments

A tale of two Wayland desktops

https://troubles.noblogs.org/post/2026/02/27/a-tale-of-two-wayland-desktops/
1•nmstoker•24m ago•0 comments

Lights Out 4D

https://www.nan.ma/lights_out_4d/
1•mathgenius•30m ago•0 comments

A.I. Isn't People

https://www.todayintabs.com/p/a-i-isn-t-people
2•cratermoon•31m ago•0 comments

Show HN: OpenClaw-kapso, Give OpenClaw a stable WhatsApp number (Go, kapso.ai)

https://github.com/Enriquefft/openclaw-kapso-whatsapp
1•enriquefft•33m ago•0 comments

HN is drowning in AI comments

48•waygtdai•33m ago•34 comments

Show HN: Depth Check – Your AI tutor to learn about anything

https://depth-check.com
1•gcrowne13•35m ago•0 comments

You can use newline characters in URLs

https://lemire.me/blog/2026/02/28/you-can-use-newline-characters-in-urls/
2•chmaynard•35m ago•0 comments

Dord

https://en.wikipedia.org/wiki/Dord
2•monroewalker•38m ago•0 comments

Levallois Technique

https://en.wikipedia.org/wiki/Levallois_technique
2•pizza•41m ago•0 comments

Show HN: AxonML – A PyTorch-equivalent ML framework written in Rust

https://github.com/AutomataNexus/AxonML
3•AutomataNexus•43m ago•2 comments

Show HN: AI Agents Weekly – A newsletter by agents, for agents

https://aiagentsweekly.com
1•utshull•44m ago•0 comments