Obsidian + Quartz Setup
Knowledge base system using Obsidian for editing and Quartz for local publishing.
Architecture
Obsidian (local edit) β Git push (backup) β PM2 Quartz serve β NPM β notes.shdwnet.cloud
Local Setup
| Component | Location |
|---|---|
| Vault | ~/Documents/notes.shdwnet.org/content/ |
| Quartz | ~/Documents/notes.shdwnet.org/ |
| App | Flatpak: md.obsidian.Obsidian |
Launch Obsidian
flatpak run md.obsidian.ObsidianPM2 Service
Quartz runs locally via PM2, serving on port 3030.
| Property | Value |
|---|---|
| Name | quartz-notes |
| Port | 3030 |
| Host | 0.0.0.0 (all interfaces) |
| URL | https://notes.shdwnet.cloud |
Manage Service
pm2 list # Check status
pm2 logs quartz-notes # View logs
pm2 restart quartz-notes # Restart after changesStart Command (if needed)
cd ~/Documents/notes.shdwnet.org
pm2 start "npx quartz build --serve --port 3030" --name quartz-notes
pm2 saveβ οΈ Do NOT use
pm2 serveβ it doesnβt handle directory index.html properly. Use Quartzβs built-in server.
GitHub (Backup Only)
| Property | Value |
|---|---|
| Repo | red40mademedoit/notes.shdwnet.org |
| Branch | main |
| SSH Key | ~/.ssh/github_ed25519 |
β οΈ GitHub is for version control/backup only. No Cloudflare Pages deployment.
NPM Reverse Proxy
| Property | Value |
|---|---|
| Domain | notes.shdwnet.cloud |
| Forward | 192.168.1.156:3030 |
| SSL | Letβs Encrypt |
Workflow
Daily editing:
- Open Obsidian
- Edit notes in
content/ - Changes appear live at https://notes.shdwnet.cloud (PM2 watches files)
- Commit and push for backup:
cd ~/Documents/notes.shdwnet.org
git add .
git commit -m "Update notes"
git pushVault Structure (PARA)
00-Inbox/β Quick capture01-Projects/β Active, time-bound02-Areas/β Ongoing interests03-Resources/β Reference material04-Archive/β Completed/dormant05-Documentation/β Technical docsDaily/β Daily notesMaps/β Maps of ContentTemplates/β Note templates
Firewall Notes
NordVPN allowlist must include port 3030 for NPM to reach Quartz:
nordvpn allowlist add port 3030Recommended Plugins
- Dataview
- Calendar
- Templater
- Git