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
| Component | Location |
|---|---|
| Vault/Quartz | ~/Documents/notes.shdwnet.org/ |
| Content | ~/Documents/notes.shdwnet.org/content/ |
| Quartz Version | 4.5.2 |
| Node Requirement | β₯22 |
Launch Obsidian
flatpak run md.obsidian.ObsidianLocal Preview
cd ~/Documents/notes.shdwnet.org
npx quartz build --serveDev server runs at: http://localhost:8080
π GitHub
| Property | Value |
|---|---|
| Repo | red40mademedoit/notes.shdwnet.org |
| URL | git@github.com:red40mademedoit/notes.shdwnet.org.git |
| Branch | main |
| SSH Key | ~/.ssh/github_ed25519 |
βοΈ Cloudflare Pages
| Property | Value |
|---|---|
| Project | notes-shdwnet-org |
| Preview URL | notes-shdwnet-org.pages.dev |
| Custom Domain | notes.shdwnet.org |
| Build Command | npm run quartz build |
| Output Dir | public |
| Node Version | 22 |
π Deploy Workflow
- Edit notes in Obsidian (vault is
content/) - Commit and push:
cd ~/Documents/notes.shdwnet.org
git add .
git commit -m "Update notes"
git push- 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
| Setting | Value |
|---|---|
| Config file | quartz.config.ts |
| Layout | quartz.layout.ts |
| Base URL | notes.shdwnet.org |
| Analytics | Plausible |
| Ignored patterns | private, 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 buildServe with hot reload
npx quartz build --serveSync upstream Quartz updates
npx quartz updateπ Linking Conventions
| Syntax | Usage |
|---|---|
[[Page Name]] | Wiki-style internal link |
[[folder/page|Display Text]] | Link with custom text |
![[image.png]] | Embed image |
#tag | Tag 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
| Task | Command/Action |
|---|---|
| Update Quartz | npx quartz update |
| Check broken links | Review build warnings |
| Prune archive | Move stale items from Inbox β Archive |
| Backup vault | Git + ~/Documents/Obsidian-backup/ |
π Related Links
Last updated: 2025-02-02