57 lines
2.1 KiB
Markdown
57 lines
2.1 KiB
Markdown
---
|
|
publish: true
|
|
permalink: /sh/garden
|
|
title: Digital Garden
|
|
created: 2026-02-05T09:58:59.613-07:00
|
|
modified: 2026-02-05T12:21:13.912-07:00
|
|
tags:
|
|
- self_hosting
|
|
- digital_gardening
|
|
- guide
|
|
cssclasses: ""
|
|
---
|
|
|
|
# Digital Garden Setup
|
|
|
|
My digital garden stack for publishing Obsidian notes to the web.
|
|
|
|
## Architecture
|
|
|
|
```
|
|
Obsidian Vault → Quartz Syncer → Quartz (build) → Caddy (serve)
|
|
↓
|
|
Self-hosted LiveSync (multi-device editing)
|
|
```
|
|
|
|
## Components
|
|
|
|
1. [[20-29 HOBBYS/22 SELF HOSTING/22.11 DIGITAL GARDEN/Obsidian]] — Note-taking and editing
|
|
2. [[20-29 HOBBYS/22 SELF HOSTING/22.11 DIGITAL GARDEN/Quartz]] — Static site generator (Markdown → HTML)
|
|
3. [[20-29 HOBBYS/22 SELF HOSTING/22.11 DIGITAL GARDEN/Caddy]] — Web server with automatic HTTPS
|
|
4. [[20-29 HOBBYS/22 SELF HOSTING/22.11 DIGITAL GARDEN/Selfhosted Live Sync]] — Real-time sync across devices
|
|
|
|
## Setup Order
|
|
|
|
1. **[[20-29 HOBBYS/22 SELF HOSTING/22.11 DIGITAL GARDEN/Obsidian]]** — Install and configure plugins
|
|
2. **[[20-29 HOBBYS/22 SELF HOSTING/22.11 DIGITAL GARDEN/Selfhosted Live Sync]]** — Set up CouchDB for multi-device sync
|
|
3. **[[20-29 HOBBYS/22 SELF HOSTING/22.11 DIGITAL GARDEN/Quartz]]** — Clone repo, configure, connect to vault
|
|
4. **[[20-29 HOBBYS/22 SELF HOSTING/22.11 DIGITAL GARDEN/Caddy]]** — Configure reverse proxy and deploy
|
|
|
|
## Publishing Workflow
|
|
|
|
1. Write/edit notes in Obsidian (any device)
|
|
2. LiveSync keeps all devices in sync via CouchDB
|
|
3. Mark notes for publishing with `publish: true` frontmatter
|
|
4. Use Quartz Syncer plugin to push to Quartz repo
|
|
5. Build triggers (manual or CI) regenerate the site
|
|
6. Caddy serves the static files
|
|
|
|
## Quick Reference
|
|
|
|
| Component | Purpose | Tech |
|
|
|-----------|---------|------|
|
|
| Editor | [[20-29 HOBBYS/22 SELF HOSTING/22.11 DIGITAL GARDEN/Obsidian]] | Electron app |
|
|
| Sync | [[20-29 HOBBYS/22 SELF HOSTING/22.11 DIGITAL GARDEN/Selfhosted Live Sync]] | CouchDB |
|
|
| Generator | [[20-29 HOBBYS/22 SELF HOSTING/22.11 DIGITAL GARDEN/Quartz]] | Node.js/TypeScript |
|
|
| Server | [[20-29 HOBBYS/22 SELF HOSTING/22.11 DIGITAL GARDEN/Caddy]] | Go binary |
|