-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
-
66
-
67
-
68
# Copyright 2025 Shota FUJI <pockawoooh@gmail.com>
# SPDX-License-Identifier: MIT
#
# This is a demo config for developing or trying legit.
#
# go run . -config ./demo/config.yaml
#
# You can test legit locally by cloning any git repositories into this directory.
#
# cd demo && git clone https://your-git-repo
#
# To test bare repository, add "--bare" option to clone command:
#
# cd demo && git clone --bare https://your-git-repo
#
# To set category, use git-config:
#
# git -C demo/your-git-repo config set gitweb.category "Active"
repo:
scanPath: .
readme:
- readme
- README
- readme.txt
- readme.md
- README.md
- readme.adoc
- README.adoc
mainBranch:
- master
- main
- trunk
meta:
title: legit Demo
description: Test legit features with real repositories.
syntaxHighlight: true
ui:
category:
grouping: true
default: "No Category"
order:
- "Active"
- "No Category"
- "Mirror"
- "Abandoned"
diff:
hideThresholdLines: 1000
footer:
links:
- text: Hosted
href: https://git.pocka.jp/legit.git
- text: GitHub Mirror
href: https://github.com/pocka/legit
- text: Original
href: https://github.com/icyphox/legit
poweredBy: true
compileTemplatesOnRequest: false
server:
name: example.com
host: localhost
port: 5555