Recently I’ve been thinking more and more about publishing some thoughts I’ve had; I just didn’t have the motivation, time, or trigger to do so. A conversation I had yesterday made me realize that writing is actually quite important.
Writing forces me to take a stance, to have a digital identity and a voice which is difficult but valuable. - WJ
Let’s see how it goes!
In researching the best path to publish, I decided I wanted these constraints:
- Don’t want to have to manage a separate vault, but if necessary, sure.
- If I have to manage a separate vault, I don’t want it to be deeply nested in a project structure. I’m here to write, not to code!
- I want it statically generated
- I want to keep the majority of my Obsidian unpublished, and only notes in
publishedfolder published. - I don’t want to have to manually set posts to be published. It should publish all unless I add a property saying that it’s a draft.
- Mostly working out of the box. Again, I’m here to write, not to code!
The options
- Jekyll: The CEO of Obsidian uses this to publish his own blog! It has a bunch of Obsidian focused plugins and several other guides
- Digital Garden plugin
- Astro Starlight (tutorial)
- Quartz 4
I’m not a huge fan of Ruby (so no Jekyll), and I wanted to isolate my posts in a folder rather than just tag specific notes to publish (so no Digital Garden plugin). I tried Astro Starlight but found it a bit too much like a “Documentation website,” and I didn’t really like the config method of pointing to a vault in a separate directory (I don’t want it running in the same repo as my vault).
Quartz seemed good! It just seemed like I had to use the repo generated by Quartz as a separate vault, which wasn’t ideal… until I came across Quartz Syncer plugin.
The Quartz Syncer plugin takes all the markdown files in a specified directory and includes it in new git commits to your personal Quartz settings repo.
Instructions
- Create quartz repo and update settings in that repo (like site title, base url etc)
- Install and add credentials to Quartz Syncer plugin within Obsidian
- In Quartz Syncer plugin, set dir to
publishedand turn on default publish all - Add repo to Cloudflare Pages and set custom domain
- Write some posts… or just add
indexpage to yourpublishedfolder - In the Obsidian ribbon, click Quartz Syncer publication center and publish!
Here’s the frontmatter I included in my index, so I don’t have a random page called “index”:
---
title: Allie's Homepage
draft: false
tags:
description:
aliases:
---
Thoughts
This is my second post, and I’m still evaluating the whole workflow. But so far so good, and I am excited to write and publish more!