git-preview @ main

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

modifying this sites showcase
Tue, 14 Jul 2026
4 files changed, 45 insertions(+), 30 deletions(-)
M .showcase/html/interactive.html

@@ -6,10 +6,8 @@ <meta name="viewport" content="width=device-width, initial-scale=1">

<title>Interactive Demo</title> <style> body { - min-height: 100vh; margin: 0; - display: grid; - place-items: center; + padding: 0.5rem; font-family: system-ui, sans-serif; }

… preview truncated

M .showcase/showcase.yaml

@@ -1,27 +1,34 @@

-# Displayed on the repository landing page. +# Default preview setting +defaultPreview: full + +# Displayed on the repository landing page landing: - asset: images/go_users.jpeg - caption: You can add images like this - - asset: html/interactive.html - caption: Interactive demonstration

… preview truncated

M config.yaml

@@ -1,5 +1,5 @@

repo: - scanPath: /var/www/git + scanPath: ./preview-repos readme: - readme - README

@@ -8,13 +8,13 @@ - README.md

mainBranch: - master - main -dirs:

… preview truncated

… and 1 more changed files not shown in this preview