Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin management and updating #318

Open
jangari opened this issue May 28, 2024 · 1 comment
Open

Plugin management and updating #318

jangari opened this issue May 28, 2024 · 1 comment

Comments

@jangari
Copy link

jangari commented May 28, 2024

Hey there, thanks for producing such an excellent tool. I've basically switched entirely over from Obsidian, which was the most promising from a long list of notes taking contenders.

I've been working on some plugins, particularly focusing on a today plugin, and I think it might be a good idea to think about plugin management, particularly updating. It doesn't have to be complex; something as simple as a plugin index file that maps plugins to URLs, so that running nb plugins update [<plugin>] fetches any updates from the URL.

The plugin index could simply be a block in the .nbrc file, consisting of names and URLs, so that installing a plugin could add its name and URL to .nbrc. Much like vim plug.

Plugins installed from file paths couldn't work in the same manner though. Perhaps the plugin directory has subdirectories per plugin, which could themselves optionally be git repos, allowing users to develop their own, or pull from the remote, or do so through nb plugins update.

Happy to spitball more ideas. Keen for nb to become the best it can be with a full community of plugin developers.

@Rooyca
Copy link
Contributor

Rooyca commented Jun 4, 2024

I'd love seeing this implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants