notes.shdwnet.org Setup Documentation

Personal knowledge base using Obsidian for editing and Quartz for publishing as a static site.


πŸ—οΈ Architecture

Obsidian (local) β†’ Git push β†’ GitHub β†’ Cloudflare Pages β†’ notes.shdwnet.org

πŸ’» Local Setup

ComponentLocation
Vault/Quartz~/Documents/notes.shdwnet.org/
Content~/Documents/notes.shdwnet.org/content/
Quartz Version4.5.2
Node Requirementβ‰₯22

Launch Obsidian

flatpak run md.obsidian.Obsidian

Local Preview

cd ~/Documents/notes.shdwnet.org
npx quartz build --serve

Dev server runs at: http://localhost:8080


πŸ™ GitHub

PropertyValue
Repored40mademedoit/notes.shdwnet.org
URLgit@github.com:red40mademedoit/notes.shdwnet.org.git
Branchmain
SSH Key~/.ssh/github_ed25519

☁️ Cloudflare Pages

PropertyValue
Projectnotes-shdwnet-org
Preview URLnotes-shdwnet-org.pages.dev
Custom Domainnotes.shdwnet.org
Build Commandnpm run quartz build
Output Dirpublic
Node Version22

πŸš€ Deploy Workflow

  1. Edit notes in Obsidian (vault is content/)
  2. Commit and push:
cd ~/Documents/notes.shdwnet.org
git add .
git commit -m "Update notes"
git push
  1. Cloudflare Pages auto-rebuilds (~1-2 min)

πŸ“ Vault Structure (PARA Method)

content/
β”œβ”€β”€ 00-Inbox/          # Quick capture
β”œβ”€β”€ 01-Projects/       # Active, time-bound work
β”œβ”€β”€ 02-Areas/          # Ongoing interests
β”œβ”€β”€ 03-Resources/      # Reference material
β”œβ”€β”€ 04-Archive/        # Completed/dormant
β”œβ”€β”€ 05-Documentation/  # Technical docs (infra, services, guides)
β”œβ”€β”€ 06-Admin/          # Corporate, legal, IP registry
β”œβ”€β”€ Daily/             # Daily notes
β”œβ”€β”€ Maps/              # Maps of Content (MOCs)
β”œβ”€β”€ Templates/         # Note templates
└── index.md           # Homepage

βš™οΈ Quartz Config

SettingValue
Config filequartz.config.ts
Layoutquartz.layout.ts
Base URLnotes.shdwnet.org
AnalyticsPlausible
Ignored patternsprivate, templates, .obsidian

Features enabled:

  • SPA navigation
  • Link popovers on hover
  • LaTeX rendering (KaTeX)
  • Syntax highlighting
  • RSS feed & sitemap generation
  • Custom OG images

πŸ”§ Quick Commands

Build locally

npx quartz build

Serve with hot reload

npx quartz build --serve

Sync upstream Quartz updates

npx quartz update

πŸ”— Linking Conventions

SyntaxUsage
[[Page Name]]Wiki-style internal link
[[folder/page|Display Text]]Link with custom text
![[image.png]]Embed image
#tagTag for categorization

πŸ“‹ Frontmatter Template

---
title: "Note Title"
date: 2025-02-02
tags:
  - topic
  - category
draft: false
---

Set draft: true to hide a note from the published site.


πŸ—ΊοΈ Maps of Content (MOCs)

MOCs serve as index pages for topics. Create new MOCs in Maps/ folder with naming convention MOC-TopicName.md.


πŸ”§ Maintenance

TaskCommand/Action
Update Quartznpx quartz update
Check broken linksReview build warnings
Prune archiveMove stale items from Inbox β†’ Archive
Backup vaultGit + ~/Documents/Obsidian-backup/


Last updated: 2025-02-02