{"id":22358934,"url":"https://github.com/semihbkgr/deptree","last_synced_at":"2025-09-14T15:05:46.283Z","repository":{"id":62865074,"uuid":"503496733","full_name":"semihbkgr/deptree","owner":"semihbkgr","description":"Go module dependency tree utility tool inspired by Maven dependency:tree plugin","archived":false,"fork":false,"pushed_at":"2023-06-30T13:03:26.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T15:18:45.931Z","etag":null,"topics":["dependencies","go","graph","modules","tool","utility"],"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/semihbkgr.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":"2022-06-14T19:37:47.000Z","updated_at":"2022-10-23T21:15:21.000Z","dependencies_parsed_at":"2024-06-20T08:16:39.339Z","dependency_job_id":"94c5c697-1c05-49dd-9a51-02f12ad9f1b7","html_url":"https://github.com/semihbkgr/deptree","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semihbkgr%2Fdeptree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semihbkgr%2Fdeptree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semihbkgr%2Fdeptree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semihbkgr%2Fdeptree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/semihbkgr","download_url":"https://codeload.github.com/semihbkgr/deptree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245667749,"owners_count":20652983,"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","go","graph","modules","tool","utility"],"created_at":"2024-12-04T15:18:22.570Z","updated_at":"2025-03-26T13:44:47.192Z","avatar_url":"https://github.com/semihbkgr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deptree\n\n`deptree` is a utility tool that displays go modules in tree form.\n\nIt is inspired by maven `dependency:tree` plugin\n\n```bash\n$ go install github.com/semihbkgr/deptree@v0.1.2\n```\n\nto get available args:\n\n```bash\n$ deptree --help\n```\n\n- `--depth` sets the depth of the tree. It is 5 by default.\n- `--dot` generates output in dot format (ignores --depth).\n\nempty arg `-` is used to accept inputs.\n\n```bash\n$ deptree - \u003c graph.txt\n```\n\n## Examples\n\n```bash\n$ deptree --depth 3\n```\n\ngenerates output in tree shape with max 3 depths of the branches\n\n```\nk8s.io/kubectl\n     ├───github.com/go-openapi/jsonpointer@v0.19.5\n     │    ├───github.com/go-openapi/swag@v0.19.5\n     │    │    ├───github.com/mailru/easyjson@v0.0.0-20190614124828-94de47d64c63\n     │    │    ├───github.com/stretchr/testify@v1.3.0\n     │    │    │    └───3 more ...\n     │    │    ├───gopkg.in/check.v1@v1.0.0-20180628173108-788fd7840127\n     │    │    ├───gopkg.in/yaml.v2@v2.2.2\n     │    │    │    └───1 more ...\n     │    │    ├───github.com/davecgh/go-spew@v1.1.1\n     │    │    └───github.com/kr/pretty@v0.1.0\n     │    │         └───1 more ...\n     │    ├───github.com/mailru/easyjson@v0.0.0-20190626092158-b2ccc519800e\n     │    └───github.com/stretchr/testify@v1.3.0\n     │         ├───github.com/pmezard/go-difflib@v1.0.0\n     │         ├───github.com/stretchr/objx@v0.1.0\n     │         └───github.com/davecgh/go-spew@v1.1.0\n     ├───github.com/go-openapi/jsonreference@v0.20.0\n     │    ├───github.com/go-openapi/jsonpointer@v0.19.3\n     │    │    ├───github.com/stretchr/testify@v1.3.0\n     │    │    ├───github.com/go-openapi/swag@v0.19.5\n     │    │    └───github.com/mailru/easyjson@v0.0.0-20190626092158-b2ccc519800e\n     │    └───github.com/stretchr/testify@v1.3.0\n     │         ├───github.com/pmezard/go-difflib@v1.0.0\n     │         ├───github.com/stretchr/objx@v0.1.0\n     │         └───github.com/davecgh/go-spew@v1.1.0\n     ├───github.com/onsi/gomega@v1.20.1\n     │    ├───gopkg.in/yaml.v3@v3.0.1\n     │    │    └───gopkg.in/check.v1@v0.0.0-20161208181325-20d25e280405\n     │    ├───golang.org/x/sys@v0.0.0-20220422013727-9388b58f7150\n     │    ├───golang.org/x/text@v0.3.7\n     │    │    └───golang.org/x/tools@v0.0.0-20180917221912-90fa682c2a6e\n     .\n     .\n     .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemihbkgr%2Fdeptree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsemihbkgr%2Fdeptree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemihbkgr%2Fdeptree/lists"}