{"id":13396972,"url":"https://github.com/lucasepe/modgv","last_synced_at":"2025-04-05T02:09:20.228Z","repository":{"id":37096348,"uuid":"294981550","full_name":"lucasepe/modgv","owner":"lucasepe","description":"Converts 'go mod graph' output into Graphviz's DOT language","archived":false,"fork":false,"pushed_at":"2023-02-23T09:21:20.000Z","size":138,"stargazers_count":484,"open_issues_count":1,"forks_count":22,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-07-31T18:18:34.946Z","etag":null,"topics":["dependencies","golang","graphviz","viewer"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucasepe.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-12T16:23:46.000Z","updated_at":"2024-07-24T14:24:18.000Z","dependencies_parsed_at":"2024-06-18T16:47:16.790Z","dependency_job_id":null,"html_url":"https://github.com/lucasepe/modgv","commit_stats":{"total_commits":11,"total_committers":3,"mean_commits":"3.6666666666666665","dds":"0.18181818181818177","last_synced_commit":"963e14b652d0d4a65cc6cdda1a5a0bc12482986e"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasepe%2Fmodgv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasepe%2Fmodgv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasepe%2Fmodgv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasepe%2Fmodgv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucasepe","download_url":"https://codeload.github.com/lucasepe/modgv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276164,"owners_count":20912288,"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":["dependencies","golang","graphviz","viewer"],"created_at":"2024-07-30T18:01:08.594Z","updated_at":"2025-04-05T02:09:20.199Z","avatar_url":"https://github.com/lucasepe.png","language":"Go","readme":"# modgv\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/lucasepe/modgv)](https://goreportcard.com/report/github.com/lucasepe/modgv) \u0026nbsp;\u0026nbsp;\u0026nbsp; [![Go API Reference](https://img.shields.io/badge/go-docs-blue.svg?style=flat)](https://pkg.go.dev/github.com/lucasepe/modgv?tab=doc) \u0026nbsp;\u0026nbsp;\u0026nbsp; [![Mentioned in Awesome Go](https://awesome.re/mentioned-badge-flat.svg)](https://github.com/avelino/awesome-go#package-management)\n\nConverts 'go mod graph' output into [GraphViz](https://graphviz.gitlab.io/download/)'s DOT language.\n\n- takes no options or arguments\n- it reads the output generated by “go mod graph” on stdin\n- generates a DOT language and writes to stdout\n\n## Usage:\n\n```bash\ngo mod graph | modgv | dot -Tpng -o graph.png\n```\n\nFor each module:\n- the node representing the greatest version (i.e., the version chosen by Go's MVS algorithm) is colored green\n- other nodes, which aren't in the final build list, are colored grey\n\n## Installation\n\n### From [binary releases](https://github.com/lucasepe/modgv/releases) (macOS, Windows, Linux)\n\nmemo currently provides pre-built binaries for the following:\n\n- macOS (Darwin)\n- Windows\n- Linux\n\n1. Download the appropriate version for your platform from [memo releases](https://github.com/lucasepe/modgv/releases).\n\n2. Once downloaded unpack the archive (zip for Windows; tarball for Linux and macOS) to extract the executable binary. \n\n3. If you want to use from any location you must put the binary executable to your `Path` or add the directory where is it to the environment variables.\n\n### Using [`Go`](https://go.dev/dl/) toolchain\n\n```bash\ngit clone https://github.com/lucasepe/modgv.git\ncd modgv\ngo install\n```\n\nHere 👉 https://graphviz.gitlab.io/download/ how to install [GraphViz](https://graphviz.gitlab.io/download/) for your OS.\n\n## Sample output (PNG)\n\n```bash\ngo mod graph | modgv | dot -Tpng -o graph.png\n```\n\n![](./graph.png)\n\n---\n\n## Sample output (PDF with clickable links to module docs)\n\n```bash\ngo mod graph | modgv | dot -Tps2 -o graph.ps\nps2pdf graph.ps graph.pdf\n```\n\n\n","funding_links":[],"categories":["Go","Package Management","包管理","Go语言包管理","Relational Databases"],"sub_categories":["HTTP Clients","HTTP客户端","ORM","OpenGL"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasepe%2Fmodgv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucasepe%2Fmodgv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasepe%2Fmodgv/lists"}