{"id":13935968,"url":"https://github.com/sdushantha/gitdir","last_synced_at":"2025-04-05T09:06:43.861Z","repository":{"id":42144262,"uuid":"172869662","full_name":"sdushantha/gitdir","owner":"sdushantha","description":"Download a single directory/folder from a GitHub repo","archived":false,"fork":false,"pushed_at":"2024-01-13T09:54:06.000Z","size":50,"stargazers_count":221,"open_issues_count":9,"forks_count":26,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-01T14:47:54.556Z","etag":null,"topics":["directory","downloader","folder","github"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sdushantha.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":"2019-02-27T07:53:29.000Z","updated_at":"2024-06-04T00:23:53.950Z","dependencies_parsed_at":"2024-06-04T00:23:47.075Z","dependency_job_id":null,"html_url":"https://github.com/sdushantha/gitdir","commit_stats":{"total_commits":69,"total_committers":7,"mean_commits":9.857142857142858,"dds":"0.30434782608695654","last_synced_commit":"0c071cca295907df216c93251803f5076cd82165"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdushantha%2Fgitdir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdushantha%2Fgitdir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdushantha%2Fgitdir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdushantha%2Fgitdir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdushantha","download_url":"https://codeload.github.com/sdushantha/gitdir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312077,"owners_count":20918344,"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":["directory","downloader","folder","github"],"created_at":"2024-08-07T23:02:15.378Z","updated_at":"2025-04-05T09:06:43.772Z","avatar_url":"https://github.com/sdushantha.png","language":"Python","readme":"# gitdir\n\n- Minimal and colorful output 🌈 \u003cimg src=\"https://user-images.githubusercontent.com/27065646/71288165-9914bc80-236a-11ea-853b-a97bff999e79.gif\" align=\"right\"\u003e\n- Works on **Linux**, **MacOS**, and **Windows**\n- Support recursive downloading\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\u003cbr\u003e\n\u003cbr\u003e\u003cbr\u003e\n\u003cbr\u003e\n\n## Install \n```bash\n$ pip3 install --user gitdir\n\n# Yes, thats all :)\n```\n\n## Usage\n```\nusage: gitdir [-h] [--output_dir OUTPUT_DIR] [--flatten] urls [urls ...]\n\nDownload directories/folders from GitHub\n\npositional arguments:\n  urls                  List of Github directories to download.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --output_dir OUTPUT_DIR, -d OUTPUT_DIR\n                        All directories will be downloaded to the specified\n                        directory.\n  --flatten, -f         Flatten directory structures. Do not create extra\n                        directory and download found files to output\n                        directory. (default to current directory if not\n                        specified)\n```\n\n## Packge Entry\n\nYou can use `python -m gitdir` / `python3 -m gitdir` in case the short command does not work.\n\n**Exiting**\n\nTo exit the program, just press ```CTRL+C```.\n\n## License\nMIT License\n\nCopyright (c) 2019 Siddharth Dushantha\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdushantha%2Fgitdir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdushantha%2Fgitdir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdushantha%2Fgitdir/lists"}