A go script to retrieve the public repositories from various sources and sync them to a GitLab instance.
It will retrieve and sync the following information for each public repo:
- all the branches
- all the tags
- latest releases & assets
- wiki
Supported sources:
- GitHub
- HuggingFace
- The GitLab's URL instance (defaults to
https://gitlab.com/
) - The GitLab user's token
- The source user's token
- The dufs url (for asset uploading)
Populate the config.json
file, see config.example.json5.
Use the docker compose
command to create and start the container.
docker compose up --build -d
See config.example.json5 for how to configure.
- If repositories' array contains only excluded repositories, then sync all except the mentioned ones
- Add new source GitLab