logoalt Hacker News

mofosynetoday at 2:49 AM0 repliesview on HN

Instead of having to regenerate a zip file everytime you add/delete a memory... could we just use a git repo of markdown pages?

This buys you incremental writes, commit hash pinning and diffs for free. In addition to having a git archive outputting a zip export as well?

Main wrinkle is you would need to gitignore the sqlite database as it doesn't store very well in git (binary, changes lots per insert). But it's easy to regenerate anyway as a rebuild-able cache.