main
1 branches
0 tags
git clone https://git.sheff.online/git/GetSrc
README.md
markdown
657 B
 1### GetSrc - git web viewer
 2
 3Git ui with http dumb clone support.
 4
 5[https://git.sheff.online]
 6
 7Sample config getsrc.yaml :
 8
 9``` yaml
10repos:
11  repo1: 
12    path: "/tmp/repo1"
13    description: "Test repo."
14  repo2: 
15    path: "/tmp/repo2"
16cloneurl: "https://git.sheff.online"
17title: "Test title"
18seo:
19  description: "Dev test."
20  title: "title"
21  sitename: "MyGit"
22  custom: |
23    <meta property="og:locale" content="ru_RU" />
24```
25
26minimal:
27
28``` yaml
29repos:
30  myrepo: 
31    path: "/tmp/mygitrepo"
32```
33
34Docker:
35
36```
37docker run -it --rm --platform linux/amd64 -v /tmp/gitrepos:/repos -v $(pwd)/getsrc.yaml:/app/getsrc.yaml r.sheff.online/sheff/getsrc:latest 
38```