{"id":19144602,"url":"https://github.com/blackvoidx/GitDirDownload","last_synced_at":"2025-09-08T22:32:12.360Z","repository":{"id":249295522,"uuid":"830985731","full_name":"blackvoidx/GitDirDownload","owner":"blackvoidx","description":"This tool allows you to download a specific file or directory and its contents from a GitHub repository.","archived":false,"fork":false,"pushed_at":"2025-02-16T13:36:16.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T16:17:01.277Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/blackvoidx.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":"2024-07-19T11:56:31.000Z","updated_at":"2025-02-16T13:36:19.000Z","dependencies_parsed_at":"2024-07-28T12:43:46.115Z","dependency_job_id":"47a205f5-c9c3-47cc-ae2f-640479ea9439","html_url":"https://github.com/blackvoidx/GitDirDownload","commit_stats":null,"previous_names":["mamad-1999/gitdirdownload","blackvoidx/gitdirdownload"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blackvoidx/GitDirDownload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackvoidx%2FGitDirDownload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackvoidx%2FGitDirDownload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackvoidx%2FGitDirDownload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackvoidx%2FGitDirDownload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackvoidx","download_url":"https://codeload.github.com/blackvoidx/GitDirDownload/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackvoidx%2FGitDirDownload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231446,"owners_count":25245659,"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-09-08T02:00:09.813Z","response_time":121,"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":[],"created_at":"2024-11-09T07:35:40.633Z","updated_at":"2025-09-08T22:32:12.346Z","avatar_url":"https://github.com/blackvoidx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Content Downloader\n\n[![Python Version](https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8-blue)](https://www.python.org/downloads/)\n[![GitHub Issues](https://img.shields.io/github/issues/blackvoidx/GitDirDownload)](https://github.com/blackvoidx/github-follow-insights/issues)\n[![GitHub Stars](https://img.shields.io/github/stars/blackvoidx/GitDirDownload)](https://github.com/blackvoidx/github-follow-insights/stargazers)\n[![GitHub License](https://img.shields.io/github/license/blackvoidx/GitDirDownload)](https://github.com/blackvoidx/github-follow-insights/blob/master/LICENSE)\n\n\n\u003cp\u003e\n    \u003ca href=\"https://skillicons.dev\"\u003e\n      \u003cimg src=\"https://github.com/tandpfun/skill-icons/blob/main/icons/Python-Dark.svg\" width=\"48\" title=\"python\"\u003e\n      \u003cimg src=\"https://github.com/tandpfun/skill-icons/blob/main/icons/Github-Dark.svg\" width=\"48\" title=\"github\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\nThis tool allows you to download a specific file or directory and its contents from a GitHub repository.\n\n![2024-07-19_15-32](https://github.com/user-attachments/assets/56eebbde-d3ae-4a91-a2a9-c96414919b8c)\n\n## Features\n\n- Downloads files concurrently for faster performance.\n- Maintains the original directory structure.\n- Logs each downloaded file in the terminal.\n\n## Notes\n\n- Ensure you have a stable internet connection.\n- The download speed depends on your internet connection and the number of threads used.\n- Be aware of GitHub's API rate limits. This Script is efficient for repositories up to 100,000 files in the requested directory and its subdirectories.\n- Keep your access token secure and never share it publicly.\n\n## Requirements\n\n- Python 3.6 or higher\n- Required Python packages: requests\n- Github Access Token [Read](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)\n\n## Installation\n\n1. Clone this repository:\n\n`git clone https://github.com/blackvoidx/GitDirDownload.git`\n\n2. Run the install script:\n\n```\nchmod +x install.sh\n\n./install.sh\n```\n\nThis script will:\n- Check for Docker and Python availability\n- Create a 'downloads' folder if it doesn't exist\n- Set correct permissions for the 'downloads' folder\n- Ask you to choose between Docker and local Python setup (if both are available)\n- Set up the environment based on your choice or availability\n\n## Usage\n\nAfter installation, run the application using the method you chose during setup:\n\n### With Docker:\n`docker run -it --rm -v \"$(pwd)/downloads:/app/downloads\" gitdirdownload`\n\n### With local Python:\n`python3 github-download.py`\n\nFollow the prompts to download GitHub content. Downloaded files will be saved in the 'downloads' folder.\nYou will be prompted to enter the following information:\n   - Repository Url: The Url of the repository.\n   - GitHub access token: Your personal access token for authentication.\n   - Number of download threads: How many concurrent downloads to perform (default is 20).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackvoidx%2FGitDirDownload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackvoidx%2FGitDirDownload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackvoidx%2FGitDirDownload/lists"}