notes.velouria.dev/README.md

1.5 KiB

Quartz v4

Set up

Set up .env:

SOURCE_DIR=<path>
DEST_DIR=<path>

Run on local:

make publish local=True

Run on server:

make publish

How this works

  • From local obsidian, sync to remote obsidian
  • In local I read from local vault and copy to content all that have tag publish=True
  • In remote I read from remote vault and copy to content all that have tag publish=True

Current set up: Diagram

Improvements

  • scripts/publish.sh:
    • Skip copying files that already exist
    • Resize image to 60% for faster load
    • Keep source and destination dirs in sync
  • add restart/publish to make

“[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.” — Richard Hamming

Quartz is a set of tools that helps you publish your digital garden and notes as a website for free. Quartz v4 features a from-the-ground rewrite focusing on end-user extensibility and ease-of-use.

If you are looking for Quartz v3, you can find it on the hugo branch.

🔗 Read the documentation and get started: https://quartz.jzhao.xyz/

Join the Discord Community

Sponsors