static git pages generator
https://git.acid.vegas
assets | ||
compat.h | ||
LICENSE | ||
Makefile | ||
README.md | ||
reallocarray.c | ||
stagit-index.1 | ||
stagit-index.c | ||
stagit.1 | ||
stagit.c | ||
strlcat.c | ||
strlcpy.c |
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
- Hiltjo Posthuma (orignal author of stagit)
- Larry Burns (stagit-md)
- Oscar Benedito (md4c implementation)