{"id":13587093,"url":"https://github.com/derhuerst/url-parser-cli","last_synced_at":"2025-04-15T05:36:45.183Z","repository":{"id":31107038,"uuid":"126905857","full_name":"derhuerst/url-parser-cli","owner":"derhuerst","description":"Parse a URL, get one or all components pretty-printed or as JSON.","archived":false,"fork":false,"pushed_at":"2024-09-04T12:08:10.000Z","size":56,"stargazers_count":10,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T05:36:38.973Z","etag":null,"topics":["cli","command-line","url"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derhuerst.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2018-03-27T00:24:43.000Z","updated_at":"2024-12-28T10:33:45.000Z","dependencies_parsed_at":"2024-08-01T16:43:08.857Z","dependency_job_id":null,"html_url":"https://github.com/derhuerst/url-parser-cli","commit_stats":null,"previous_names":["derhuerst/url-parser-cli","derhuerst/parse-url-cli"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Furl-parser-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Furl-parser-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Furl-parser-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Furl-parser-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derhuerst","download_url":"https://codeload.github.com/derhuerst/url-parser-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249016306,"owners_count":21198828,"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","command-line","url"],"created_at":"2024-08-01T15:06:00.958Z","updated_at":"2025-04-15T05:36:45.145Z","avatar_url":"https://github.com/derhuerst.png","language":"Rust","funding_links":["https://patreon.com/derhuerst"],"categories":["Rust"],"sub_categories":[],"readme":"# url-parser-cli\n\n**Parse a URL, get one or all components pretty-printed or as JSON.** Uses [`url`](https://docs.rs/url/) underneath.\n\n[![crates.io version](https://img.shields.io/crates/v/url_parser_cli.svg)](https://crates.io/crates/url_parser_cli)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/url-parser-cli.svg)\n[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n*Note:* I'm a Rust beginner, so the code might be unelegant. 🙈\n\n*Note:* This utility has been rewritten in Rust, checkout [url-parser-cli](https://github.com/derhuerst/url-parser-cli).\n\n\n## Installing\n\n```shell\ncargo install url_parser_cli\n```\n\nYou can also download a binary from the [releases page](https://github.com/derhuerst/chunked-transfer-cli/releases).\n\n\n## Usage\n\n```txt\nParse a URL, get one or all components pretty-printed or as JSON.\n\nUsage: url_parser_cli [OPTIONS] \u003cURL\u003e [BASE_URL]\n\nArguments:\n  \u003cURL\u003e       URL to parse\n  [BASE_URL]  base URL to parse \u003cURL\u003e from\n\nOptions:\n  -j, --json     print output as JSON\n  -p, --pretty   print multi-line output\n  -h, --help     Print help\n  -V, --version  Print version\n```\n\n\n## Related\n\n- [curl's `trurl`](https://github.com/curl/trurl) – Command line tool for URL parsing and manipulation.\n- [`url-decode-encode-cli`](https://github.com/derhuerst/url-decode-encode-cli) – Command line utility for URL decoding \u0026 encoding.\n- [`query-string-cli`](https://github.com/derhuerst/query-string-cli) – Decode \u0026 encode URL query strings in the command line.\n- [`url`](https://docs.rs/url/) – An implementation of the WHATWG URL Standard.\n\n\n## Contributing\n\nIf you have a question or have difficulties using url-parser-cli, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/url-parser-cli/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Furl-parser-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderhuerst%2Furl-parser-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Furl-parser-cli/lists"}