A digital garden built with Quartz 4.
npm i
npx quartz build --serveThe site will be available at http://localhost:8080.
- Create a markdown file in
content/, e.g.content/2026-02-15-my-post.md - Add frontmatter at the top:
--- title: "My post title" date: 2026-02-15 tags: - topic ---
- Write your content below the frontmatter.
- Build and deploy:
npx quartz build mv public docs git add -A && git commit -m "new post" && git push
You can edit the content/ folder from Obsidian on another machine (e.g. Windows) using Syncthing to keep files in sync with the server.
sudo apt install syncthing
syncthing --no-browser &The web UI listens on localhost:8384. Tunnel to it from your local machine:
ssh -L 8384:localhost:8384 user@serverThen open http://localhost:8384 in your browser.
- Install Syncthing from https://syncthing.net/
- On the server's web UI, go to Actions > Show ID and copy the device ID
- On your local Syncthing, click Add Remote Device and paste the server's ID
- Accept the device on the server side when prompted
- Add the
content/folder as a shared folder on either side, share it with the other device - On your local machine, set the folder path to your Obsidian vault location
Edits in Obsidian will sync to the server within seconds. Run npx quartz build --serve on the server to get live hot-reload as files change.