{"id":23652198,"url":"https://github.com/hi-ray/cd-dd","last_synced_at":"2025-09-01T02:32:15.588Z","repository":{"id":40363633,"uuid":"490491851","full_name":"Hi-Ray/cd-dd","owner":"Hi-Ray","description":"CommunityDragon directory downloader","archived":false,"fork":false,"pushed_at":"2025-03-31T20:12:21.000Z","size":1312,"stargazers_count":13,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T02:58:27.152Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Hi-Ray.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-10T00:49:07.000Z","updated_at":"2025-07-21T08:38:55.000Z","dependencies_parsed_at":"2025-03-31T21:23:34.583Z","dependency_job_id":"689a6813-a002-4356-97b4-3c18aec931e7","html_url":"https://github.com/Hi-Ray/cd-dd","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Hi-Ray/cd-dd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hi-Ray%2Fcd-dd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hi-Ray%2Fcd-dd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hi-Ray%2Fcd-dd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hi-Ray%2Fcd-dd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hi-Ray","download_url":"https://codeload.github.com/Hi-Ray/cd-dd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hi-Ray%2Fcd-dd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273065039,"owners_count":25039274,"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-01T02:00:09.058Z","response_time":120,"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-12-28T16:52:43.757Z","updated_at":"2025-09-01T02:32:15.053Z","avatar_url":"https://github.com/Hi-Ray.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Community Dragon Directory Downloader\n[![NPM Version](https://img.shields.io/npm/v/cdragon-dd.svg?style=flat-square)](https://www.npmjs.com/package/cdragon-dd) [![NPM Version](https://img.shields.io/npm/dm/cdragon-dd.svg?style=flat-square)](https://www.npmjs.com/package/cdragon-dd)  \nDownload directories from community dragon's cdn\n\n\n## IMPORTANT\nYour urls must end in a \"/\" you should just copy and paste your urls into the command line\n\n## Usage\n\nYou can either download and run a prebuilt binary from the [releases tab](https://github.com/Hi-Ray/cd-dd/releases) or install the package via npmjs.  \nIf you want to install this package without npmjs, please read the documentation [here](https://github.com/Hi-Ray/cd-dd/blob/master/install-with-git.md).\n```shell\n\u003e npm i cdragon-dd # install the package for your current project\n\u003e npm i cdragon-dd -g # install the package as a global CLI tool\n\u003e cd-dd \u003curl\u003e [...flags]\n```\n\n## Usage example\n\nDownload all the files in the directory (URL). \n```shell\n\u003e cd-dd https://raw.communitydragon.org/latest/game/data/images/\n```\n\nDownload all the files in the directory (URL) and its subdirectories (recursive). \n```shell\n\u003e cd-dd -r https://raw.communitydragon.org/latest/game/data/images/\n```\n\nDownload all the files in the directory (URL) and its subdirectories (recursive) into the local directory `./data`. \n```shell\n\u003e cd-dd -o ./data -r https://raw.communitydragon.org/latest/game/data/images/\n```\n\nDownload all the files in the directory (URL) and don't cache results. \n```shell\n\u003e cd-dd -k replace -r https://raw.communitydragon.org/latest/game/data/images/\n\u003e cd-dd -k nothing -r https://raw.communitydragon.org/latest/game/data/images/\n```\n\n## Flags\n```\nUsage: cd-dd [options] \u003cURL\u003e\n\nArguments:\n  URL                      URL starting with https://\n\nOptions:\n  -o, --output \u003coutput\u003e    Output directory location. Default is ./out\n  -r, --recursive          Recursively download directory and files\n  -k, --keep-files [mode]  Keep files if they already exist in the output directory (choices: \"all\", \"replace\", \"nothing\", default: \"all\")\n  -V, --version            output the version number\n  -h, --help               display help for command\n```\n\n## How does caching work?\nWhen the keep-files flag is set to \"all\" or \"replace\", a `.cddd` file will be created in every downloaded directory which holds a compressed version of the downloaded files which can identify whether a the current version of the file was already downloaded or not.  \n\nIf the keep-files flag is set to \"all\", existing valid files not be downloaded nor replaced.  \nIf the keep-files flag is set to \"replace\" existing files are downloaded and replaced and a .cddd cache file will be created but ignored. \nIn the keep-files \"nothing\" mode, the .cddd flag is not created. Use this mode only if you are sure you are not going to download the same data twice at any point. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhi-ray%2Fcd-dd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhi-ray%2Fcd-dd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhi-ray%2Fcd-dd/lists"}