I would like to view the total repository size of a project hosted on GitLab without having to clone it.
I was able to find one for GitHub here, but I can't figure out how to do it on GitLab.
The GitHub example:
$ echo https://github.com/hlamer/enki.git | perl -ne 'print $1 if m!
([^/]+/[^/]+?)(?:\.git)?$!' | xargs -i curl -s -k
https://api.github.com/repos/'{}' | grep size
>>"size": 284,