This boilerplate template helps you quickly start developing plugins for Obsidian.
-
Fork this repository: Navigate to https://github.com/GoBeromsu/obsidian-boiler-template and click the "Fork" button in the top-right corner of the page. This will create a copy of the repository in your GitHub account.
-
Clone your forked repository:
git clone https://github.com/your-username/obsidian-boiler-template.git
-
Update personal details: Before proceeding, make sure to update the following files with your personal information:
LICENSE: Update the year and your name.package.json: Update theauthorfield.manifest.json: Update theauthor,authorUrl, and other relevant fields.
-
Install dependencies:
cd your-plugin-name yarn install -
Build the plugin:
yarn run dev
- Make changes to
main.tsor create new.tsfiles. - Run
yarn run devto compile changes tomain.js. - Reload Obsidian to load the new version of your plugin.
- Enable the plugin in Obsidian's settings.
- Publish an initial version.
- Ensure you have a
README.mdin your repository root. - Submit a pull request to obsidianmd/obsidian-releases.
This project is licensed under the MIT License. See the LICENSE file for details.