{"id":31938759,"url":"https://github.com/blakmatrix/bbgurl","last_synced_at":"2025-10-14T08:18:20.763Z","repository":{"id":4102120,"uuid":"5211042","full_name":"blakmatrix/bbgurl","owner":"blakmatrix","description":"bbgurl: A tiny cli http client; a thin wrapper around mikeal/request. Named by @blakmatrix.","archived":false,"fork":false,"pushed_at":"2012-08-01T02:12:13.000Z","size":115,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-02-29T15:33:14.021Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/blakmatrix.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}},"created_at":"2012-07-28T01:11:51.000Z","updated_at":"2020-11-03T18:25:48.000Z","dependencies_parsed_at":"2022-09-08T08:00:52.655Z","dependency_job_id":null,"html_url":"https://github.com/blakmatrix/bbgurl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blakmatrix/bbgurl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakmatrix%2Fbbgurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakmatrix%2Fbbgurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakmatrix%2Fbbgurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakmatrix%2Fbbgurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blakmatrix","download_url":"https://codeload.github.com/blakmatrix/bbgurl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakmatrix%2Fbbgurl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018311,"owners_count":26086334,"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-10-14T02:00:06.444Z","response_time":60,"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":"2025-10-14T08:18:19.339Z","updated_at":"2025-10-14T08:18:20.756Z","avatar_url":"https://github.com/blakmatrix.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bbgurl\n\n* npm-installable cli http client\n* thin wrapper around [mikeal/request](https://github.com/mikeal/request)\n* named by [@blakmatrix](https://github.com/blakmatrix)\n\n## Install:\n\n    npm install bbgurl -g\n\n## Usage:\n\n```\n$ bbgurl \nbbgurl: A tiny cli http client; a thin wrapper around mikeal/request. Named by @blakmatrix.\n\nUSAGE: node ./bbgurl.js \u003curl\u003e [\u003coptions\u003e]\n\nOptions:\n  --body, -d            String body for http request.                             \n  --followRedirect      Follow the first http 30x redirect (if any).                [boolean]  [default: true]\n  --followAllRedirects  Follow *all* http 30x redirects (if any).                   [boolean]  [default: false]\n  --headers, -H         A JSON representation of any headers.                       [default: {}]\n  --include, -i         Print the request headers.                                  [boolean]  [default: false]\n  --logfile             Optional file to write logs to.                           \n  --method, -X          HTTP method.                                                [default: \"GET\"]\n  --output, -o          HTTP response output file (stdout if not specified)       \n  --pretty, -p          Attempt to reformat JSON chunks in a human-readable format  [boolean]  [default: false]\n  --strictSSL           Require that SSL certificates be valid.                     [boolean]  [default: false]\n  --user, -u            Specify basic auth credentials (ex: `-u user:pass`)       \n  --verbose, -v         Output logs to stderr.                                      [boolean]\n\nArgument check failed: Must specify a uri.\n```\n\n## A Few Examples:\n\n### Hit an endpoint\n\n```\n$ bbgurl http://whatismyip.nodejitsu.com/index.json\n{ \"ip\": \"71.198.76.200\" }\n```\n\n### Set some headers\n\n```\n$ bbgurl http://whatismyip.jit.su -H '{ \"accept\": \"application/json\" }'\n{ \"ip\": \"71.198.76.200\" }\n```\n\n### Do some basic auth\n\n```\n$ bbgurl -u josh:supersekritpw http://localhost:8080\n{ \"success\": true, \"message\": \"Welcome to the inner sanctum.\" }\n```\n\n### Download a tarball\n\n```\n$ bbgurl --verbose http://nodejs.org/dist/v0.8.4/node-v0.8.4.tar.gz -o node-v0.8.4.tar.gz\n[bbgurl] Downloading: (♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥) 100% (11.29MB/11.29MB)                    \n\n[bbgurl] Data written to /home/josh/dev/bbgurl/node-v0.8.4.tar.gz\n$ tar -xzf node-v0.8.4.tar.gz \n$ cd node-v0.8.4/\n$ ls\nAUTHORS    BSDmakefile  common.gypi  deps  lib      Makefile  README.md  test   vcbuild.bat\nbenchmark  ChangeLog    configure    doc   LICENSE  node.gyp  src        tools\n```\n\n## License:\n\nMIT/X11.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakmatrix%2Fbbgurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblakmatrix%2Fbbgurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakmatrix%2Fbbgurl/lists"}