shroomgit

generate static pages of git repos
git clone https://git.davidvoz.net/shroomgit.git
index
logs
tree
license

Recent Commits
2026-04-16 make an icon art variable to be more customiz... David Voznyarskiy
2026-04-16 added support for images and minor fixes David Voznyarskiy
2026-04-13 trying to remove more instances of exec.Comma... David Voznyarskiy
2026-04-12 lot of optimizations by removing the unnessec... David Voznyarskiy
2026-04-12 made the config to be default and empty for e... David Voznyarskiy

Head Branch
master, 21 commits

README.md
1Shroomgit: shindex shgit
2========================
3Generate a static html page of your git repos
4
5
6Requirements
7------------
8git
9go
10
11
12Installation
13------------
14
15 git clone https://git.disroot.org/davidv/shroomgit.git
16 cd shroomgit
17 make
18
19The shindex and shgit binaries will be within the bin/ directory
20
21
22Documentation
23=============
24
25shindex
26-------
27generate an index page of various repositories
28
29 shindex repo1 repo2 ... > site.html
30
31Shindex directory outputs HTML code, use that to direct it to where you
32want. Shindex works with an unlimited amount of repositories as input.
33
34Within shindex/config.go, the logo, the page title, and description can
35be configured and edited.
36
37* title: name of the HTML page
38* logo: path to the image
39* logoHref: redirection after clicking logo
40* logoWidth, LogoHeight: size customization for logo
41* desc: writes a description at top of page
42
43
44shgit
45-----
46generate pages for a repository
47
48 shgit repo output_dir
49 shgit repo
50
51Shgit takes a repository as an argument and outputs multiple HTML files
52and directories into either a specified directory or, if no output
53directory is given, into the working directory.
54
55Within shgit/config.go configuration of the logo and favicon as well
56as some HTML elements can be set.
57
58Shgit Config:
59
60* favicon: path to the image
61* logo: path to the image
62* logoHref: redirection after clicking logo
63* logoWidth, LogoHeight: size customization for logo
64* url: assumes the URL and repo name is the git clone location
65
66The map style is configured by default to control how lines of
67code and text are displayed on many pages. Further customization of
68HTML elements can be altered in the files within the shgit directory.
69
70
71License
72-------
73unlicense license <https://unlicense.org/>