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
October 24, 2025

Pro tip: cứ build thôi, đừng chưa gì đã lo scale up khi bạn chưa có user

  • Posted By : Nam Vũ/
  • 0 comments /
  • Under : Development

Sau 6 tháng trời xây dựng hẳn một hệ thống “xịn xò” cho dự án đầu tiên – nào Redis để cache, Kafka cho event handling, replica database các kiểu, load balancers tự động, đủ thứ như chuẩn bị sẵn cho hàng triệu người dùng.

Kết quả? Được… 12 người dùng.

6 tháng tập trung lo hạ tầng mà chẳng có sản phẩm nào ra mắt. Mất 6 tháng trước khi nhận ra rằng thực sự chẳng ai cần cái mình làm! Thật ra đa phần chúng ta đều hay xây dựng cho một quy mô sẽ chẳng bao giờ đến, giải quyết vấn đề mình chưa có, tối ưu hóa cho lượng truy cập mà không tồn tại.

Cái bẫy “Nhỡ đâu viral”

Quyết định kỹ thuật nào nghe cũng bắt đầu bằng “nhỡ đâu cần mở rộng?”

  • Nhỡ đâu lên trang nhất Hacker News?
  • Nhỡ đâu có 100.000 người dùng đồng thời?
  • Nhỡ đâu database chịu không nổi?
Read More

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.


Recent Comment
  • Moke on Cursor stole your ‘code’ command? Here’s how to revert it: “Thanks!” Aug 4, 20:31
  • 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
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