An open API service indexing awesome lists of open source software.

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

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`