Show HN: Context42 – capture your coding style from across your projects

Show HN (score: 5)
Found: July 20, 2025
ID: 415

Description

Other
Show HN: Context42 – capture your coding style from across your projects Show HN: Context42 - AI-powered style guide generator for your codebase

Hey HN,

I've been building Context42 to solve a problem that's been bugging me: getting AI to write code like me, and helping disseminate coding best practices.

The core insight is simple - your existing code is already your best style guide. Instead of debating tabs vs spaces or where to put your curly braces, Context42 analyzes your actual codebase and generates comprehensive style documentation using Google's Gemini AI.

Here's what makes it special:

1. *Language-aware analysis* - It groups files by language and generates specific style guides for each. Your TypeScript patterns won't bleed into your Python conventions.

2. *Dependency-smart processing* - It analyzes child directories before parents, building up context as it goes. This means it understands your module structure and can identify patterns that emerge across your architecture.

3. *Built for real codebases* - With configurable concurrency, resume capability, and automatic cleanup, it's designed to handle everything from small projects to massive monorepos. The terminal UI (built with Ink/React) gives you real-time progress on what's happening.

4. *Pragmatic over prescriptive* - Instead of enforcing arbitrary rules, it documents what you're already doing. This makes it easier to onboard new developers and maintain consistency without religious debates.

The technical approach is interesting too - it uses a worker pool pattern with abort controllers for graceful shutdown, SQLite for persistence (so you can resume failed runs), and a file registry system that guarantees cleanup even on crashes.

I built this because I believe the best documentation is the kind that reflects reality, not aspirations. Your code style isn't what you think it should be - it's what it actually is. And that's worth documenting.

You can check it out at: https://github.com/zenbase-ai/context42

Would love to hear your thoughts, especially if you've tackled similar problems in your teams. What's worked for you in maintaining code consistency at scale?

More from Show

Show HN: SmokeVPN – All-in-One WireGuard VPN Hub – Switch Exits in Realtime

Show HN: SmokeVPN – All-in-One WireGuard VPN Hub – Switch Exits in Realtime I have started developing a prototype of a WireGuard VPN hub, where I could set a custom exit to a specific device, for example, my TV box would use a VPN in Germany, while my desktop a VPN is Serbia and I could switch the exit in realtime without having to stop the VPN connections and consequently no disconnections (ssh, etc).<p>The project grew, and I ended up adding SOCKS5 and HTTP proxy, Tor exits, exit pools, random exits, timed exits, and exits&#x2F;routes based on domains or IP addresses. I also added an in-house DNS with several default block lists (malware, gambling, social media, etc.)<p>I found this project to have potential and decided to commercialize it, Smoke VPN was born.<p>The logs live entirely on the RAM, and I plan to open-source the full stack as soon as I get feedback from real users, people like you...<p>Can you please try the project for free for 7 days or 50 GB (whichever comes first)?<p>You don&#x27;t need an account, email or password and you can add up to 10 devices.<p>Real feedback is truly welcome!

No other tools from this source yet.