{"id":15689802,"url":"https://github.com/nakabonne/giturl","last_synced_at":"2026-02-24T05:47:41.357Z","repository":{"id":57607687,"uuid":"287700700","full_name":"nakabonne/giturl","owner":"nakabonne","description":"A scheme converter for Git URLs","archived":false,"fork":false,"pushed_at":"2020-08-16T08:39:38.000Z","size":62,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T01:37:20.750Z","etag":null,"topics":["cli","converter","git","url"],"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/nakabonne.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":"2020-08-15T07:38:05.000Z","updated_at":"2022-09-19T04:12:27.000Z","dependencies_parsed_at":"2022-08-30T05:22:14.762Z","dependency_job_id":null,"html_url":"https://github.com/nakabonne/giturl","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nakabonne/giturl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakabonne%2Fgiturl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakabonne%2Fgiturl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakabonne%2Fgiturl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakabonne%2Fgiturl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nakabonne","download_url":"https://codeload.github.com/nakabonne/giturl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakabonne%2Fgiturl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29773621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T04:54:30.205Z","status":"ssl_error","status_checked_at":"2026-02-24T04:53:58.628Z","response_time":75,"last_error":"SSL_read: 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","converter","git","url"],"created_at":"2024-10-03T18:04:35.844Z","updated_at":"2026-02-24T05:47:41.338Z","avatar_url":"https://github.com/nakabonne.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# giturl\n\n[![codecov](https://codecov.io/gh/nakabonne/giturl/branch/master/graph/badge.svg)](https://codecov.io/gh/nakabonne/giturl)\n[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://godoc.org/github.com/nakabonne/giturl/pkg/converter)\n\n`giturl` lets you convert [Git URLs](https://git-scm.com/docs/git-clone#_git_urls) into the scheme you like.\n\n## Installation\n\nYou can download a binary release [here](https://github.com/nakabonne/giturl/releases).\n\nWith Homebrew\n```\nbrew install nakabonne/giturl/giturl\n```\n\nWith Go\n```\ngo get github.com/nakabonne/giturl\n```\n\nWith Docker\n```\ndocker run --rm nakabonne/giturl giturl\n```\n\n## Examples\n\n```bash\n# Conversion of https to ssh\n$ giturl ssh https://github.com/org/repo.git\nssh://github.com/org/repo.git\n\n# Conversion of SCP-like ssh syntax to https\n$ giturl https --no-user git@github.com:org/repo.git\nhttps://github.com/org/repo.git\n\n# Conversion of https to SCP-like ssh syntax\n$ giturl ssh --scp-like --user=git https://github.com/org/repo.git\ngit@github.com:org/repo.git\n```\n\n### Available commands\n\n```\n$ giturl -h\nConverts Git URLs into the scheme you like.\n\nUsage:\n  giturl [command]\n\nAvailable Commands:\n  file        Convert into file syntax\n  git         Convert into git syntax\n  help        Help about any command\n  http        Convert into http syntax\n  https       Convert into https syntax\n  ssh         Convert into ssh syntax\n  version     Print the current version\n```\n\n## Supported schemes\nSSH, Git, HTTP, and HTTPS protocols are available as Git URLs. The SSH protocol also supports an alternative SCP-like syntax:\n\n- `ssh://[user@]host.xz[:port]/path/to/repo.git/`\n- `[user@]host.xz:path/to/repo.git/`\n- `git://host.xz[:port]/path/to/repo.git/`\n- `http[s]://host.xz[:port]/path/to/repo.git/`\n- `file:///path/to/repo.git/` (for local repositories)\n\nSee more: https://git-scm.com/docs/git-clone#_git_urls\n\n## License\n[MIT][license] © [Ryo Nakao][website]\n\n[license]: /LICENSE\n[website]: https://nakabonne.dev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnakabonne%2Fgiturl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnakabonne%2Fgiturl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnakabonne%2Fgiturl/lists"}