Note
This is one of the plugins of the collections of plugins called Nólëbase Integrations. You can explore the other plugins in the collection in the official documentation site of Nólëbase Integrations.
This is a template plugin for you to start developing your own Obsidian plugin. It is a good starting point for you to develop your own plugin. You can clone this repository and start developing your own plugin.
We use the most advanced technologies to develop this plugin, including:
So everything is configured for you to start developing your own plugin, immediately.
- Replace all the
obsidian-plugin-templatewith the name of your plugin:- In the
manifest.jsonfile. - In the
package.jsonfile. - In the
README.mdfile.
- In the
- Replace all the
Obsidian Template Pluginwith the name of your plugin:- In the
manifest.jsonfile. - In the
package.jsonfile. - In the
README.mdfile.
- In the
- Fill in a URL to your repository. You can replace with
https://github.com/nolebase/obsidian-plugin-template - Fill in the Why, Features, What can you do with it, Demos, How to install, TODOs, feel free to remove the sections that are not needed.
- Replace the name
SomeViewPluginandSomePluginwith your own plugin name.
- Modify the version in the
manifest.jsonfile. - Modify the version in the
package.jsonfile. - Push the changes to the repository.
- Go to the [Release] page of the repository.
- Create a new release with the tag name as the version number.
- Sit back and relax, the plugin will be published with CI/CD pipelines automatically.
Introduce your plugin! Explain why you made it, why would users choose yours!
- 📦 Out of the box support.
- 🚀 Blazingly fast.
- 💡 You define it.
- Help users to imagine what they can do, show your imagination.
Show me what you can do
Perhaps a GIF?
Warning
Currently Obsidian Template Plugin is in alpha stage, it wasn't guaranteed to work properly and keep the compatibility with the future versions of itself.
But it is encouraged to try it out and give feedbacks. If you find and bugs or have any suggestions, please feel free to open an issue on GitHub.
Currently, it is a bit hard to install the plugin for now before it is published to the official Obsidian plugin store. Manual downloading and installation is required.
Install with beta testing helper BRAT plugin
- Install the BRAT plugin right from the official Obsidian plugin store.
- Enable the BRAT plugin in the community plugins settings menu.
- Open Command palette to choose
BRAT: Plugins: Add a beta plugin for testing. - Copy and paste the following link to the first field of the new prompted dialog:
https://github.com/nolebase/obsidian-plugin-template- Find the needed released version on Release page of Obsidian UnoCSS Plugin, for example, fill in
0.1.0. - Enable the "Obsidian Template Plugin" plugin from the
Installed pluginslist.
- Navigate to the Release page of Obsidian Template Plugin
- Find the latest version of the plugin.
- Download the
main.jsfile andmanifest.jsonfile. - Open up the
.obsidian/pluginsdirectory of your Obsidian vault. - If no
.obsidian/pluginsdirectory exists, create one. - Create a new directory named
obsidian-plugin-templateinside the.obsidian/pluginsdirectory. - Move
main.jsfile andmanifest.jsonfile into theobsidian-plugin-templatedirectory.
The directory structure should look like this after these steps:
❯ tree
.
├── main.js
├── manifest.json- Enable the "Obsidian Template Plugin" plugin from the "Installed plugins" list.
- Anything on the roadmap?
- As Build a plugin - Developer Documentation has suggested, create a separate vault for development.
- (Optional) Install the hot-reload plugin: pjeby/hot-reload.
- Create a
.obsidian/pluginsdirectory in the vault root. - Clone this repository into the
.obsidian/pluginsdirectory. - Install dependencies
pnpm installIf you use @antfu/ni, you can also use the following command:
ni- Build the plugin for development
pnpm run buildIf you use @antfu/ni, you can also use the following command:
nr build- Reload Obsidian to see the changes. (If you use the hot-reload plugin, you don't need to reload Obsidian manually.)
Reloading can be called from the command palette with
Reload app without savingcommand.
pnpm run buildIf you use @antfu/ni, you can also use the following command:
nr build