obsidian-webpage-export icon indicating copy to clipboard operation
obsidian-webpage-export copied to clipboard

Allow running custom executable on export completion

Open ezxzeng opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. Exported files are sent to a local folder, which I then commit and push to github. That adds a couple of additional steps to the export process, and also takes up local storage

Describe the solution you'd like Maybe something similar to github publisher or obsidian digital garden which uses a github personal access token to merge the changes to a remote repo

Describe alternatives you've considered This could be a workaround until #140 or #49 gets implemented. Might be easier to do since other plugins are already able to do something similar

ezxzeng avatar Oct 03 '23 20:10 ezxzeng

Thanks for the suggestion, I understand how that could be annoying however I don't think I will add this directly because it is outside the scope of what the plugin is really meant to do at this point in time. What do you think of the plugin letting you run a custom bash or batch script upon finishing the export. You can then have that script run an automatic commit and push of your repo.

KosmosisDire avatar Oct 04 '23 15:10 KosmosisDire

That sounds pretty useful for sure.

ezxzeng avatar Oct 05 '23 02:10 ezxzeng