r/developersIndia • u/anonmyous-alien • 3h ago
I Made This Built a side project to see what Indian mutual funds are actually buying. Free tier of supabase egress was5gb, mine went up to 100 GB
So I've been investing for about 5 years, and one thing always bugged me. Every month I'd wonder what my fund managers actually bought and sold, and the answer was buried in PDFs and Excel files across 48 different AMC websites. Nobody's going to dig through that.
So I built something for it. It's called Thinkbrew and it covers ~600 active equity funds. You can see what each fund added or cut that month, which funds own a stock, and how much two of your funds overlap. No login, no ads, just a side project I work on after my day job.
Stack is pretty boring: Next.js on Vercel and Supabase, both on free tiers because I'm not paying for a hobby yet 😅
The fun part was everything that went wrong:
My "buying" numbers were lying. I was tracking the change in holding value, which meant that if a stock went up, it looked like funds were buying it. Zomato (Eternal) showed ₹229 cr of buying in a month when funds had actually sold ~3.9 crore shares. Felt pretty dumb when I caught that. Switched to change in quantity × month-end price and it finally made sense.
The data is a mess. Meta showed up as 6 different stocks because every AMC names it differently. Portfolios are also full of stuff that isn't really a stock (TREPS, futures, REITs, units of other funds), so I spent way more time cleaning data than building features.
Then Supabase paused my project. I posted this on reddit last month and got around 2k hits and I blew past the 5 GB free egress because every page was querying raw holdings live, and every Vercel deploy re-read 11 months of data. I moved to precomputed snapshot tables and ISR caching. Lesson learned the hard way.
Still haven't figured out stock splits and bonuses. Share counts jump overnight and it looks like a massive buy. If anyone's dealt with corporate actions in holdings data, I'd genuinely love to hear how. By the way it is open source so anyone can self host it into their own servers.