static git pages generator https://git.acid.vegas
Go to file
Dionysus 17b5dc39b0
Fixed mistakes in helper script, repo script, css, and more
2023-11-05 01:50:22 -05:00
assets Fixed mistakes in helper script, repo script, css, and more 2023-11-05 01:50:22 -05:00
LICENSE Restored LICENSE 2023-06-15 21:01:13 -04:00
Makefile Initial commit 2023-06-15 19:50:38 -04:00
README.md Updated README 2023-06-28 02:24:49 -04:00
compat.h Initial commit 2023-06-15 19:50:38 -04:00
reallocarray.c Initial commit 2023-06-15 19:50:38 -04:00
stagit-index.1 Initial commit 2023-06-15 19:50:38 -04:00
stagit-index.c Fixed sourcehut link 2023-06-17 03:33:00 -04:00
stagit.1 Initial commit 2023-06-15 19:50:38 -04:00
stagit.c Added archive feature for repositories to download a tar.gz of the entire repository 2023-06-27 19:56:40 -04:00
strlcat.c Initial commit 2023-06-15 19:50:38 -04:00
strlcpy.c Initial commit 2023-06-15 19:50:38 -04:00

README.md

stagit

static git page generator

Information

This is my personal fork of stagit which is running git.acid.vegas

Dependencies

  • C compiler (C99)
  • libc (tested with OpenBSD, FreeBSD, NetBSD, Linux: glibc & musl)
  • libgit2 (v0.22+)
  • md4c (v0.4.4+)
  • POSIX make (optional)

Setup

cd stagit
make
sudo make install

NOTE: The /assets/ directory contains various scripts for deployment usage.

New Features
  • Markdown rendering to HTML for README files
  • Syntax hilighting
  • Repository categories
  • Direct download to repository tar.gz
  • Style changes
  • Raw file viewing (will tackle this one next commit)
Fixes
  • Clickable heading (h1-h6) links in README (md4c does not FULLY transform markdown)
  • Top/bottom padding for multi-lined <code> blocks
  • Missing image references in README files (md4c does not look in /files/ for the .screens directory)
Props