static site generator for git repos

629 KiB | 60 commits

git clone https://khoe.thac.loan/khoe
hash subject author time
0fbbd45271 update readme: we can already browse tree at HEAD tri
9746c5534d skip weird objects reported by git-ls-tree tri
04f52ce0c4 make active nav item unclickable tri
937c4ea4d7 show video blobs too tri
c458a35325 preview image blobs tri
8314b50291 more whitespace between table rows tri
3c3dbff17f generate preview pages for blob objects tri
4d81da87af add percentEncode util tri
666beadff6 properly escape source file name tri
668db284db fix content overflows tri
0aa6864620 forgot to flush tri
149a1f6a0d remove outdated readme styling tri
c8fbee744a split repo page to 3 tabs: source, readme, commits tri
3b6bfd559c tighter repo metadata tri
a76f0485a7 detect readme.rst too tri
cdcc684516 remove gratuitous dependency on du tri
c50d9dc4a7 remove outdated FIXME tri
dab1558178 italic repo description, also trim trailing \n tri
86563671ff show repo size tri
e6ce747f68 skip khoe's own generated dir tri
03e46dd6a7 be honest tri
400c13ccb5 make header bold tri
61881022f7 use modern font stacks tri
cae29bfa94 read repo description from .git/description tri
7bd7918ae9 implement getLatestCommit & accept repo arg tri
50082f1206 add git hook instruction tri
60b2351ec8 readme: clone khoe from khoe tri
340a1aeb5d fix trailing spaces in txt readme content tri
935d69c441 fix gap above pre.readme-content tri
3027b8101a add deploy command tri
7d0ddb5211 render markdown readmes using cmark tri
313b0bdd09 replace - with _ tri
5a235be8ff don't print readme path tri
d9fbf191b9 wrap readme text if it's markdown tri
b30ac2cee8 show author name, implement html.escapeAlloc() tri
2591f18b4c put web assets into web dir too tri
2891c2221c tweak table margin tri
98c4833e31 js: add "months ago" tri
aaf2e7b8e7 include readme content in repo index tri
247964f25c clumsily escape commit subject tri
eefbbb39c0 more robust git dir detection logic tri
b240f98905 find readme file in each repo tri
9da8ce37f9 use sortUnstable to cope with equal values tri
2b3c317154 ignore demo2 dir too tri
75c442bc3e show ellipsis on truncated commit subject tri
a458f87384 write repo index page tri
475e1c92da more comments & readme tri
3d340c339a add instructions tri
cb8b88085f show most recently updated repos first tri
dccf967fc1 style: horizontally scroll table, relative time tri
f14d54431a implement html escape util tri
c01d31ca90 fix isGitDir logic and some style tweaks tri
08893554e1 generate home page tri
c9ad47e7d9 skeleton for writing home page tri
48a17628e3 only print summaries tri
bad427809d add makefile tri
1523d3f2d6 get commits tri
9f4a6e28ce locate git dirs; update-server-info tri
c699fa4674 readme tri
b43391af05 zig init tri