🧠 Second Brain β€” Digital Garden

A living digital garden built from an Obsidian vault β€” publicly hosted at garden.christianjeremia.com.

This repo contains the raw Markdown notes. They’re compiled into a static site by Quartz v5 and served through Cloudflare + Caddy + nginx.

✨ What’s Inside

FolderPurpose
Notes/Quick thoughts, ideas, random knowledge
Research/Deep dives, articles, findings
Projects/Active project notes & planning

(Other folders like Daily/, Templates/, and Archive/ exist locally but are excluded from the public site.)

πŸ—οΈ Tech Stack

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Obsidian   β”‚ ← Authoring environment (markdown)
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
       β”‚
β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”
β”‚    Git      β”‚ ← Version control & backup (GitHub)
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
       β”‚
β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”
β”‚   Quartz    β”‚ ← Static site generator (Node.js)
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
       β”‚
β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”
β”‚   nginx     β”‚ ← Static file server (port 8080)
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
       β”‚
β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”
β”‚   Caddy     β”‚ ← Reverse proxy (port 80, clean redirects)
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
       β”‚
β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Cloudflare    β”‚ ← DNS, SSL, CDN, DDoS protection
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
LayerTechnologyRole
AuthoringObsidianWrite notes in markdown with wiki-links, tags, and graph view
Version ControlGit + GitHubBackup, history, sync across devices
Static Site GenQuartz v5Converts markdown vault into a browsable website with search, graph, and RSS
Web ServernginxServes static HTML/CSS/JS files on port 8080
Reverse ProxyCaddyListens on port 80, handles clean redirects (no port in URLs)
DNS & SSLCloudflareDNS management, free SSL, CDN caching, DDoS protection
HostingTencent Cloud Lighthouse (Singapore)2GB VPS running Ubuntu
AI AssistantHermes AgentPowers Jeri β€” the AI that helps write, sync, and publish notes

πŸ”„ Publishing Workflow

# 1. Write/edit a note in Notes/
# 2. Run the publisher (handles everything):
./publish-garden.sh Notes/my-note.md
 
# The script:
# βœ… Scans for privacy leaks
# βœ… git commit + push
# βœ… npx quartz build
# βœ… Reloads nginx

A pre-commit hook automatically scans all staged markdown files for sensitive data (IPs, phone numbers, private paths) before allowing a commit β€” nothing private makes it to the public repo.

🌐 Domain

The garden is live at garden.christianjeremia.com:

  • Domain registered via Cloudflare Registrar (at-cost)
  • Cloudflare proxy (orange cloud) for SSL + CDN
  • SSL mode: Flexible (Cloudflare handles HTTPS, forwards HTTP to the VPS)
  • Automatic redirects: https://garden.christianjeremia.com/ β†’ /notes/index

Everything here is a work in progress β€” like any good garden 🌱