π§ 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
| Folder | Purpose |
|---|---|
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
βββββββββββββββββββ
| Layer | Technology | Role |
|---|---|---|
| Authoring | Obsidian | Write notes in markdown with wiki-links, tags, and graph view |
| Version Control | Git + GitHub | Backup, history, sync across devices |
| Static Site Gen | Quartz v5 | Converts markdown vault into a browsable website with search, graph, and RSS |
| Web Server | nginx | Serves static HTML/CSS/JS files on port 8080 |
| Reverse Proxy | Caddy | Listens on port 80, handles clean redirects (no port in URLs) |
| DNS & SSL | Cloudflare | DNS management, free SSL, CDN caching, DDoS protection |
| Hosting | Tencent Cloud Lighthouse (Singapore) | 2GB VPS running Ubuntu |
| AI Assistant | Hermes Agent | Powers 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 nginxA 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
π Related
- Quartz Digital Garden Setup β Full setup documentation
- What is Nginx? β Why nginx over Node.js
- How Hermes Agent Works β The AI that helps run this
Everything here is a work in progress β like any good garden π±