This is not exactly an answer to your question, but I thought I would share anyway.
I use Obsidian for all sorts of PC work, and there are a multitude of plugins and scripts to automate and organise all sorts of tasks. I have no need for any scripts outside of this program.
Edit: let me know if you are interested and want some tips. There are a million tutorials and articles out there too.