a self-hosted git server in one binary — everyone reads, only the owner writes
Makefile | 25 ++++
README.md | 87 +++++++++++
assets/frieren.svg | 87 +++++++++++
deploy/Caddyfile | 6 +
deploy/frieren.service | 30 ++++
e2e_test.go | 212 +++++++++++++++++++++++++++
gitcmd.go | 320 +++++++++++++++++++++++++++++++++++++++++
githttp.go | 189 ++++++++++++++++++++++++
main.go | 101 +++++++++++++
server.go | 42 ++++++
static/style.css | 124 ++++++++++++++++
templates/blob.html | 14 ++
templates/commit.html | 11 ++
templates/commits.html | 18 +++
templates/index.html | 21 +++
templates/notfound.html | 6 +
templates/parts.html | 35 +++++
templates/refs.html | 30 ++++
templates/repo.html | 32 +++++
templates/tree.html | 20 +++
web.go | 372 ++++++++++++++++++++++++++++++++++++++++++++++++
21 files changed, 1782 insertions(+)