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

Adding multiple hot folders #39

Closed
br4yd opened this issue Sep 30, 2024 · 1 comment
Closed

Adding multiple hot folders #39

br4yd opened this issue Sep 30, 2024 · 1 comment
Assignees

Comments

@br4yd
Copy link

br4yd commented Sep 30, 2024

Hi, would it be possible to add multiple hot folders that are being watched?

I just started work on an external application built with Rust that has a GUI. It works together with your hot folder plugin.

-> https://github.com/br4yd/joplin-gen

My use case is that I want to track books and notes about people (like a contact book). Joplin itself doesn't really have (IMO) good support for working with templates like a database.

However for me it's important to track books I read with a note for each book containing information like author, book title, ISBN, etc., as well as people with things like name, birthdate, address, phone number, mail, etc.

Currently my software created a GUI where you enter information like author, book title (and more but its currently proof of concept). It then asks for the folder to store that file in. In this case I select the hot folder that your plugin watches. My software then writes the markdown file with a table containing all that information. Basically like a template that gets filled automatically with the stuff I enter.

This works really well together with your plugin! So I can build on that and finalize my software.

However, I currently have the plugin set up to basically watch the hot folder and import all the files into the book notebook in Joplin. This works but if I add the functionality for my software to also add people or other types of templates, data, whatever, I have the issue that I can only have one hot folder.

So a person would also land in the books notebook in Joplin and I'd have to sort it manually into the people notebook which is additional work.

So in that case it would be nice if we could set multiple hot folders.

So for example

Documents/hotfolder-books -> Goes into a Books Notebook in Joplin

Documents/hotfolder-people -> Goes into a people notebook in Joplin

Thank you in advance and many thanks for creating this plugin!

@JackGruber
Copy link
Owner

Multiple Hotfolders already implemented.
You can simply specify the desired number of hotfolders.
grafik

P.S.: Do you know the template plugin?
https://github.com/notifications?query=repo%3Ajoplin%2Fplugin-templates

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