{"id":28352003,"url":"https://github.com/kmazurek/gitlab-tree-clone","last_synced_at":"2026-05-09T14:04:42.920Z","repository":{"id":61624894,"uuid":"538245636","full_name":"kmazurek/gitlab-tree-clone","owner":"kmazurek","description":"Recursively clone a GitLab group of repos, fast!","archived":false,"fork":false,"pushed_at":"2022-09-19T08:38:01.000Z","size":140,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T05:10:17.196Z","etag":null,"topics":["clone","git","gitlab","go","golang","recursive"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kmazurek.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":"2022-09-18T21:27:29.000Z","updated_at":"2022-11-13T11:35:31.000Z","dependencies_parsed_at":"2022-10-18T18:00:43.393Z","dependency_job_id":null,"html_url":"https://github.com/kmazurek/gitlab-tree-clone","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kmazurek/gitlab-tree-clone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmazurek%2Fgitlab-tree-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmazurek%2Fgitlab-tree-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmazurek%2Fgitlab-tree-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmazurek%2Fgitlab-tree-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kmazurek","download_url":"https://codeload.github.com/kmazurek/gitlab-tree-clone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmazurek%2Fgitlab-tree-clone/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261046333,"owners_count":23102243,"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":["clone","git","gitlab","go","golang","recursive"],"created_at":"2025-05-27T23:00:47.737Z","updated_at":"2026-05-09T14:04:42.900Z","avatar_url":"https://github.com/kmazurek.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitLab Tree Clone (gltc)\nA tool for recursively cloning a GitLab group tree of repositories.\n\n## Highlights\n- it's *fast* - each group and repo gets processed concurrently in its own goroutine\n- supports ignoring groups based on either their names or GitLab IDs\n\n## Installation\n`make install`\n\n## Usage\n```\nUsage: gltc [--ignore-id IGNORE-ID] [--ignore-name IGNORE-NAME] [--output-dir OUTPUT_DIR] --token TOKEN [GROUP_ID]\n\nPositional arguments:\n  GROUP_ID               ID of the GitLab group to use as tree root\n\nOptions:\n  --ignore-id IGNORE-ID\n                         If specified, subgroups with this ID will not be cloned. May be given multiple times\n  --ignore-name IGNORE-NAME\n                         If specified, subgroups with this name will not be cloned. May be given multiple times\n  --output-dir OUTPUT_DIR, -o OUTPUT_DIR\n                         target dir for cloning the group tree [default: .]\n  --token TOKEN, -t TOKEN\n                         GitLab API access token\n  --help, -h             display this help and exit\n```\n\n### Group ID\nThe positional argument `GROUP_ID` expects a GitLab group ID to be provided.\nTo get the ID of the group you'd like to clone, head over to GitLab and copy it from the group's header (see screenshot below).\n\n![gitlab-group-id](media/images/gitlab-group-id.png)\n\nIn the future, group ID usage might be replaced or complemented by referring to HTTP/SSH URLs for the groups.\n\n### Examples\n`gltc --token {API_TOKEN} --ignore-name archived {GROUP_ID}`\n\n## TODO\n- option/command to enable recursively pulling from existing git repos\n- cross-compilation in `Makefile`\n- tests :)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmazurek%2Fgitlab-tree-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkmazurek%2Fgitlab-tree-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmazurek%2Fgitlab-tree-clone/lists"}