为 Git 存储库生成网页?

Generate Web Pages For Git Repository?

我相信 similar question to this has been asked before but its not quite the same. I would like to host a private git on a server, and generate web pages based on it with all the nice statistics and stuff similar to github (does github have an api another for this [other than the one I am about to mention]?). I have looked into gitlab 但我只看到 Ubuntu 和 centos 的安装说明。我可能 运行 连接此服务器的计算机有一些限制,如果可以的话,我想使用 arch。服务器上还有其他应用程序,我希望能够只 运行 一个脚本并生成页面,并可能用一些 CSS 或其他东西修改它(可能像 github,但没有什么太重的责任)?

谢谢!

~ TFB

如果您正在寻找比 GitLab 更轻量级的东西,您可能想看看 Gitweb, which is an official part of the Git project. It might even already be installed on your server. Gitweb is well-supported on Arch

另一种可能是Go Git Service (GOGS), which is a relative newcomer written in Go. GOGS is designed to be lightweight and easy to set up. It looks like there are AUR packages for Arch