No description
Find a file
2025-03-08 23:10:22 +01:00
.github Initial commit 2025-03-08 23:10:22 +01:00
src Initial commit 2025-03-08 23:10:22 +01:00
.editorconfig Initial commit 2025-03-08 23:10:22 +01:00
.eslintignore Initial commit 2025-03-08 23:10:22 +01:00
.eslintrc Initial commit 2025-03-08 23:10:22 +01:00
.eslintrc.json Initial commit 2025-03-08 23:10:22 +01:00
.gitignore Initial commit 2025-03-08 23:10:22 +01:00
.npmrc Initial commit 2025-03-08 23:10:22 +01:00
CHANGELOG.md Initial commit 2025-03-08 23:10:22 +01:00
esbuild.config.mjs Initial commit 2025-03-08 23:10:22 +01:00
jest.config.js Initial commit 2025-03-08 23:10:22 +01:00
manifest.json Initial commit 2025-03-08 23:10:22 +01:00
package-lock.json Initial commit 2025-03-08 23:10:22 +01:00
package.json Initial commit 2025-03-08 23:10:22 +01:00
README.md Initial commit 2025-03-08 23:10:22 +01:00
tsconfig.json Initial commit 2025-03-08 23:10:22 +01:00
version-bump.mjs Initial commit 2025-03-08 23:10:22 +01:00
version-changelog.mjs Initial commit 2025-03-08 23:10:22 +01:00
versions.json Initial commit 2025-03-08 23:10:22 +01:00

Plugin Template

This is a template for creating plugins for Obsidian, maintained by wenlzhang.

Getting started

  1. Clone this repository to your local machine
  2. Update the following files with your plugin information:
    • manifest.json:
      • id: Your plugin ID (in kebab-case)
      • name: Your plugin name
      • author: Your name
      • authorUrl: Your website or GitHub profile URL
      • fundingUrl: Optional funding information
    • package.json:
      • name: Your plugin name (should match manifest.json)
      • description: Your plugin description
      • author: Your name
      • keywords: Relevant keywords for your plugin

Development

  1. Install dependencies:
npm install
  1. Start development server:
npm run dev
  1. Build the plugin:
npm run build

Testing your plugin

  1. Create a test vault in Obsidian
  2. Create a .obsidian/plugins folder in your test vault
  3. Copy your plugin folder into the plugins folder
  4. Reload Obsidian to load the plugin (Ctrl/Cmd + R)
  5. Enable the plugin in Obsidian's settings

Publishing your plugin

  1. Update versions.json with your plugin's version history
  2. Test your plugin thoroughly
  3. Create a GitHub release
  4. Submit your plugin to the Obsidian Plugin Gallery

Support me

Buy Me a Coffee at ko-fi.com