web frontend for git repositories, written in Go git.pocka.jp/legit.git
3

Configure Feed

Select the types of activity you want to include in your feed.

Setup testing environment

Shota FUJI (Mar 21, 2025, 3:05 PM +0900) 7f5f8dbe f1be2337

+50
+4
.gitignore
··· 1 1 legit 2 2 result 3 + 4 + # demo/ directory acts as a playground/sandbox, and real git repositories sits there. 5 + demo/* 6 + !demo/config.yaml
+46
demo/config.yaml
··· 1 + # Copyright 2025 Shota FUJI <pockawoooh@gmail.com> 2 + # SPDX-License-Identifier: MIT 3 + # 4 + # This is a demo config for developing or trying legit. 5 + # 6 + # go run . -config ./demo/config.yaml 7 + # 8 + # You can test legit locally by cloning any git repositories into this directory. 9 + # 10 + # cd demo && git clone https://your-git-repo 11 + # 12 + # To test bare repository, add "--bare" option to clone command: 13 + # 14 + # cd demo && git clone --bare https://your-git-repo 15 + 16 + repo: 17 + # TODO: Change to relative path once path resolution is fixed 18 + scanPath: ./demo 19 + readme: 20 + - readme 21 + - README 22 + - readme.txt 23 + - readme.md 24 + - README.md 25 + - readme.adoc 26 + - README.adoc 27 + mainBranch: 28 + - master 29 + - main 30 + - trunk 31 + 32 + dirs: 33 + # TODO: Change to relative path once path resolution is fixed 34 + templates: ./templates 35 + # TODO: Change to relative path once path resolution is fixed 36 + static: ./static 37 + 38 + meta: 39 + title: legit Demo 40 + description: Test legit features with real repositories. 41 + syntaxHighlight: monokailight 42 + 43 + server: 44 + name: example.com 45 + host: localhost 46 + port: 5555