[{"data":1,"prerenderedAt":178},["ShallowReactive",2],{"page:\u002Fabout":3},{"id":4,"title":5,"body":6,"description":163,"extension":164,"frontmatter":165,"heading":168,"meta":169,"navigation":170,"order":171,"path":172,"seo":173,"sitemap":174,"source":175,"stem":176,"__hash__":177,"hasPopups":167},"site\u002Fabout.md","About",{"type":7,"value":8,"toc":149},"minimark",[9,14,18,27,35,39,47,56,59,63,75,80,88,92,100,108,112,130,138,142],[10,11,13],"h2",{"id":12},"the-meta-framework-for-code-generation","The Meta Framework for Code Generation",[15,16,17],"p",{},"Kubb is the meta framework for code generation.",[15,19,20,21,26],{},"Like Next.js on top of React, Kubb is a meta framework on top of code generation. Your OpenAPI specification is the source of truth; Kubb provides the pipeline, ",[22,23,25],"a",{"href":24},"\u002Fdocs\u002F5.x\u002Fexplanation\u002Fextensions#plugins","plugins",", and extensibility you need.",[15,28,29,30,34],{},"Every output format is an independent plugin. The core is intentionally minimal. Plugins compose. You bring your spec, configure the outputs you need, and Kubb generates everything in one ",[31,32,33],"code",{},"kubb generate"," run: TypeScript types, API clients, React Query hooks, Zod schemas, MSW handlers, and Faker mocks.",[10,36,38],{"id":37},"what-does-kubb-mean","What does \"Kubb\" mean?",[15,40,41,42,46],{},"Kubb is named after the popular Swedish lawn game ",[22,43,45],{"href":44},"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FKubb","Kubb",". The name reflects the project's philosophy: just as the game Kubb uses wooden blocks (kubbar), our Kubb uses modular plugins as building blocks.",[48,49,50,51,55],"blockquote",{},"Kubb (pronounced ",[52,53,54],"span",{},"kubː"," in Swedish and Gutnish) is a lawn game where the objective is to knock over wooden blocks (kubbar) by throwing wooden batons (kastpinnar) at them. Kubb can be described as a combination of bowling and horseshoes.",[15,57,58],{},"The name is short, sounds like \"cube\" (fitting for a modular system), and happens to be Stijn's favorite summer game.",[10,60,62],{"id":61},"project-philosophy","Project philosophy",[15,64,65,66,69,70,74],{},"Every feature in Kubb is implemented as a separate ",[22,67,68],{"href":24},"plugin",". This is what makes Kubb a ",[71,72,73],"em",{},"meta"," framework rather than a fixed code generator: there is no monolithic output, only composable pieces you assemble.",[76,77,79],"h3",{"id":78},"current-focus","Current focus",[15,81,82,83,87],{},"Kubb currently specializes in generating TypeScript code from OpenAPI\u002FSwagger specifications. To add support for a new specification format, you write a new ",[22,84,86],{"href":85},"\u002Fdocs\u002F5.x\u002Fexplanation\u002Farchitecture#adapters","adapter",". The entire plugin ecosystem works unchanged on top of it.",[10,89,91],{"id":90},"creator-and-maintainer","Creator and maintainer",[15,93,94,95,99],{},"Kubb is created and maintained by ",[22,96,98],{"href":97},"https:\u002F\u002Fstijnvanhulle.be","Stijn Van Hulle",".",[15,101,102,103,107],{},"Follow ",[22,104,106],{"href":105},"https:\u002F\u002Fbsky.app\u002Fprofile\u002Fstijnvanhulle.bsky.social","@stijnvanhulle on BlueSky"," for release announcements, new plugins, and development notes.",[10,109,111],{"id":110},"community-and-contributions","Community and contributions",[15,113,114,115,119,120,124,125,129],{},"Use ",[22,116,118],{"href":117},"https:\u002F\u002Fgithub.com\u002Fkubb-labs\u002Fkubb\u002Fdiscussions","GitHub Discussions"," for questions, ",[22,121,123],{"href":122},"https:\u002F\u002Fdiscord.gg\u002FshfBFeczrm","Discord"," for real-time chat, and ",[22,126,128],{"href":127},"https:\u002F\u002Fgithub.com\u002Fkubb-labs\u002Fkubb\u002Fissues","GitHub Issues"," for bugs and feature requests.",[15,131,132,133,137],{},"Kubb is MIT-licensed and open to contributions. Bug fixes, new plugins, and documentation improvements are all welcome. See the ",[22,134,136],{"href":135},"\u002Fdocs\u002F5.x\u002Ftutorials\u002Fcreating-plugins","plugin guide"," to build your own.",[10,139,141],{"id":140},"support-the-project","Support the project",[15,143,144,145,99],{},"If Kubb saves you time, consider ",[22,146,148],{"href":147},"https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fstijnvanhulle","sponsoring on GitHub",{"title":150,"searchDepth":151,"depth":151,"links":152},"",5,[153,155,156,160,161,162],{"id":12,"depth":154,"text":13},2,{"id":37,"depth":154,"text":38},{"id":61,"depth":154,"text":62,"children":157},[158],{"id":78,"depth":159,"text":79},3,{"id":90,"depth":154,"text":91},{"id":110,"depth":154,"text":111},{"id":140,"depth":154,"text":141},"Learn about Kubb's origin, philosophy, and plugin-based architecture. Discover why it's the meta framework for code generation and why it's named after the Swedish lawn game Kubb.","md",{"layout":166,"sidebar":167,"editLink":167,"title":5,"description":163},"doc",false,"About Kubb",{"layout":166,"sidebar":167,"editLink":167},true,null,"\u002Fabout",{"title":5,"description":163},{"loc":172},"platform\u002Fapps\u002Fkubb.dev\u002Fcontent\u002Fabout.md","about","9QyphroeR64gX5XV3ZDU69zGr7zYFhjwnCdmsL6NGS8",1792364719370]