···66Pronounced however you like; I prefer channeling my beret-wearing
77Frenchman, and say "Oui, il est le git!"
8899-But yeah it's pretty legit, on god no cap fr fr.
99+But yeah it's pretty legit, no cap on god fr fr.
1010+1111+1212+FEATURES
1313+1414+• Fully customizable templates and stylesheets.
1515+• Cloning over http(s).
1616+• Less archaic HTML.
1717+• Not CGI.
1818+10191120INSTALLING
12211322Clone it, 'go build' it.
2323+2424+2525+CONFIG
2626+2727+Uses yaml for configuration. Looks for a 'config.yaml' in the current
2828+directory by default; pass the '--config' flag to point it elsewhere.
2929+3030+Example config.yaml:
3131+3232+ repo:
3333+ scanPath: /var/www/git
3434+ readme:
3535+ - readme
3636+ - README
3737+ - readme.md
3838+ - README.md
3939+ mainBranch:
4040+ - master
4141+ - main
4242+ dirs:
4343+ templates: ./templates
4444+ static: ./static
4545+ meta:
4646+ title: git good
4747+ description: i think it's a skill issue
4848+ server:
4949+ name: git.icyphox.sh
5050+ host: 127.0.0.1
5151+ port: 5555
5252+5353+These options are fairly self-explanatory, but of note are:
5454+5555+• repo.scanPath: where all your git repos live (or die). legit doesn't
5656+ traverse subdirs yet.
5757+• repo.readme: readme files to look for. Markdown isn't rendered.
5858+• repo.mainBranch: main branch names to look for.
5959+• server.name: used for go-import meta tags and clone URLs.
6060+6161+6262+NOTES
6363+6464+• Run legit behind a TLS terminating proxy like relayd(8) or nginx.
6565+• The default head.html template uses my CDN to fetch fonts -- you may
6666+ or may not want this.
6767+• Support or cgit-like filters (for readmes etc.) is planned.
6868+• Pushing over https, while supported, is disabled because auth is a
6969+ pain. Use ssh.
7070+• "Private" repos only available over Tailscale is planned.