frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

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

https://github.com/zenbase-ai/context42
3•knrz•8h ago
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?

Comments

NitpickLawyer•2h ago
New LLM test: is context7 larger than context42? :)
ramon156•55m ago
What happens on conflicts? What if two styles are used in the exact same amount of time?
knrz•6m ago
I'm not sure what you mean by "same amount of time"

You can check out the full prompt here, maybe this answers your question: https://github.com/zenbase-ai/context42/blob/main/src/lib/ge...

This prompt is used to synthesize subdirectories

Show HN: ggc – A terminal-based Git CLI written in Go

https://github.com/bmf-san/ggc
4•bmf-san•3d ago•0 comments

Show HN: MCP server for Blender that builds 3D scenes via natural language

https://blender-mcp-psi.vercel.app/
20•prono•4h ago•7 comments

Show HN: Am-I-vibing, detect agentic coding environments

https://github.com/ascorbic/am-i-vibing
57•ascorbic•17h ago•26 comments

Show HN: Display Photos on a World Map

https://worldsnap.surge.sh/
29•stagas•3d ago•2 comments

Show HN: New Audiobook Generator for Nvidia Using Chatterbox TTS

https://github.com/cpttripzz/Chatterblez
3•beboplifa•4h ago•2 comments

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

https://github.com/zenbase-ai/context42
3•knrz•8h ago•3 comments

Show HN: Molab, a cloud-hosted Marimo notebook workspace

https://molab.marimo.io/notebooks
115•akshayka•1d ago•20 comments

Show HN: OrioleDB Beta12 Features and Benchmarks

https://www.orioledb.com/blog/orioledb-beta12-benchmarks
53•akorotkov•4d ago•11 comments

Show HN: I built library management app for those who outgrew spreadsheets

https://www.librari.io/
85•hmkoyan•1d ago•51 comments

Show HN: Insert yourself into that viral coldplay cheating video

https://modelplayground.ai/apps/mh702174h6ws934td3eq5aa67d7m0ht4
22•abhi3188•15h ago•0 comments

Show HN: Improving search ranking with chess Elo scores

https://www.zeroentropy.dev/blog/improving-rag-with-elo-scores
190•ghita_•3d ago•64 comments

Show HN: I built a simple study app and got 60 users so far:')

https://apps.apple.com/us/app/noggn-ai/id6747649185
2•iboshidev•12h ago•0 comments

Show HN: PlutoFilter- A single-header, zero-allocation image filter library in C

https://github.com/sammycage/plutofilter
79•sammycage•6d ago•16 comments

Show HN: Simulating autonomous drone formations

https://github.com/sushrut141/ketu
21•wanderinglight•4d ago•6 comments

Show HN: I created a new game: countdown

https://8bitretro.games
2•magikMaker•15h ago•1 comments

Show HN: Transform passive YouTube watching into active learning

https://www.notetubeai.com/
3•AzharKhann•15h ago•0 comments

Show HN: 0xDEAD//TYPE – A fast-paced typing shooter with retro vibes

https://0xdeadtype.theden.sh/
115•theden•1w ago•28 comments

Show HN: Shoggoth Mini – A soft tentacle robot powered by GPT-4o and RL

https://www.matthieulc.com/posts/shoggoth-mini
594•cataPhil•4d ago•107 comments

Show HN: I built this to talk Danish to my girlfriend – works with any language

https://menerdu.vercel.app/
204•lil_csom•6d ago•108 comments

Show HN: Mochi Invaders – Like Space Invaders but for Practicing Japanese Kana

https://xenodium.com/mochi-invaders-now-on-the-app-store
13•xenodium•4d ago•4 comments

Show HN: We made our own inference engine for Apple Silicon

https://github.com/trymirai/uzu
181•darkolorin•4d ago•46 comments

Show HN: BloomSearch – Keyword search with hierarchical Bloom filters

https://github.com/danthegoodman1/bloomsearch
65•dangoodmanUT•6d ago•13 comments

Show HN: I built an AI agent that helps me invest

https://github.com/lastmile-ai/mcp-agent/tree/main/examples/usecases/mcp_realtor_agent
4•haniehz•20h ago•2 comments

Show HN: Interactive Bash tutorial that runs in the browser

https://sandbox.bio/tutorials/bash-script
8•raboukhalil•1d ago•0 comments

Show HN: Beyond Z²+C, Plot Any Fractal

https://www.juliascope.com/
101•akunzler•4d ago•26 comments

Show HN: ArchGW – An intelligent edge and service proxy for agents

https://github.com/katanemo/archgw/
117•honorable_coder•1w ago•15 comments

Show HN: Ten years of running every day, visualized

https://nodaysoff.run
953•friggeri•1w ago•485 comments

Show HN: The HTML Maze – Escape an eerie labyrinth built with HTML pages

https://htmlmaze.com/
63•kyrylo•5d ago•21 comments

Show HN: I made a scan app in the skeuomorphic style of iOS 6.0

https://apps.apple.com/us/app/scan-convert-to-pdf/id6727013863
5•JulienLacr0ix•11h ago•2 comments

Show HN: A 'Choose Your Own Adventure' written in Emacs Org Mode

https://tendollaradventure.com/sample/
153•dskhatri•3d ago•25 comments