Plus simple caching to not redownload the same file/page multiple times.
It should also be easy to detect a forejo, gitea, or similar hosting site, locate the git URL and clone the repo.