omnivore-app / obsidian-omnivore

Obsidian plugin to fetch articles and highlights from Omnivore
MIT License
720 stars 39 forks source link

[Feature Request] Post-sync actions #212

Open joshrivers opened 3 months ago

joshrivers commented 3 months ago

I would like the ability to change the item in Omnivore when sync of the item is complete.

The use case I have in mind is that I could add a label to the articles I have synced, and then use that label in my filter query to exclude previously synced articles from any future sync. This would allow me to edit, delete, or move the files without getting a mess made the next time I synced (or resynced). I could also manually go into Omnivore and remove that label to get a refresh of something I had added highlights to.

So the simplest form of this feature is just a post-sync label preference.

Alternatively, providing a place to provide a user script that can run after each article sync and run actions with details from the Obsidian page, Omnivore item, and access to the API would allow people to DIY their logic for post-processing synced items (and probably get someone interested in a pre-sync phase....but that isn't in the scope here :)

I think this feature would provide an answer for multiple open feature requests ... I know people want a fully stateful two-way sync, but this would at least provide some control over the future changes to your edited notes, with a less complex implementation.