{"id":13702689,"url":"https://github.com/yuler/gh-download","last_synced_at":"2025-08-01T17:05:29.499Z","repository":{"id":49279791,"uuid":"403511392","full_name":"yuler/gh-download","owner":"yuler","description":"[GitHub CLI] extension for download folders/files","archived":false,"fork":false,"pushed_at":"2023-04-03T02:51:38.000Z","size":17,"stargazers_count":73,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-31T09:57:04.124Z","etag":null,"topics":["command","download","gh","gh-extension"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-09-06T06:32:48.000Z","updated_at":"2025-05-28T09:42:13.000Z","dependencies_parsed_at":"2024-01-14T19:29:24.104Z","dependency_job_id":null,"html_url":"https://github.com/yuler/gh-download","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/yuler/gh-download","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuler%2Fgh-download","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuler%2Fgh-download/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuler%2Fgh-download/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuler%2Fgh-download/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuler","download_url":"https://codeload.github.com/yuler/gh-download/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuler%2Fgh-download/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268265627,"owners_count":24222519,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","download","gh","gh-extension"],"created_at":"2024-08-02T21:00:40.859Z","updated_at":"2025-08-01T17:05:29.449Z","avatar_url":"https://github.com/yuler.png","language":"Shell","funding_links":[],"categories":["Shell","🧩 Categories","gh-extension","Tool","Repo \u0026 Branch"],"sub_categories":["Miscellaneous"],"readme":"# gh download\n\n[GitHub CLI] extension for download folders/files\n\n## Install\n\n```bash\ngh extension install yuler/gh-download\n```\n\n## Features\n\n- Download folders/files from GitHub\n- Support private repository\n\n## How it works\n\n- Get GitHub token by `gh config get -h github.com oauth_token` command, for support private repository\n- Use [GitHub `get a tree` API] filter path\n- Path suffix with `/` means is folder, otherwise checked automatically via api\n- Traverse the folder and download it via curl with GitHub token\n\n## Usage\n\n```bash\n# Create alias dl =\u003e download\ngh alias set dl \"download\"\n# Download files\ngh dl yuler/gh-download README.md gh-download\n# Download `.github` folders from `cli/cli` repo\ngh dl cli/cli .github\n# Download from github.com url\ngh dl https://github.com/yuler/actions/blob/3541e20e6f195a812b0e775058224a6d6f4b9fc1/ci/nodejs.yml\n```\n\n## Related\n\n- [download-directory.github.io]\n- [gh-cp]\n\n\u003c!-- Links --\u003e\n\n[github cli]: https://github.com/cli/cli\n[download-directory.github.io]: https://download-directory.github.io/\n[gh-cp]: https://github.com/mislav/gh-cp\n[github `get a tree` api]: https://docs.github.com/en/rest/reference/git#get-a-tree\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuler%2Fgh-download","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuler%2Fgh-download","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuler%2Fgh-download/lists"}