{"id":13499568,"url":"https://github.com/sheerun/graphqlviz","last_synced_at":"2025-04-08T02:43:00.261Z","repository":{"id":5968191,"uuid":"54353510","full_name":"sheerun/graphqlviz","owner":"sheerun","description":"GraphQL Server schema visualizer","archived":false,"fork":false,"pushed_at":"2023-02-12T04:02:08.000Z","size":1633,"stargazers_count":739,"open_issues_count":7,"forks_count":54,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-01T01:42:41.199Z","etag":null,"topics":["cli","graphql","graphviz"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/sheerun.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-03-21T02:22:06.000Z","updated_at":"2025-03-31T08:20:51.000Z","dependencies_parsed_at":"2023-02-18T15:50:22.360Z","dependency_job_id":null,"html_url":"https://github.com/sheerun/graphqlviz","commit_stats":{"total_commits":61,"total_committers":11,"mean_commits":5.545454545454546,"dds":0.4098360655737705,"last_synced_commit":"95851ab96495660b471fe82811aaf37a1d9fb238"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheerun%2Fgraphqlviz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheerun%2Fgraphqlviz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheerun%2Fgraphqlviz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheerun%2Fgraphqlviz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sheerun","download_url":"https://codeload.github.com/sheerun/graphqlviz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247767232,"owners_count":20992538,"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":["cli","graphql","graphviz"],"created_at":"2024-07-31T22:00:35.299Z","updated_at":"2025-04-08T02:43:00.241Z","avatar_url":"https://github.com/sheerun.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Tools","\u003ca name=\"JavaScript\"\u003e\u003c/a\u003eJavaScript","graphql"],"sub_categories":["Julia Libraries","OCaml Libraries","Crystal Libraries"],"readme":"# graphqlviz [![Build Status](https://travis-ci.org/sheerun/graphqlviz.svg?branch=master)](https://travis-ci.org/sheerun/graphqlviz)\n\n\u003e GraphQL Server CLI visualizer. Adapted from original [web interface](https://github.com/NathanRSmith/graphql-visualizer).\n\n![](demo.gif)\n\n## CLI\n\n```\n$ npm install -g graphqlviz\n```\n\n```\nGraphQL Server CLI visualizer\n\nOptions:\n  -t, --theme      path to theme overrides\n  --print-theme    prints default theme to stdout\n  --verbose        print introspection result\n  -a --auth       set Authorization header for graphql server\n\nUsage\n  $ graphqlviz [url]\n      Renders dot schema from [url] endpoint\n\nExamples\n  $ graphqlviz https://localhost:3000 | dot -Tpng -o graph.png\n  $ graphqlviz https://localhost:3000 -a \"Bearer xxxxx\" | dot -Tpng -o graph.png\n  $ graphqlviz https://swapi.apis.guru | dot -Tpng | open -f -a Preview\n  $ graphqlviz path/to/schema.json | dot -Tpng | open -f -a Preview\n  $ graphqlviz path/to/schema.graphql | dot -Tpng | open -f -a Preview\n  $ graphqlviz --print-theme \u003e theme.json\n  $ graphqlviz https://localhost:3000 -t theme.json | dot -Tpng | open -f -a Preview\n  $ graphqlviz schema.json --theme.header.invert=true | dot -Tpng \u003e schema.png\n```\n\nNote that `dot` is `graphviz`'s tool to produce layered drawings of directed graphs. `graphviz` is available through most package managers including homebrew and apt-get. Details here: https://www.graphviz.org/download/\n\n## Customizing output\n\nYou can print default theme with `graphqlviz --print-theme \u003e theme.json`, then you can modify it, and pass with `--theme theme.json` argument. All the available colors can be found on the [graphviz site](http://www.graphviz.org/doc/info/colors.html). \n\n## Windows Users\n\nWindows users looking use the `dot` command should download \u0026 install from the [graphviz website](https://graphviz.gitlab.io/_pages/Download/Download_windows.html) and ensure the installation location is on the system `PATH`. It has been reported that, for at least some windows versions, the `msi` does not automatically add the installation to the `PATH`. Alternatively the executables can be invoked directly. The installation location will likely be similar to `C:\\Program Files (x86)\\Graphviz2.38\\bin\\`.\n\n## Mac Users\n\nMac users can install the `dot` command as part of [graphviz](https://www.graphviz.org) (from AT\u0026T and Bell Labs) by running:\n\n```\nbrew install graphviz\n```\n\n## Team\n\n[![Adam Stankiewicz](https://avatars3.githubusercontent.com/u/292365?s=130)](https://sheerun.net) | [![Nathan Smith](https://avatars1.githubusercontent.com/u/1530197?s=130)](http://nathanrandal.com/) | [![Join](https://s28.postimg.org/hcy7aq9nh/42.png)](https://github.com/sheerun/graphqlviz/pulls)\n---|---|---\n[Adam Stankiewicz](https://sheerun.net) | [Nathan Smith](http://nathanrandal.com/) | [Join](https://github.com/sheerun/graphqlviz/pulls)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheerun%2Fgraphqlviz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheerun%2Fgraphqlviz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheerun%2Fgraphqlviz/lists"}