I just keep a GOGS instance that auto-mirrors youtube-DL these days now, so I always have a copy.

The gogs maintainer currently seems to not be doing much with it and seems to be ignoring security reports. I would probably recommend the gitea fork instead.

https://github.com/go-gitea/gitea