{"id":19012947,"url":"https://github.com/ntk148v/gclone","last_synced_at":"2026-05-18T07:32:27.913Z","repository":{"id":57645407,"uuid":"231204874","full_name":"ntk148v/gclone","owner":"ntk148v","description":"A lazy tool written by Golang to clone multiple git repositories then place it to the right folders","archived":false,"fork":false,"pushed_at":"2024-07-26T04:33:15.000Z","size":9860,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-11T07:32:20.878Z","etag":null,"topics":["clone","git","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ntk148v.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}},"created_at":"2020-01-01T10:59:05.000Z","updated_at":"2024-07-26T04:33:18.000Z","dependencies_parsed_at":"2024-11-08T19:22:49.806Z","dependency_job_id":"ca060489-c79d-43ff-9fb4-42dca08f7bee","html_url":"https://github.com/ntk148v/gclone","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ntk148v/gclone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntk148v%2Fgclone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntk148v%2Fgclone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntk148v%2Fgclone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntk148v%2Fgclone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ntk148v","download_url":"https://codeload.github.com/ntk148v/gclone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntk148v%2Fgclone/sbom","scorecard":{"id":697738,"data":{"date":"2025-08-11","repo":{"name":"github.com/ntk148v/gclone","commit":"7da1d18d027e29681b75f1527feb7ef0af86c6b9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/ntk148v/gclone/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/ntk148v/gclone/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/ntk148v/gclone/release.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.0.1 not signed: https://api.github.com/repos/ntk148v/gclone/releases/54555733","Warn: release artifact v0.0.1 does not have provenance: https://api.github.com/repos/ntk148v/gclone/releases/54555733"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T04:13:19.639Z","repository_id":57645407,"created_at":"2025-08-22T04:13:19.639Z","updated_at":"2025-08-22T04:13:19.639Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33169218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"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":["clone","git","golang"],"created_at":"2024-11-08T19:20:52.512Z","updated_at":"2026-05-18T07:32:27.894Z","avatar_url":"https://github.com/ntk148v.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gclone\n\n[![license](https://img.shields.io/badge/license-Apache%20v2.0-blue.svg)](LICENSE) [![Go Report Card](https://goreportcard.com/badge/github.com/ntk148v/gclone)](https://goreportcard.com/report/github.com/ntk148v/gclone)\n\n\u003e I make it for fun and also for my laziness :trollface:.\n\u003e To learn Golang as well.\n\nA lazy tool written by pure Golang to clone multiple git repositories then place it to the right folders\n\nFor example, the repository with url: https://github.com/ntk148v/gclone.git will be placed in folder: `$WORKSPACE/github.com/ntk148v/gclone`. `WORKSPACE` is an environment variable to define your workspace folder path, by default it is `$HOME/Workspace`.\n\nThe directory tree will be like the follow, it is easier to manage.\n\n```bash\n~/Workspace tree -L 3\n.\n├── github.com\n│   ├── jeremyb31\n│   │   └── newbtfix-4.15\n│   ├── neurobin\n│   │   └── MT7630E\n│   ├── ntk148v\n│   │   ├── blog\n│   │   ├── dotfiles\n│   │   ├── gclone\n│   │   ├── testing\n│   │   ├── til\n│   │   ├── wallpapers\n│   │   └── warehouse\n│   └── resloved\n│       └── i3\n```\n\n## Install\n\n```bash\n$ go get -d github.com/ntk148v/gclone\n$ cd $GOPATH/src/github.com/ntk148v/gclone\n$ GO111MODULE=on go build -o gclone main.go\n```\n\nOr simply get the binary file [here](./bin).\n\n## Usage\n\nSimply pass a repository URL as gclone command argument. If you want to change the default workspace folder, please export it:\n\n```bash\n$ export WORKSPACE=/path/to/your/workspace\n```\n\n```bash\n$ ./bin/gclone -h\nA lazy tool written by Golang to clone multiple git repositories then place these to the right folders.\n\nUsage: main [\u003cflags\u003e] \u003crepositories\u003e...\n\nFlags:\n  -clone-opts string\n    \tGit clone command options, separate by blank space character. For more details \"man git-clone\"\n  -f\tForce clone, remove an existing source code.\n  -force\n    \tForce clone, remove an existing source code.\nArgs:\n  \u003crepositories\u003e  Repository URL(s), separate by blank space. For example: git@github.com:x/y.git https://github.com/x/y.git...\n```\n\n* Clone a single repostitory:\n\n```bash\n# Without force\n$ gclone https://github.com/ntk148v/rep1.git\n# With force - delete $WORKSPACE/github.com/ntk148v/repo1 folder if exist.\n$ gclone https://github.com/ntk148v/repo1.git\n```\n\n* Clone mutilple repositories:\n\n```bash\n$ gclone https://github.com/ntk148v/repo1.git https://github.com/ntk148v/repo2.git\n```\n\n* Clone with some extra git clone options:\n\n```bash\n$ gclone --clone-opts=\"-v -q\" https://github.com/ntk148v/repo1.git\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntk148v%2Fgclone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntk148v%2Fgclone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntk148v%2Fgclone/lists"}