Spaces:
Sleeping
If you want to share your plugin with the Obsidian community, the best way is to submit it to the official list of plugins. Once we've reviewed and published your plugin, users can install it directly from within Obsidian. It'll also be featured in the plugin directory on the Obsidian website.
You only need to submit the initial version of your plugin. After your plugin has been published, users can download new releases from GitHub directly from within Obsidian.
Prerequisites
To complete this guide, you'll need:
- A GitHub account.
Before you begin
Before you submit your plugin, make sure you have the following files in the root folder of your repository:
- A
README.md
that describes the purpose of the plugin, and how to use it. - A
LICENSE
that determines how others are allowed to use the plugin and its source code. If you need help to add a license for your plugin, refer to Choose a License. - A
manifest.json
that describes your plugin. For more information, refer to [[Manifest]].
Step 1: Publish your plugin to GitHub
Template repositories If you created your plugin from one of our template repositories, you may skip this step.
To review your plugin, we need to access to the source code on GitHub. If you're unfamiliar with GitHub, refer to the GitHub docs for how to Create a new repository.
Step 2: Create a release
In this step, you'll prepare a release for your plugin that's ready to be submitted.
In
manifest.json
, updateversion
to a new version that follows the Semantic Versioning specification, for example1.0.0
for your initial release. You can only use numbers and periods (.
).Create a GitHub release. The "Tag version" of the release must match the version in your
manifest.json
.Enter a name for the release, and describe it in the description field. Obsidian doesn't use the release name for anything, so feel free to name it however you like.
Upload the following plugin assets to the release as binary attachments:
main.js
manifest.json
styles.css
(optional)
Step 3: Submit your plugin for review
In this step, you'll submit your plugin to the Obsidian team for review.
In community-plugins.json, add a new entry at the end of the JSON array.
{ "id": "doggo-dictation", "name": "Doggo Dictation", "author": "John Dolittle", "description": "Transcribes dog speech into notes.", "repo": "drdolittle/doggo-dictation" }
id
,name
,author
, anddescription
determines how your plugin appears to the user, and should match the corresponding properties in your [[Manifest]].id
is unique to your plugin. Searchcommunity-plugins.json
to confirm that there's no existing plugin with the same id. Theid
can't containobsidian
.repo
is the path to your GitHub repository. For example, if your GitHub repo is located at https://github.com/your-username/your-repo-name, the path isyour-username/your-repo-name
.
Remember to add a comma after the closing brace,
}
, of the previous entry.Select Commit changes... in the upper-right corner.
Select Propose changes.
Select Create pull request.
Select Preview, and then select Community Plugin.
Click Create pull request.
In the name of the pull request, enter "Add [...] plugin", where [...] is the name of your plugin.
Fill in the details in the description for the pull request. For the checkboxes, insert an
x
between the brackets,[x]
, to mark them as done.Click Create pull request (for the last time 🤞).
You've now submitted your plugin to the Obsidian plugin directory. Sit back and wait for an initial validation by our friendly bot. It may take a few minutes before the results are ready.
- If you see a Ready to review label on your PR, your submission has passed the automatic validation.
- If you see a Validation failed label on your PR, you need to address all listed issues until the bot assigns a Ready to review label.
Once your submission is ready to review, you can sit back and wait for the Obsidian team to review it.
[!question] How long does it take to review my plugin? The time it takes to review your submission depends on the current workload of the Obsidian team. The team is still small, so please be patient while you wait for your plugin to be reviewed. We're currently unable to give any estimates on when we'll be able to review your submission.
Step 4: Address review comments
Once a reviewer has reviewed your plugin, they'll add a comment to your pull request with the result of the review. The reviewer may require that you update your plugin, or they can offer suggestions on how you can improve it.
Address any required changes and update the GitHub release with the new changes. Leave a comment on the PR to let us know you've addressed the feedback. Don't open a new PR.
We'll publish the plugin as soon we've verified that all required changes have been addressed.
While only Obsidian team members can publish your plugin, other community members may also offer to review your submission in the meantime.
Next steps
Once we've reviewed and published your plugin, it's time to announce it to the community:
- Announce in Share & showcase in the forums.
- Announce in the
#updates
channel on Discord. You need thedeveloper
role to post in#updates
.