{"id":34117678,"url":"https://github.com/goark/depm","last_synced_at":"2026-03-11T13:41:21.806Z","repository":{"id":43214828,"uuid":"308808951","full_name":"goark/depm","owner":"goark","description":"Visualize depndency packages and modules","archived":false,"fork":false,"pushed_at":"2024-12-24T12:42:47.000Z","size":1813,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-17T05:30:02.956Z","etag":null,"topics":["command-line-tool","dependency-graph","go","golang","golang-application","module","package"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goark.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}},"created_at":"2020-10-31T05:13:58.000Z","updated_at":"2025-04-30T09:13:04.000Z","dependencies_parsed_at":"2022-09-02T11:01:16.193Z","dependency_job_id":null,"html_url":"https://github.com/goark/depm","commit_stats":null,"previous_names":["spiegel-im-spiegel/depm"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/goark/depm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goark%2Fdepm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goark%2Fdepm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goark%2Fdepm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goark%2Fdepm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goark","download_url":"https://codeload.github.com/goark/depm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goark%2Fdepm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30382674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T12:49:11.341Z","status":"ssl_error","status_checked_at":"2026-03-11T12:46:41.342Z","response_time":84,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["command-line-tool","dependency-graph","go","golang","golang-application","module","package"],"created_at":"2025-12-14T20:36:07.347Z","updated_at":"2026-03-11T13:41:21.800Z","avatar_url":"https://github.com/goark.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [depm] -- Visualize depndency packages and modules\n\n[![check vulns](https://github.com/goark/depm/workflows/vulns/badge.svg)](https://github.com/goark/depm/actions)\n[![lint status](https://github.com/goark/depm/workflows/lint/badge.svg)](https://github.com/goark/depm/actions)\n[![GitHub license](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/goark/depm/master/LICENSE)\n[![GitHub release](https://img.shields.io/github/release/goark/depm.svg)](https://github.com/goark/depm/releases/latest)\n\nThis package is required Go 1.19 or later.\n\n**Migrated repository to [github.com/goark/depm][depm]**\n\n## Download and Build\n\n```\n$ go install github.com/goark/depm@latest\n```\n\n### Binaries\n\nSee [latest release](https://github.com/goark/depm/releases/latest).\n\n## Usage\n\n```\n$ depm -h\nVisualize depndency packages and modules.\n\nUsage:\n  depm [flags]\n  depm [command]\n\nAvailable Commands:\n  completion  Generate the autocompletion script for the specified shell\n  help        Help about any command\n  list        list modules\n  module      analyze depndency modules\n  package     analyze depndency packages\n  version     print the version number\n\nFlags:\n      --cgo-enabled string   set CGO_ENABLED environment variable\n      --debug                for debug\n      --goarch string        set GOARCH environment variable\n      --goos string          set GOOS environment variable\n  -h, --help                 help for depm\n\nUse \"depm [command] --help\" for more information about a command.\n```\n\n### Analyze Depndency Packages\n\n```\n$ depm package -h\nanalyze depndency packages.\n\nUsage:\n  depm package [flags] [package import path]\n\nAliases:\n  package, pkg, p\n\nFlags:\n      --dot                 output by DOT language\n      --dot-config string   config file for DOT language\n  -h, --help                help for package\n  -i, --include-internal    include internal packages\n  -s, --include-standard    include standard Go library\n\nGlobal Flags:\n      --cgo-enabled string   set CGO_ENABLED environment variable\n      --debug                for debug\n      --goarch string        set GOARCH environment variable\n      --goos string          set GOOS environment variable\n\n$ cd /path/to/depm\n$ depm package | jq .\n[\n  {\n    \"Package\": {\n      \"ImportPath\": \"github.com/BurntSushi/toml\",\n      \"Module\": {\n        \"Path\": \"github.com/BurntSushi/toml\",\n        \"Version\": \"v1.0.0\",\n        \"License\": \"MIT\"\n      }\n    }\n  },\n  {\n    \"Package\": {\n      \"ImportPath\": \"github.com/emicklei/dot\",\n      \"Module\": {\n        \"Path\": \"github.com/emicklei/dot\",\n        \"Version\": \"v0.16.0\",\n        \"License\": \"MIT\"\n      }\n    }\n  },\n...\n```\n\n### Analyze Depndency Modules\n\n```\n$ depm module -h\nanalyze depndency modules.\n\nUsage:\n  depm module [flags] [package import path]\n\nAliases:\n  module, mod, m\n\nFlags:\n  -u, --check-update        check updating module\n      --dot                 output by DOT language\n      --dot-config string   config file for DOT language\n  -h, --help                help for module\n  -i, --include-internal    include internal packages\n\nGlobal Flags:\n      --cgo-enabled string   set CGO_ENABLED environment variable\n      --debug                for debug\n      --goarch string        set GOARCH environment variable\n      --goos string          set GOOS environment variable\n\n$ cd /path/to/depm\n$ depm module | jq .\n[\n  {\n    \"Module\": {\n      \"Path\": \"github.com/BurntSushi/toml@v1.0.0\",\n      \"License\": \"MIT\",\n      \"Packages\": [\n        \"github.com/BurntSushi/toml\"\n      ]\n    }\n  },\n  {\n    \"Module\": {\n      \"Path\": \"github.com/emicklei/dot@v0.16.0\",\n      \"License\": \"MIT\",\n      \"Packages\": [\n        \"github.com/emicklei/dot\"\n      ]\n    }\n  },\n  ...\n```\n\n### Output DOT Language Format with Configuration File\n\n```toml\n[node]\n  fontname = \"Inconsolata\"\n[edge]\n  color = \"red\"\n```\n\n```\n$ cd /path/to/depm\n$ depm module --dot --dot-config dotenc/sample.toml | dot -Tpng -o output.png\n```\n\n[![output.png](./output.png)](./output.png)\n\n### Output List of Modules (compatible 'go list -m' command)\n\n```\n$ depm list -h\nlist modules, compatible 'go list -m' command\n\nUsage:\n  depm list [flags] [package import path]\n\nAliases:\n  list, lst, l\n\nFlags:\n  -u, --check-update   check updating module\n  -h, --help           help for list\n  -j, --json           output by JSON format\n\nGlobal Flags:\n      --cgo-enabled string   set CGO_ENABLED environment variable\n      --debug                for debug\n      --goarch string        set GOARCH environment variable\n      --goos string          set GOOS environment variable\n\n$ cd /path/to/depm\n$ depm list\ngithub.com/BurntSushi/toml v1.0.0\ngithub.com/emicklei/dot v0.16.0\ngithub.com/goark/depm\ngithub.com/goark/errs v1.1.0\ngithub.com/goark/gocli v0.12.0\ngithub.com/google/licenseclassifier v0.0.0-20210722185704-3043a050f148\ngithub.com/sergi/go-diff v1.0.0\ngithub.com/spf13/cobra v1.4.0\ngithub.com/spf13/pflag v1.0.5\ngolang.org/x/mod v0.5.1\ngolang.org/x/sys v0.0.0-20211019181941-9d821ace8654\ngolang.org/x/tools v0.1.9\ngolang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1\n```\n\n## Modules Requirement Graph\n\n[![dependency.png](./dependency.png)](./dependency.png)\n\n[depm]: https://github.com/goark/depm \"goark/depm: Visualize depndency packages and modules\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoark%2Fdepm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoark%2Fdepm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoark%2Fdepm/lists"}