git-preview @ main

static git web frontend but with images and html previews + code truncation

all: init
Sun, 11 Dec 2022
15 files changed, 462 insertions(+), 0 deletions(-)
A .gitignore

@@ -0,0 +1,1 @@

+legit
A config.yaml

@@ -0,0 +1,7 @@

+git: + scanPath: /home/icy/code/tmp +template: + dir: ./templates +meta: + title: git good + description: i think it's a skill issue
A config/config.go

@@ -0,0 +1,35 @@

+package config + +import ( + "fmt" + "os" + + "gopkg.in/yaml.v3" +) + +type Config struct {

… preview truncated

… and 12 more changed files not shown in this preview