A static page generator for git repositories
git clone git://git.janzachar.dev/spgit.git
0from pathlib import Path1import os234BUILD = Path(os.getenv("BUILD", "./build")) # output directory when html files are put5SRC = Path(os.getenv("SRC", "./repos")) # directory containing bare git repos6HOST = Path(os.getenv("HOST", "git.janzachar.dev")) # used for urls in templ/*.py78ASSETS = Path(os.getenv("ASSETS", Path(__file__).parent.parent / "assets"))910COMMIT_COUNT = 5 # max amount of commits to have displayed1112