main
1 branches
0 tags
git clone https://git.sheff.online/git/GetSrc
sarjsheff
1 year ago
cmd
internal
static
tmpl
.gitignore
Dockerfile
LICENSE
README.md
build.sh
go.mod
go.sum
main.css
tailwind.config.js

GetSrc - git web viewer

Git ui with http dumb clone support.

[https://git.sheff.online]

Sample config getsrc.yaml :

 1repos:
 2  repo1: 
 3    path: "/tmp/repo1"
 4    description: "Test repo."
 5  repo2: 
 6    path: "/tmp/repo2"
 7cloneurl: "https://git.sheff.online"
 8title: "Test title"
 9seo:
10  description: "Dev test."
11  title: "title"
12  sitename: "MyGit"
13  custom: |
14        <meta property="og:locale" content="ru_RU" />

minimal:

1repos:
2  myrepo: 
3    path: "/tmp/mygitrepo"

Docker:

docker run -it --rm --platform linux/amd64 -v /tmp/gitrepos:/repos -v $(pwd)/getsrc.yaml:/app/getsrc.yaml r.sheff.online/sheff/getsrc:latest