{"id":19011584,"url":"https://github.com/graphql-editor/graphql-demeter","last_synced_at":"2026-04-08T14:32:26.006Z","repository":{"id":216204242,"uuid":"740724136","full_name":"graphql-editor/graphql-demeter","owner":"graphql-editor","description":"Advanced Automatic GraphQL Mock Server with Faker.js and AI support.","archived":false,"fork":false,"pushed_at":"2025-05-28T08:29:39.000Z","size":146,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-22T12:41:42.671Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/graphql-editor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2024-01-08T23:45:28.000Z","updated_at":"2025-05-28T08:27:58.000Z","dependencies_parsed_at":"2024-02-19T22:51:33.067Z","dependency_job_id":"f2873524-fd82-46e9-aa0a-7630397113ab","html_url":"https://github.com/graphql-editor/graphql-demeter","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"2bdebe5513925313c7fc63b5d478d455feef8a6e"},"previous_names":["graphql-editor/graphql-demeter"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/graphql-editor/graphql-demeter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fgraphql-demeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fgraphql-demeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fgraphql-demeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fgraphql-demeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphql-editor","download_url":"https://codeload.github.com/graphql-editor/graphql-demeter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fgraphql-demeter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31559797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-08T19:14:55.630Z","updated_at":"2026-04-08T14:32:25.975Z","avatar_url":"https://github.com/graphql-editor.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL Demeter 🌾\n\n**Alpha mode warning** This is in alpha mode, but releasing soon!\n\n[![npm](https://img.shields.io/npm/v/graphql-demeter.svg)](https://www.npmjs.com/package/graphql-demeter)\n\nGraphQL Demeter is a TypeScript package and server that allows you to mock GraphQL Server responses. It provides various features such as auto-mock, AI-based mocks using OpenAI, and manual mock configuration.\n\n## Getting Started\n\nTo get started with GraphQL Demeter, follow the installation instructions below.\n\n## Installation\n\nInstall the package via npm:\n\n```\nnpm install graphql-demeter\n```\n\n## Running\nJust run the CLI on your schema.\n\n```\ndemeter schema.graphql\n```\n\nMock server should be running on port 4000\n\n## Configuration\nDemeter will automatically create config file on the first start `.graphql.demeter.js`.\nAs you can see if you provide type it will autocomplete faker values\n\n```js\n/** @type {import('graphql-demeter-core').FakerConfig} */\nconst config = {\n  objects: {\n    Card:{\n      description:{\n        values:[\"Very powerful card\", \"Most fire resistant character\", \"Good melee fighter\"]\n      },\n      name:{\n        values:[\"Zeus\", \"Athena\", \"Hera\", \"Ares\", \"Kronos\"]\n      },\n      image:{\n        fake:\"internet.avatar\"\n      }\n    }\n  },\n  scalars: {},\n  alwaysRequired: false,\n};\nmodule.exports = config\n```\nIf the `alwaysRequired` field is `true`, it will always give mock values regardless of the required `!` mark in the schema.\n\n## Development \u0026 Examples\n\n1. Clone this repository\n2. Install dependencies\n3. Run npm run run-example\n\nYou should have your server running on port 4000 with sample schema. Feel free to modify schema locally to just test it with your schema.\n\n## Roadmap\n[ ] - reload on config change\n[ ] - add ai possibilities with OpenAI Key","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphql-editor%2Fgraphql-demeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphql-editor%2Fgraphql-demeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphql-editor%2Fgraphql-demeter/lists"}