pochade-obsidian

Pochade Obsidian Splash Image

Pochade Obsidian

The npx template for vibe-coded Obsidian plugins.

Quick Start

Create a new plugin instantly:

cd into the .obsidian/plugins folder of your Obsidian notebook and run:

npx pochade-obsidian {name of my new plugin}

This interactive CLI will set you up with:

Why Pochade?

I think vibe coding on production is a really bad idea. But for writing plugins for Obsidian I think it’s amazing.

With great power comes great responsibility, etc.

Structure that Scales

Instead of dumping everything into main.ts, Pochade organizes your code for the long haul:

my-plugin-name/
β”œβ”€β”€ .hotreload           # Ready for hot-reload plugin
β”œβ”€β”€ AGENTS.md            # System prompts for your AI agent
β”œβ”€β”€ LLM.md               # Context on Obsidian API for LLMs
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main.ts          # Lifecycle management
β”‚   β”œβ”€β”€ settings.ts      # Settings UI
β”‚   └── commands/        # One file per command
β”‚       β”œβ”€β”€ insert-date.ts
β”‚       └── ...
└── styles.css           # Clean, separate styling

Development

  1. Navigate to your project:
    cd my-new-plugin
    
  2. Start the dev server:
    npm run dev
    
  3. Install in Obsidian:
    • Copy or symlink your folder to <Vault>/.obsidian/plugins/.
    • Enable the Hot Reload plugin in Obsidian for the best experience.

License

Unlicense (Public Domain). Build something beautiful.