{"id":28324453,"url":"https://github.com/geekyharsh05/gurl","last_synced_at":"2025-06-24T02:30:40.834Z","repository":{"id":290853215,"uuid":"975669632","full_name":"geekyharsh05/gurl","owner":"geekyharsh05","description":"Go fast. Go simple. A curl alternative built in Go.","archived":false,"fork":false,"pushed_at":"2025-05-02T13:09:31.000Z","size":1462,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T03:23:58.554Z","etag":null,"topics":["cli","curl","golang","goreleaser","httpclient"],"latest_commit_sha":null,"homepage":"https://gurl.theharsh.xyz","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/geekyharsh05.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,"zenodo":null}},"created_at":"2025-04-30T17:40:42.000Z","updated_at":"2025-05-14T03:22:24.000Z","dependencies_parsed_at":"2025-04-30T23:37:17.389Z","dependency_job_id":null,"html_url":"https://github.com/geekyharsh05/gurl","commit_stats":null,"previous_names":["geekyharsh05/gurl"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/geekyharsh05/gurl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekyharsh05%2Fgurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekyharsh05%2Fgurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekyharsh05%2Fgurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekyharsh05%2Fgurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geekyharsh05","download_url":"https://codeload.github.com/geekyharsh05/gurl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekyharsh05%2Fgurl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261591574,"owners_count":23181750,"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":["cli","curl","golang","goreleaser","httpclient"],"created_at":"2025-05-25T18:10:52.618Z","updated_at":"2025-06-24T02:30:40.828Z","avatar_url":"https://github.com/geekyharsh05.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gurl - Modern HTTP Client CLI\n\nA fast, reliable HTTP client with JSON support and intuitive syntax. Inspired by curl but with additional modern features.\n\n## Features\n\n- Simple and intuitive command syntax\n- Support for all HTTP methods\n- Custom headers and request body\n- JSON formatting for requests and responses\n- Response output to file\n- Follow redirects with configurable limits\n- Timing information\n- Insecure TLS connections for testing\n- Color-coded output\n\n## Installation\n\n### Install on macOS or Linux (with Homebrew)\n\n```bash\nbrew tap geekyharsh05/gurl\nbrew install gurl\n```\n\n### Install on Windows (with Scoop)\n\n```bash\nscoop bucket add geekyharsh05 https://github.com/geekyharsh05/scoop-bucket\nscoop install gurl\n```\n\n### Install on Linux (Debian/Ubuntu)\n\n```bash\nwget https://github.com/geekyharsh05/gurl/releases/download/v1.0.1/gurl_1.0.1_linux_amd64.deb\nsudo apt install ./gurl_1.0.1_linux_amd64.deb\n```\n\n### Using Go\n\n```bash\ngo install github.com/geekyharsh05/gurl@latest\n```\n\n### Build from Source\n\n```bash\ngit clone https://github.com/geekyharsh05/gurl.git\ncd gurl\ngo build\n```\n\n## Usage Examples\n\n### Basic GET request:\n\n```bash\ngurl request https://dummyjson.com/products\n```\n\n### Download files:\n\n```bash\ngurl request -o myfile.zip https://example.com/file.zip\n```\n\n### Using HTTP methods:\n\n```bash\ngurl request -X POST https://dummyjson.com/products\ngurl request -X PUT https://dummyjson.com/products/1\n```\n\n### Send JSON data:\n\n```bash\ngurl request https://dummyjson.com/auth/login \\\n  -X POST \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"username\":\"emilys\",\"password\":\"emilyspass\",\"expiresInMins\":30}'\n```\n\n### Custom headers:\n\n```bash\ngurl request https://dummyjson.com/auth/me \\\n  -H \"Authorization: Bearer YOUR_ACCESS_TOKEN_HERE\"\n```\n\n### Follow redirects:\n\n```bash\ngurl request -L https://dummyjson.com/http/200\n```\n\n### Format JSON response:\n\n```bash\ngurl request -j https://dummyjson.com/products/1\n```\n\n### Save response to file:\n\n```bash\ngurl request -o response.json https://dummyjson.com/users\n```\n\n### Verbose output with timing information:\n\n```bash\ngurl request -v https://dummyjson.com/test\n```\n\n### Ignore SSL certificate errors:\n\n```bash\ngurl request -k https://dummyjson.com/test\n```\n\n### Set wait-time:\n\n```bash\ngurl request --wait-time 5s https://dummyjson.com/test\n```\n\n### Verbose output:\n\n```bash\ngurl request -v --wait-time 3s https://dummyjson.com/test\n```\n\n## Download Command\n\nThe download command offers wget-like functionality for downloading files with progress tracking, resume capability, and more:\n\n### Basic file download:\n\n```bash\ngurl download https://example.com/file.zip\n```\n\n### Specify output filename:\n\n```bash\ngurl download -o myfile.zip https://example.com/file.zip\n```\n\n### Save to specific directory:\n\n```bash\ngurl download -P ./downloads/ https://example.com/file.zip\n```\n\n### Resume partial download:\n\n```bash\ngurl download -c https://example.com/large-file.iso\n```\n\n### Quiet mode (no progress bar):\n\n```bash\ngurl download -q https://example.com/file.zip\n```\n\n### Retry on failure:\n\n```bash\ngurl download --tries 5 --retry-delay 5s https://example.com/file.zip\n```\n\n### Download with custom timeout:\n\n```bash\ngurl download -t 60s https://example.com/large-file.iso\n```\n\n## Options\n\n### Global Flags:\n\n- `-k, --insecure`: Allow insecure server connections\n- `--timeout duration`: Request timeout (default 30s)\n- `--max-redirects int`: Maximum number of redirects to follow (default 10)\n- `--wait-time duration`: Wait for the specified duration before making the request\n\n### Request Command Flags:\n\n- `-X, --method string`: HTTP method (default \"GET\")\n- `-d, --data string`: Request body\n- `-H, --header strings`: Custom headers\n- `-v, --verbose`: Show verbose output\n- `-o, --output string`: Write response to file\n- `-j, --json`: Format response as JSON\n- `-L, --follow`: Follow redirects\n- `--json-request`: Set Content-Type to application/json\n- `--form`: Set Content-Type to application/x-www-form-urlencoded\n- `--no-pretty`: Disable automatic JSON formatting\n\n### Download Command Flags:\n\n- `-o, --output string`: Save file with the specified name\n- `-P, --directory string`: Save files to the specified directory\n- `-c, --continue`: Resume getting a partially-downloaded file\n- `-q, --quiet`: Quiet mode - don't show progress bar\n- `-k, --insecure`: Allow insecure server connections\n- `-t, --timeout duration`: Set timeout for download (default 30s)\n- `-n, --no-redirect`: Don't follow redirects\n- `--max-redirects int`: Maximum number of redirects to follow (default 10)\n- `-r, --tries int`: Number of retry attempts (default 3, 0 for no retries)\n- `--retry-delay duration`: Delay between retries (default 2s)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekyharsh05%2Fgurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeekyharsh05%2Fgurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekyharsh05%2Fgurl/lists"}