Imagine binding your frontend to your backend with a single command. The idea fascinated me as much as I am fascinated by open source developers—people who build tools that revolutionize tech simply for the love of it. That is why I am building Binder. Available on npm. Although still a "young" CLI tool. v0.1.7 on its way (someday). One command: binder bind ./src/components/Dashboard.tsx Binder scans your mock data shapes, matches them to your API hooks (OpenAPI → Orval, TanStackQuerry), then rewrites your React components using AST surgery. No regex (Tried that one, don't do it; it doesn't work). No broken syntax. The agentic architecture: Heuristic matcher does the heavy lifting (key similarity, CRUD intent detection). LLM Architect steps in only when the matcher is uncertain Surgeon executes deterministic AST changes The persistent memory: Every issue I encountered—weird prop spreads, renamed fields, nested data mismatches— got added to the agent's memory. Binder is essentially fine-tuned to be a master at one task: finding the backend and binding it to your React component. No generic AI. Just a focused tool that learns your project's patterns and stops making the same mistake twice. Still building. Still breaking things. But the path is clear. What can it actually do today? If you follow convention—mock usage (no const imports, just inline mocks)—Binder matches it heuristically, does the swap, tests it against the TypeScript compiler, and delivers 100% working code. and this works on 100% cases. I am testing extreme cases to trigger the LLM Architect. The self-healing works: it goes from 8 errors down to 2. But it never delivers after more than 5 attempts max. Still, it self-heals. It never repeats the same mistake twice. And it has gotten surprisingly good at catching nested prop data. You can configure MCP tools, to give binder "eyes". It is not perfect, but it's getting smarter every time it fails. And I love it ... Fully OpenSource : https://lnkd.in/e-PEpzYv Break it if you want, happy hacking. #OpenSource #TypeScript #React #Agentic #HeuristicMatching #PersistentMemory #DevTools #Binder

To view or add a comment, sign in

Explore content categories