A place for me to publish my learnings as I dive into topics and document my active projects.
Because I couldn't bring myself to pay 10 dollars a month for Obsidian Publish, I have decided to use a modified version of quartz based on Brandon Boswell's Tutorial which has allowed me to host my own digital garden using GitHub Pages.
I have a single Obsidian Vault with personal and public notes hosted on iCloud Drive (so I have access on my iPhone). I have a script that separates personal from public notes, copies them to the content directory, then builds the site. Then I have another script that will add all of the changed files and push them to GitHub where the GitHub Action will build and deploy my site to GitHub Pages.
🔗 Dom's Digital Garden 🪴
- Install Node Version Manager
nvm use 22
npm install
npx quartz build --serve --verboseQuartz 4.5.2 requires Node 22 or newer.
If npm install fails while compiling sharp and mentions libvips or node-gyp, your machine is probably picking up a global libvips install. In that case, rerun the install with:
SHARP_IGNORE_GLOBAL_LIBVIPS=1 npm install