hadynz / obsidian-kindle-plugin

Sync your Kindle notes and highlights directly into your Obsidian vault
MIT License
897 stars 52 forks source link

Added a parameter on the startSync() function. #257

Open 0xchatware opened 1 year ago

0xchatware commented 1 year ago

Expose a parameter in order to use the function in another plugin. This is in order to make the API more accessible.

hadynz commented 12 months ago

Curiously — what's the use case that you are trying to implement from your other plugin?

I think there is a better way to expose this plugin's API than what you've done.

0xchatware commented 12 months ago

My kindle is jailbroken, and has an SSH daemon (USB networking).

The plugin's principle is to get My Clippings.txt from my kindle to my computer by an scp command. Then after getting the file, I want to use Kindle Highlights to parse my kindle notes.

What do you think is the best way to expose the plugin's API ?