{"id":15373274,"url":"https://github.com/otiai10/gh-dependents","last_synced_at":"2025-04-15T12:32:08.552Z","repository":{"id":40988501,"uuid":"401556986","full_name":"otiai10/gh-dependents","owner":"otiai10","description":"Just a web crawler to collect dependents of a GitHub repository.","archived":false,"fork":false,"pushed_at":"2024-04-12T07:46:53.000Z","size":207741,"stargazers_count":16,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T21:12:30.209Z","etag":null,"topics":["cli","extension","extensions","github"],"latest_commit_sha":null,"homepage":"https://github.blog/2021-08-24-github-cli-2-0-includes-extensions/","language":"Go","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/otiai10.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":"2021-08-31T03:10:16.000Z","updated_at":"2024-02-27T08:28:35.000Z","dependencies_parsed_at":"2024-06-19T16:14:49.982Z","dependency_job_id":null,"html_url":"https://github.com/otiai10/gh-dependents","commit_stats":{"total_commits":43,"total_committers":1,"mean_commits":43.0,"dds":0.0,"last_synced_commit":"cbb3a391b9410b1c99514ffa582bcfe3fecd589c"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otiai10%2Fgh-dependents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otiai10%2Fgh-dependents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otiai10%2Fgh-dependents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otiai10%2Fgh-dependents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/otiai10","download_url":"https://codeload.github.com/otiai10/gh-dependents/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249072353,"owners_count":21208175,"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","extension","extensions","github"],"created_at":"2024-10-01T13:54:35.360Z","updated_at":"2025-04-15T12:32:05.429Z","avatar_url":"https://github.com/otiai10.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh-dependents\n\n[![Actions Status](https://github.com/otiai10/gh-dependents/workflows/Go/badge.svg)](https://github.com/otiai10/gh-dependents/actions)\n[![Web Test](https://github.com/otiai10/gh-dependents/actions/workflows/webtest.yaml/badge.svg)](https://github.com/otiai10/gh-dependents/actions/workflows/webtest.yaml)\n[![codecov](https://codecov.io/gh/otiai10/gh-dependents/branch/main/graph/badge.svg)](https://codecov.io/gh/otiai10/gh-dependents)\n\n`gh` command extension to see dependents of your repository.\n\n![screenshot](https://raw.githubusercontent.com/otiai10/gh-dependents/main/screenshot.png)\n\nSee The GitHub Blog: [GitHub CLI 2.0 includes extensions!](https://github.blog/2021-08-24-github-cli-2-0-includes-extensions/)\n\n# Install\n\n```sh\ngh extension install otiai10/gh-dependents\n```\n\n# Usage\n\n```sh\ngh dependents otiai10/lookpath\n# gh dependents {user}/{repo}\n```\n\n# Advanced Usage\n\n```sh\ngh dependents \\\n    -v \\                     # Show verbose log\n    -page=2 \\                # Only crawl 2 pages\n    -after=MjM1ODQzNDY1NzY \\ # Only crawl after specific hash\n    -sort=fork \\             # Sort output by num of forks\n    -pretty \\                # Output in pretty format\n    otiai10/lookpath\n\n# For more information, hit\ngh dependents -h\n```\n\n# How it works\n\n- This command just crawls `/network/dependents` page of your repository.\n\n# Usage as a Go library\n\n```go\npackage main\n\nimport (\n    \"github.com/otiai10/gh-dependents/ghdeps\"\n)\n\nfunc main() {\n    crawler := ghdeps.NewCrawler(\"otiai10/lookpath\")\n\terr := crawler.All()\n    if err != nil {\n        log.Fatalln(err)\n    }\n    fmt.Printf(\"%+v\\n\", crawler.Dependents)\n}\n```\n\nFor more information, check https://pkg.go.dev/github.com/otiai10/gh-dependents/ghdeps\n\n# Issues and Feature Request\n\n- https://github.com/otiai10/gh-dependents/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotiai10%2Fgh-dependents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fotiai10%2Fgh-dependents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotiai10%2Fgh-dependents/lists"}