Nam Vu Personal Site
  • Home
  • My Works
  • My Photos
  • My Blog
  • Pet Projects
  • Freebies
  • About
Nam Vu Personal SiteNam Vu Personal SiteNam Vu Personal SiteNam Vu Personal Site
  • Home
  • My Works
  • My Photos
  • My Blog
  • Pet Projects
  • Freebies
  • About
June 5, 2025

Don’t you hate seeing these 429 errors in Cline?

  • Posted By : Nam Vũ/
  • 0 comments /
  • Under : Development
image
Don't you hate seeing these 429 errors in Cline? 2

Yeah me too. If you’re seeing this you’re one of the cheapskates like me who likes vibe-coding with Cline with Google’s free Gemini API. And if you’ve seen these you’ve definitely have a handful of API keys that you swap out every once in a while. It gets tedious fast, and you probably want an auto key rotator in Cline. It’s actually one of the most requested features but they haven’t implemented it yet.

Well I don’t have something like that, but I have the next best thing: a relay server that contains all your API keys, sitting between your Cline and Google API endpoint, and swap out a new key in a round-robin fashion when there’s requests.

TLDR: here’s the Github repo

https://github.com/vnt87/geminiproxy-worker/

This is my first opensource non front-end project.

To be clear, this wasn’t my original idea. I found a project by Chakshu Gautam that implement this proxy server but written in Go. It is pretty cool and is deployable via Docker, and I’m sure a lot of folks over on r/selfhosted are going to love that.

But I already have 50+ containers on my poor mini server at home that also doubles as my wife’s HTPC. So I set out to adapt that Go-based project into JS/TS so they can be deployed as a Worker via Cloudflare’s Edge Computing infrastructure. I recently had to deploy a similar Worker project that acts as a API relay server for Telegram so my n8n bots can continue to operate after our very competent administration decided to ban it out of nowhere.


February 24, 2021

Hosting my own Netflix on an ancient Mac Mini 2011

  • Posted By : Nam Vũ/
  • 1 comments /
  • Under : Tips & Tricks
F118CfL
Hosting my own Netflix on an ancient Mac Mini 2011 5

(This is not really a guide or a tutorial, you may get some tips on how to setup a reverse proxy to access your server from your own domain, but if you’re here looking for a full blown media server setup guide, you’re in the wrong place)

I’m sure I’m not the first to have setup a little media server at home serving all kinds of, um, totally legal content that you obtained from the Internet. But accessing it outside of your home has always been something that I never got around to do.

Until this Tet holiday that is.

Since I had to spend like 4-5 days at my inlaws during these times, I knew Netflix alone ain’t gonna cut it, especially since I’ve pretty much watched everything that worth watching on it. I need to be able to access my quality contents that were sitting under my TV in my bedroom, a hundred kilometer away.

phimhub jelly
Jellyfin running perfectly on my inlaws’ smart TV

Anywho, enough rambling. You want to know how I set it up. Read on.

Read More

Recent Comment
  • junior pro on Cursor stole your ‘code’ command? Here’s how to revert it: “Thanks” Jun 9, 21:04
  • User on Cursor stole your ‘code’ command? Here’s how to revert it: “Useful. Thanks” May 8, 21:39
  • Super on Cursor stole your ‘code’ command? Here’s how to revert it: “Thanks” Apr 11, 19:13
  • Hyper on Cursor stole your ‘code’ command? Here’s how to revert it: “Thanks” Mar 12, 15:39
  • helmut on “Invalid Location” error when trying to add SynoCommunity Repo: “nice ty” Jan 13, 22:36
Categories
  • AI Apps
  • AI Art
  • Design
  • Development
  • DIY
  • Freebies
  • GameDev
  • Home Networking
  • Linux
  • Music
  • My Apps
  • Randomness
  • Rants
  • Side Projects
  • Songs I like
  • Tips & Tricks
  • Tributes
  • Uncategorized
  • UX Design