{"id":13527438,"url":"https://github.com/max-mapper/nugget","last_synced_at":"2025-04-23T19:33:59.434Z","repository":{"id":22066769,"uuid":"25395881","full_name":"max-mapper/nugget","owner":"max-mapper","description":"minimalist wget clone written in node. HTTP GET files and downloads them into the current directory","archived":false,"fork":false,"pushed_at":"2023-07-19T21:46:13.000Z","size":160,"stargazers_count":176,"open_issues_count":16,"forks_count":30,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-06T11:03:22.621Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/max-mapper.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}},"created_at":"2014-10-18T11:50:03.000Z","updated_at":"2025-02-24T23:13:05.000Z","dependencies_parsed_at":"2023-11-22T11:46:03.406Z","dependency_job_id":null,"html_url":"https://github.com/max-mapper/nugget","commit_stats":null,"previous_names":["max-mapper/nugget","maxogden/nugget"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-mapper%2Fnugget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-mapper%2Fnugget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-mapper%2Fnugget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-mapper%2Fnugget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/max-mapper","download_url":"https://codeload.github.com/max-mapper/nugget/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250499924,"owners_count":21440715,"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":[],"created_at":"2024-08-01T06:01:47.903Z","updated_at":"2025-04-23T19:33:59.389Z","avatar_url":"https://github.com/max-mapper.png","language":"JavaScript","readme":"# nugget\n\nMinimalist command line downloader written in node, inspired by wget. HTTP GETs a file and streams it into a file in the current working directory. Specializes at downloading many files in parallel.\n\n[![NPM](https://nodei.co/npm/nugget.png?global=true)](https://nodei.co/npm/nugget/)\n![dat](http://img.shields.io/badge/Development%20sponsored%20by-dat-green.svg?style=flat)\n[![Travis](http://img.shields.io/travis/maxogden/nugget.svg?style=flat)](https://travis-ci.org/maxogden/nugget)\n\n## installation\n\n```\nnpm install nugget -g\n```\n\n## usage\n\n```\nUsage: nugget \u003curls\u003e [options]\n  -o, --output     output filename\n  -d, --dir        output parent directory\n  -c, --continue   resume aborted download\n  -f, --force      ignore response codes \u003e 299\n  -s, --sockets    concurrent socket limit (default infinity)\n  -q, --quiet      disable logging\n  -t, --tmpfile    write files to \u003cname\u003e.tmp while downloading\n  --proxy          specify a proxy to use\n  --no-strict-ssl  disable strict SSL cehcking\n```\n\n### examples\n\n```\nnugget http://foo.com/bar.jpg\n# downloads bar.jpg and stores it in the current directory\n```\n\nor\n\n```\nnugget http://foo.com/bar.jpg -O baz.jpg\n# saves it as baz.jpg. you can also do lowercase -o\n```\n\nif you get a statusCode of 300 or greater nugget will stop. you can force it to stream the response into a file anyway by doing `nugget http://404link.com/file.html -f` or `--force` works too\n\nyou can also download multiple files, just pass multiple urls:\n\n![download multiple](multiple.png)\n\n## options\n\nThe following options are recognized by nugget:\n\n- `-o|-O|--out` - specify the filename to write to. this only works if you are downloading a single file\n- `-d|--dir` - save files in a directory other than the current one.\n- `-c|--continue` - resume downloads if a partially complete target file already exists. If the target file exists and is the same size as the remote file, nothing will be done.\n- `-f|--force` - force the server response to be saved to the target file, even if it's a non-successful status code.\n- `-s|--sockets` - default Infinity. specify the number of http sockets to use at once (this controls concurrency)\n- `-q|--quiet` - disable logging\n- `-t, --tmpfile` - write files to \u003cname\u003e.tmp while downloading\n- `--proxy` - specify a proxy to use\n- `--no-strict-ssl` - disable strict ssl\n","funding_links":[],"categories":["Repository","JavaScript"],"sub_categories":["HTTP"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-mapper%2Fnugget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmax-mapper%2Fnugget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-mapper%2Fnugget/lists"}