{"id":13484738,"url":"https://github.com/uhyo/nitrogql","last_synced_at":"2025-05-15T09:08:06.703Z","repository":{"id":140664702,"uuid":"600447188","full_name":"uhyo/nitrogql","owner":"uhyo","description":"GraphQL + TypeScript toolchain","archived":false,"fork":false,"pushed_at":"2025-03-23T13:26:14.000Z","size":12657,"stargazers_count":323,"open_issues_count":3,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-13T01:01:42.600Z","etag":null,"topics":["graphql","typescript"],"latest_commit_sha":null,"homepage":"https://nitrogql.vercel.app","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uhyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-11T14:24:43.000Z","updated_at":"2025-05-07T13:05:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f482054-2056-41c9-9268-d85685f06f5b","html_url":"https://github.com/uhyo/nitrogql","commit_stats":{"total_commits":444,"total_committers":5,"mean_commits":88.8,"dds":0.009009009009009028,"last_synced_commit":"aad841c02cf47461b4232aae579b6e0a5b61c7c1"},"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uhyo%2Fnitrogql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uhyo%2Fnitrogql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uhyo%2Fnitrogql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uhyo%2Fnitrogql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uhyo","download_url":"https://codeload.github.com/uhyo/nitrogql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310520,"owners_count":22049470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["graphql","typescript"],"created_at":"2024-07-31T17:01:32.049Z","updated_at":"2025-05-15T09:08:01.694Z","avatar_url":"https://github.com/uhyo.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"![nitrogql logo](./assets/logo/logo-and-text.png)\n\n**GraphQL + TypeScript. Done right.**\n\n**[Documentation](https://nitrogql.vercel.app/)**\n\n# nitrogql\n\n**nitrogql** is a toolchain for using GraphQL in TypeScript projects. Main features include:\n\n## Type generation with sourcemap support.\n\nnitrogql generates TypeScript types for your GraphQL schema and queries. It also generates a sourcemap file that maps the generated types to the original GraphQL schema and queries. With sourcemaps, you will never see generated code in your IDE, and you will always be able to jump to the original source code.\n\n![VSCode's \"Peek Definition\" command showing the original GraphQL query](./assets/docs/screenshot-peek-definition.png)\n\n## Static check for GraphQL code.\n\nnitrogql can check your GraphQL code statically and guard you from any runtime errors caused by type mismatch.\n\n![Result of running `nitrogql check` on a sample project](./assets/docs/screenshot-check.png)\n\n## Installation\n\nInstall the nitrogql CLI with npm:\n\n```sh\nnpm install --save-dev @nitrogql/cli\n```\n\nThe CLI will enable you to check GraphQL files and generate types. Read more about the CLI in the [CLI documentation](https://nitrogql.vercel.app/cli).\n\nTo use GraphQL in your front-end project, you will also need to install appropriate loader.\n\nFor webpack-based projects:\n\n```sh\nnpm install --save-dev @nitrogql/graphql-loader\n```\n\nFor Rollup-based projects:\n\n```sh\nnpm install --save-dev @nitrogql/rollup-plugin\n```\n\n## Feedback wanted!\n\nDo you use [GraphQL Code Generator](https://the-guild.dev/graphql/codegen)? nitrogql wants to be a great alternative to GraphQL Code Generator.\n\nIf you are using it and you have time, read our [documentation](https://nitrogql.vercel.app/) to check whether you can replace GraphQL Code Generator with nitrogql.\n\nIf you can't, what blocks you from doing so? Please leave us feedback!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuhyo%2Fnitrogql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuhyo%2Fnitrogql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuhyo%2Fnitrogql/lists"}