🧩Cobalt Lets Devs Build GraphQL APIs Without Writing GraphQL Code
Your GraphQL API could skip the schema boilerplate entirely
TL;DR
Cobalt is an open-source framework that generates GraphQL APIs from plain TypeScript code. No hand-written schemas, no client codegen, no schema sync. If you're tired of glue code between your backend and frontend, this one's worth a look.
Cobalt just landed as an open-source framework that gives you GraphQL APIs without you ever writing GraphQL. Your TypeScript code becomes the schema, and the framework generates the transport layer for you. Honestly, that's a pitch most of us have wanted for years. If you've ever juggled routers, adapters, and hand-maintained schemas just to keep a client in sync, this targets exactly that pain. The single smart endpoint lets the client ask for precisely the data it needs, and the generated SDK handles types out of the box. The catch: you're adopting a fairly opinionated framework, so the tradeoff is control for speed. The footprint is the number that stood out to me. A Cobalt app context comes in at roughly 3.4k tokens across 13 files, versus 11.2k tokens across 45 files for a traditional setup. That's a much smaller surface for both humans and LLM tools to reason about. Worth watching: how Cobalt handles complex backends once you move past the simple-mode happy path.

Key Points
Cobalt uses TypeScript code as the single source of truth, so the schema is inferred directly from your functions instead of maintained in a separate GraphQL file.
Keep reading — it's free
Enter your email to keep reading — plus the best of AI & tech, daily. Free, forever.
Already a member? Sign in
Comments
Be the first to comment