{"id":37117428,"url":"https://github.com/yuzuy/gurl","last_synced_at":"2026-01-14T13:44:34.731Z","repository":{"id":52834501,"uuid":"342543106","full_name":"yuzuy/gurl","owner":"yuzuy","description":"gurl is an HTTP client in CLI written in Go","archived":false,"fork":false,"pushed_at":"2021-04-17T07:32:44.000Z","size":61,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-20T22:32:58.752Z","etag":null,"topics":["cli","command-line","curl","go","golang","http"],"latest_commit_sha":null,"homepage":"","language":"Go","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/yuzuy.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}},"created_at":"2021-02-26T10:36:16.000Z","updated_at":"2021-08-04T02:02:54.000Z","dependencies_parsed_at":"2022-08-23T05:30:56.833Z","dependency_job_id":null,"html_url":"https://github.com/yuzuy/gurl","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/yuzuy/gurl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuzuy%2Fgurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuzuy%2Fgurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuzuy%2Fgurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuzuy%2Fgurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuzuy","download_url":"https://codeload.github.com/yuzuy/gurl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuzuy%2Fgurl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28421963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","command-line","curl","go","golang","http"],"created_at":"2026-01-14T13:44:33.956Z","updated_at":"2026-01-14T13:44:34.720Z","avatar_url":"https://github.com/yuzuy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gurl\n\ngurl is an HTTP client written in Go\n\n## Installation\n\n```\ngo get github.com/yuzuy/gurl/cmd/gurl\n```\n\n## Usage\n\n### HTTP Request\n\n```bash\ngurl http://localhost:8080/v1/hello\n```\n\n#### Flags and Options\n\n- -d - Input the request body\n- -H - Input the request header\n- -L - Follow redirects\n- -u - Input username and password for Basic Auth\n- -v - Output the verbose log\n- -X - Input the http method\n\n### Default header\n\ngurl allows you to set the default header.\n\nIf you input the header that has the same key as the default header, override the default header.\n\n```bash\ngurl dh add localhost:8080 \"Authorization:Bearer foobar\"\n\ngurl dh list\n# Output:\n# localhost:8080:\n#   Authorization: Bearer foobar\n\ngurl http://localhost:8080 # == gurl -H \"Authorization:Bearer foobar\" http://localhost:8080\n\ngurl dh rm localhost:8080 Authorization\n\ngurl dh list localhost:8080\n# Output:\n# localhost:8080:\n\n# pattern matching\ngurl dh add \"localhost:8080/v1/*\" \"Authorization:Bearer fizzbuzz\"\n\ngurl http://localhost:8080/v1/foo # == gurl -H \"Authorization:Bearer fizzbuzz\" http://localhost:8080/v1/foo\ngurl http://localhost:8080 # == gurl http://localhost:8080\n\n# endpoint\ngurl dh add localhost:8080/v1/bar \"Authorization:Bearer yuzuy\"\n\ngurl http://localhost:8080/v1/bar # == gurl -H \"Authorization:Bearer yuzuy\" http://localhost:8080/v1/bar\ngurl http://localhost:8080/v1/bar/foo # == gurl -H \"Authorization:Bearer fizzbuzz\" http://localhost:8080/v1/bar/foo\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuzuy%2Fgurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuzuy%2Fgurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuzuy%2Fgurl/lists"}