TypeScript Codegen

Open-source TypeScript projects categorized as Codegen

Top 23 TypeScript Codegen Projects

  1. graphql-code-generator

    A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. orval

    orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺

    Project mention: Stop Writing Types Twice: A Fullstack TypeScript Playbook | dev.to | 2026-04-08

    This post walks through a pipeline where you define your data shape once as a Zod schema on the backend, and every other layer (API docs, frontend types, React Query hooks) is generated from it automatically using Orval. Change the schema, regenerate, and TypeScript tells you exactly what broke. Across the entire stack.

  4. openapi-ts

    🌀 OpenAPI to TypeScript codegen. Production-grade SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.

    Project mention: What Is DaloyJS? A Beginner-Friendly Tour of a Contract-First TypeScript Framework | dev.to | 2026-05-30

    Once your API has an OpenAPI spec, you can run one command and get a fully typed fetch client out of it (DaloyJS uses Hey API for this). Your frontend can call your backend with full autocomplete and type checking, and that client regenerates whenever your contract changes. Less guessing, fewer "what does this endpoint return again?" moments.

  5. openapi-typescript-codegen

    NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification

  6. graphql-zeus

    GraphQL client and GraphQL code generator with GraphQL autocomplete library generation ⚡⚡⚡ for browser,nodejs and react native ( apollo compatible )

  7. web-codegen-scorer

    Web Codegen Scorer is a tool for evaluating the quality of web code generated by LLMs.

    Project mention: Ng-News 25/38: Angular + AI Developer Event, S1ngularity Strikes Again | dev.to | 2025-09-26

    View on GitHub

  8. arri

    Arri RPC is a code-first RPC framework for end-to-end type safety in any language

    Project mention: How I built JavaScript's fastest "deep equals" function | dev.to | 2025-07-12

    The performance increase can be dramatic — if this is your first time seeing this technique, this video by the author of arri does a great job covering why it's fast, and how it works.

  9. branchlet

    Branchlet: A simple CLI Git worktree manager

    Project mention: Show HN: Branchlet – Git Worktree TUI for Claude Code/Cursor/Codex etc. | news.ycombinator.com | 2025-08-28
  10. nuxt-graphql-client

    ⚡️ Minimal GraphQL Client + Code Generation for Nuxt3

  11. skir

    Protobuf reimagined for today

    Project mention: Skir, modern alternative to Protobuf, now supports 9 languages | news.ycombinator.com | 2026-04-02
  12. contentful-typescript-codegen

    Generate TypeScript interfaces from a Contentful environment

  13. rete-studio

    A general-purpose code generation tool powered by Rete.js

  14. rapini

    :leafy_green: OpenAPI to React Query (or SWR) & Axios

  15. The-Creator-AI

    AI Coding assistant for large and complex codebases.

  16. graphql-ts-client

    Typescript DSL for GraphQL.

  17. vratix-expressjs-api-modules

    Instantly build Node.js API backend services with Vratix 🚀. A collection of open-source, production-ready API modules for Express.js written in TypeScript. Supports authentication, Stripe billing, email integrations (Postmark), AWS S3 uploads, Docker configs, and more!

  18. vibes.diy

    Shareable apps in seconds

    Project mention: We stopped roadmap work for a week and fixed 189 bugs | news.ycombinator.com | 2025-11-23

    Damn I just deleted another 29k loc https://github.com/VibesDIY/vibes.diy/pull/635

    Code slows you down, always worth cleaning up. Yes, the business case is aligned with both the past bloat, and the current cleanup.

  19. kubernate

    Kubernetes+Generate = Kubernate❤️

  20. type-predicate-generator

    Type safe predicate generator for TypeScript

  21. python-ts-graphql-demo

    Demo project to demonstrate how an asyncio Python project with SQLAlchemy and Strawberry can have a great typed DX on the frontend via codegen and TypeScript React hooks.

  22. graphql-codegen-vscode

    vscode extension which runs graphql-codegen whenever you save a query/mutation

  23. apigen-ts

    Generate a fully typed TypeScript fetch client from OpenAPI/Swagger in one file. Supports OpenAPI 2.0, 3.0, and 3.1.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

TypeScript Codegen discussion

Log in or Post with

TypeScript Codegen related posts

  • Hey API – OpenAPI to TypeScript in Seconds

    1 project | news.ycombinator.com | 18 May 2026
  • Generate TanStack Query Hooks from OpenAPI: Own the Last Mile

    2 projects | dev.to | 11 May 2026
  • Stop Writing Types Twice: A Fullstack TypeScript Playbook

    3 projects | dev.to | 8 Apr 2026
  • Skir, modern alternative to Protobuf, now supports 9 languages

    3 projects | news.ycombinator.com | 2 Apr 2026
  • Parsing Filter Expressions in NestJS with a Context-Free Grammar

    2 projects | dev.to | 25 Mar 2026
  • Tsarr: a type-safe TypeScript SDK & CLI for the Servarr ecosystem

    4 projects | dev.to | 13 Mar 2026
  • We stopped roadmap work for a week and fixed 189 bugs

    2 projects | news.ycombinator.com | 23 Nov 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 9 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Codegen projects in TypeScript? This list will help you:

# Project Stars
1 graphql-code-generator 11,253
2 orval 6,056
3 openapi-ts 4,905
4 openapi-typescript-codegen 3,371
5 graphql-zeus 1,975
6 shortlink 769
7 web-codegen-scorer 748
8 arri 506
9 branchlet 482
10 nuxt-graphql-client 401
11 skir 303
12 contentful-typescript-codegen 293
13 rete-studio 227
14 rapini 178
15 The-Creator-AI 160
16 graphql-ts-client 150
17 vratix-expressjs-api-modules 139
18 vibes.diy 127
19 kubernate 118
20 type-predicate-generator 102
21 python-ts-graphql-demo 97
22 graphql-codegen-vscode 71
23 apigen-ts 54

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that TypeScript is
the 2nd most popular programming language
based on number of references?