download patch
commit 60b2351ec81e2fd0ed54e8dd91a0ef460a2447bb
Author: tri <tri@thac.loan>
Date: Mon Sep 29 21:27:57 2025 +0700
readme: clone khoe from khoe
diff --git a/README.md b/README.md
index 1faff7e..b0fe316 100644
--- a/README.md
+++ b/README.md
It's a static site generator for your git repos - think [stagit][1], but `git cl
We use zig master, which is 0.16.0-dev.393+dd4be26f5 at the time of writing:
```sh
+# khoe is hosted on khoe
+git clone https://khoe.thac.loan/khoe
+cd khoe
zig build -Doptimize=ReleaseSafe
```
You can now either serve the dir as-is using caddy/nginx/etc., or rsync it to a
Nothing is cached. Every page is regenerated every time. Computers are fast though so performance hasn't been a problem for me. If it is for you, let me know and we can optimize it.
+Worse still, every repo is regenerated every time. This one I'll fix ASAP. Khoe should allow choosing a specific repo to regenerate so that it can run efficiently as a post-update git hook. See Roadmap.
+
Outdated pages, if not overwritten, are left as-is. Since git itself is an append-only paradigm, deletion is rarely necessary. Security-wise, if you've accidentally pushed a secret on a public repo, you must consider it compromised forever and perform appropriate credential rotation and whatnot. Deleting the offending pages means nothing in this context. If it bothers you still, feel free to write a script to delete-before-generate, or generate-and-swap if you have lots of nines to maintain - you do you.
+## Roadmap
+
+- [ ] Add CLI arg to choose which repo to regen
+- [ ] Browse tree at HEAD
+- [ ] Browse commits from main history. May wait for [libghostty-vt][2], or just pipe to [aha][3]. We'll see.
+
## Contribute
-See <https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/git-no-forge/#preferences>. I generally agree with his preferences.
+See <https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/git-no-forge/#preferences>.
+I generally agree with his preferences.
## License
You should have received a copy of the GNU Affero General Public License along w
[1]: https://codemadness.org/stagit.html
+[2]: https://mitchellh.com/writing/libghostty-is-coming
+[3]: https://github.com/theZiz/aha