Quartz Setup
I use a partially custom setup to integrate Obsidian with Quartz. See the repository here
- All notes are in the Obsidian vault like normal, not in Quartz repo. The notes have frontmatter
title
,created
, andmodified
added by the Linter plugin. If a note haspublished: true
in its frontmatter, it will be published via theupdate-content.py
script. - The vault is backed up regularly, and on exit, to my VPS using Obsidian git.
- The git remote repo has a
post-receive
hook that runs the update-content.py script, copying all files withpublished: true
frontmatter to thequartz/content
directory, preserving sub-directory structures. - Quartz detects changes and updates accordingly. File additions can require a service restart to regenerate the link map.
- Traefik acts as a reverse proxy to give public access to the Quartz instance.