{"id":15716137,"url":"https://github.com/mwarkentin/yuri","last_synced_at":"2025-05-13T00:08:34.086Z","repository":{"id":14781187,"uuid":"77083266","full_name":"mwarkentin/yuri","owner":"mwarkentin","description":"CLI tool to parse URIs into their components","archived":false,"fork":false,"pushed_at":"2021-11-05T14:36:35.000Z","size":323,"stargazers_count":4,"open_issues_count":9,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-13T00:08:06.184Z","etag":null,"topics":["cli","golang","homebrew","http","json","parser","uri","url","utility"],"latest_commit_sha":null,"homepage":null,"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/mwarkentin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-12-21T20:18:33.000Z","updated_at":"2021-11-05T14:36:38.000Z","dependencies_parsed_at":"2022-07-22T06:32:04.507Z","dependency_job_id":null,"html_url":"https://github.com/mwarkentin/yuri","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwarkentin%2Fyuri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwarkentin%2Fyuri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwarkentin%2Fyuri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwarkentin%2Fyuri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mwarkentin","download_url":"https://codeload.github.com/mwarkentin/yuri/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253843215,"owners_count":21972873,"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","golang","homebrew","http","json","parser","uri","url","utility"],"created_at":"2024-10-03T21:44:11.485Z","updated_at":"2025-05-13T00:08:34.060Z","avatar_url":"https://github.com/mwarkentin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yuri\nCLI tool to parse URIs into their components\n\n## Installation\n\n### Binaries\n\nBinaries for linux and macs can be downloaded and installed from the [Github Releases](https://github.com/mwarkentin/yuri/releases).\n\n### Source\n\nIf you want to install from source:\n\n```\n$ git clone git@github.com:mwarkentin/yuri.git\n$ cd yuri\n$ make install\n```\n\n## Examples\n\n### CLI\n\n```\n$ yuri \"https://username:password@stage.example.com:443/path+to+foo?query1=1\u0026query2=2#FRAG\" | jq\n{\n  \"fragment\": \"FRAG\",\n  \"host\": \"stage.example.com:443\",\n  \"hostname\": \"stage.example.com\",\n  \"port\": \"443\",\n  \"opaque\": \"\",\n  \"password\": \"password\",\n  \"path\": \"/path+to+foo\",\n  \"rawpath\": \"/path+to+foo\",\n  \"rawquery\": \"query1=1\u0026query2=2\",\n  \"scheme\": \"https\",\n  \"username\": \"username\"\n}\n```\n\n### Available fields\n\nHere are the JSON fields provided by yuri:\n\n* `scheme`: type of URI\n* `opaque`: encoded opaque data\n* `username`: basic auth username\n* `password`: basic auth password\n* `host`: host or host:port\n* `hostname`: host without port\n* `port`: port\n* `path`: path\n* `rawpath`: encoded path\n* `rawquery`: encoded query values, without `?`\n* `fragment`: fragment for references, without `#`\n\n## Developing yuri\n\n### Running tests\n\nRun `make test`.\n\n### Updating dependencies\n\nRun `make vendor` and check in updates.\n\n### Releasing\n\n* Push tag to Github: `git tag x.y.z \u0026\u0026 git push origin x.y.z`\n* Create release: `gh release create x.y.z`\n\nBinaries for multiple architectures (linux / darwin) will be built in [Github Actions](.github/workflows/release.yml).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwarkentin%2Fyuri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmwarkentin%2Fyuri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwarkentin%2Fyuri/lists"}