https://github.com/narze/garden-astro
yet another digital garden, the content are fetched from https://github.com/narze/second-brain
https://github.com/narze/garden-astro
astrojs digital-garden fundme obsidian
Last synced: about 1 year ago
JSON representation
yet another digital garden, the content are fetched from https://github.com/narze/second-brain
- Host: GitHub
- URL: https://github.com/narze/garden-astro
- Owner: narze
- Created: 2023-06-20T15:09:29.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-28T09:21:27.000Z (over 1 year ago)
- Last Synced: 2025-04-17T00:18:21.589Z (over 1 year ago)
- Topics: astrojs, digital-garden, fundme, obsidian
- Language: TypeScript
- Homepage: https://garden.narze.live
- Size: 41.5 MB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Garden Astro
A Digital Garden generated with Astro. Allows editing on Obsidian and/or VSCode, sync with Git.
## Workflow
```mermaid
graph TD
A[Obsidian] -- "1️⃣ Sync notes" --> B[narze/second-brain]
B -- "2️⃣ Trigger Github Actions" --> C[narze/garden-astro]
C -- "3️⃣ Fetch & filter notes" --> B
C -- "4️⃣ Commit & Deploy" --> D[Vercel]
```
- Write notes in Obsidian app
- To publish note, these fields must be added in frontmatter
```yaml
publish: true
date: YYYY-MM-DD
title: "Title"
slug: "custom-slug" # Optional
```
- Non-private notes will be synced to the GitHub repository [narze/second-brain](https://github.com/narze/second-brain) via the Obsidian Git plugin.
- Upon update, the [narze/second-brain](https://github.com/narze/second-brain) repository will trigger another repository [narze/garden-astro](https://github.com/narze/garden-astro) via GitHub Actions.
- The [narze/garden-astro](https://github.com/narze/garden-astro) repository will run another GitHub Actions workflow to fetch notes from [narze/second-brain](https://github.com/narze/second-brain), filter only the notes marked to be published, post-process them, and then commit the changes.
- Vercel then picks up committed changes and deploy to
## Development
- `git clone https://github.com/narze/garden-astro`
- `pnpm install`
- `pnpm dev`