Go application that clones or pulls all accessible repositories from various forges
Find a file
2025-02-24 12:18:46 +01:00
cmd/gogitlabber feat: changed gitlab-hostname to gitlab-url 2025-02-24 12:11:14 +01:00
.gitignore feat: split code in seperate files 2025-01-02 18:49:07 +01:00
.gitlab-ci.yml ci: fixed artifact name 2025-01-02 19:14:49 +01:00
go.mod feat: initial commit 2025-01-01 18:32:53 +01:00
go.sum feat: initial commit 2025-01-01 18:32:53 +01:00
readme.md docs: changed example url to gitlab.com 2025-02-24 12:18:46 +01:00

gogitlabber

This project is inspired from the python application called gitlabber (https://github.com/ezbz/gitlabber). It is mainly to learn Golang. But also to make something that specifically solves my problem. :)

The program can download and update all repositories you have access to on a Gitlab server. This works for bot gitlab.com and a selfhosted Gitlab instance. It only supports the HTTP method.

Usage

Usage: gogitlabber
         --archived=(any|excluded|only)
         --destination=$HOME/Documents
         --gitlab-url=gitlab.com
         --gitlab-token=<supersecrettoken>

You can also set these environment variables:
  GOGITLABBER_ARCHIVED=(any|excluded|only)
  GOGITLABBER_DESTINATION=$HOME/Documents
  GITLAB_API_TOKEN=<supersecrettoken>
  GITLAB_URL=gitlab.com