dotansimha/graphql-code-generator — explained in plain English
Analysis updated 2026-06-24
Automatically generate TypeScript types for all your GraphQL queries and mutations so your frontend stays type-safe without manual type writing.
Generate ready-to-use React hooks for your GraphQL operations so components can call them directly with no boilerplate.
Generate Angular services that wrap your GraphQL operations for use with Angular's dependency injection system.
Write a custom plugin to output generated code in any language or format your project needs beyond the official plugins.
| dotansimha/graphql-code-generator | getumbrel/umbrel | seerr-team/seerr | |
|---|---|---|---|
| Stars | 11,243 | 11,243 | 11,245 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 3/5 | 3/5 | 3/5 |
| Audience | developer | general | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Requires an existing GraphQL schema file or endpoint URL, initial setup uses an interactive CLI wizard that asks about output format and plugins.
GraphQL Code Generator is a developer tool that reads a GraphQL schema, along with any query, mutation, or subscription files your project uses, and automatically generates code you would otherwise write by hand. The tool analyzes how your data is shaped and produces typed code that matches that shape, saving time and reducing mismatches between your data layer and the rest of your application. The output format is controlled by plugins. A set of official plugins covers common targets: TypeScript types, Angular services, React hooks, and several others. If the built-in plugins do not match your setup, you can write your own. The plugin system accepts custom templates, so the generator can produce code in any language or format your project needs. Getting started involves installing two packages, then running a setup command that asks a series of questions. The interactive setup walks you through selecting plugins, choosing an output file path, and other configuration options. After that, you run the generator whenever your schema or operations change to keep the generated code in sync. The project supports targets beyond TypeScript, including Flow, Angular, MongoDB models, and others listed in the plugin directory on the project website. There is also a live demo on the project website where you can try the generator in a browser without installing anything. The project is maintained by The Guild, an open-source software collective, and is released under the MIT license. Community-contributed plugins extend the official set, and the project welcomes pull requests from outside contributors.
A developer tool that reads your GraphQL schema and query files and automatically generates typed code, TypeScript types, React hooks, Angular services, so you don't have to write repetitive boilerplate by hand.
Mainly TypeScript. The stack also includes TypeScript, GraphQL.
Free to use for any purpose including commercial projects, you must keep the copyright notice.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.