git web frontends
canonical repo summary page = tree + readme
Maybe I'm unduly accustomed to the github UI, but to me the singularly useful way to view a git repo is a unified file tree + readme page. It's unfortunate that there appear to be no standalone web frontends that do this.
motivation
When I'm glancing at a git repo, I want:
- basic documentation
- access to files in the repo
- ability to change branch / tag
availability
Plenty of git hosting tools provide this experience all in one place — github, gitea/gogs, and now gitlab1 to my knowledge have the tree-and-readme page figured out — but I can't find any standalone git web frontends that do the same.
- gitweb shows a commit shortlog as the summary, and the tree page doesn't render readmes.
- cgit (which I'm currently using) has separate "about" (rendered readme) and tree pages. I also want to dump C if possible.
- sourcehut (hosting service) separates the rendered readme and tree.
- legit separates the rendered readme and tree.
- ginatra appears not have readme and tree on the main repo summary page, based on screenshots. Unclear if they're rendered together. Not usually willing to run Ruby anyway.
- bitbucket (hosting service) is owned by Atlassian.
- klaus has the features I want, but 500ed several times as I was browsing the demo site (and is ugly, imo).
I will probably fork one of these projects or write my own when I'm procrastinating sometime soon, but I'm honestly shocked there isn't something that exists for me.
why do i care
Gitea hosts all of my personal source code, but I don't want to use it as the frontend for https://pub.npry.dev — my public source code is a read-only set of HTTP-accessible git repos, and I intend for it to stay that way.
I believe this wasn't the case until quite recently.