{"id":16105774,"url":"https://github.com/devlights/mkghurl","last_synced_at":"2025-07-12T07:03:06.386Z","repository":{"id":54460654,"uuid":"229193167","full_name":"devlights/mkghurl","owner":"devlights","description":"Make Github URL from OS env variables.","archived":false,"fork":false,"pushed_at":"2021-02-16T13:54:03.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-21T00:44:45.395Z","etag":null,"topics":["go","golang"],"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/devlights.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":"2019-12-20T05:00:50.000Z","updated_at":"2021-02-16T13:48:23.000Z","dependencies_parsed_at":"2022-08-13T16:20:28.425Z","dependency_job_id":null,"html_url":"https://github.com/devlights/mkghurl","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/devlights/mkghurl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Fmkghurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Fmkghurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Fmkghurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Fmkghurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devlights","download_url":"https://codeload.github.com/devlights/mkghurl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Fmkghurl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264952009,"owners_count":23687996,"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":["go","golang"],"created_at":"2024-10-09T19:10:35.657Z","updated_at":"2025-07-12T07:03:06.361Z","avatar_url":"https://github.com/devlights.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mkghurl\n\n[![CodeFactor](https://www.codefactor.io/repository/github/devlights/mkghurl/badge)](https://www.codefactor.io/repository/github/devlights/mkghurl)\n\nMake github url from OS env variables.\n\nThe tool reads the following values:\n\n- $GITHUB_USER\n- $GITHUB_TOKEN\n\nand make url from the following url-pattern:\n\n```html\nhttps://$GITHUB_USER:$GITHUB_TOKEN@github.com/$GITHUB_USER/repo-name.git\n```\n\n## Install\n\n```shell script\n$ go get github.com/devlights/mkghurl\n```\n\n## Run\n\n```shell script\n$ mkghurl repo-name\n```\n\nwith clipboard copy\n\n```shell script\n$ go get github.com/atotto/clipboard/cmd/gocopy\n$ mkghurl repo-name | gocopy\n```\n\nor\n\n```shell script\n$ mkghurl -n repo-name | xargs git clone\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlights%2Fmkghurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevlights%2Fmkghurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlights%2Fmkghurl/lists"}