diogo108035 downloadsSync templates and scripts from a GitHub repository into vault folders, and ask before applying each new version.
An Obsidian plugin that keeps your templates and scripts in one GitHub repo and syncs them into every vault you use. When the repo has a new commit, the plugin shows what changed and asks whether to update.
templates → Templates and scripts → Scripts/js)..obsidian config folder, so it can't install or change plugins.The plugin needs network access and a GitHub account, so here is exactly what it does:
https://api.github.com), for the single repository you configure. It does this to find the latest commit on your branch, list the repo's files, and download the files that changed.api.github.com, and only as an Authorization header.my-obsidian-kit/
templates/
scripts/
owner/my-obsidian-kit (a full URL also works).main..obsidian/plugins/get-my-scripts-and-templates/data.json, so don't commit or share that file.npm install
npm run dev # rebuild on every change
npm run build # production build
To test it, copy or symlink main.js and manifest.json into <vault>/.obsidian/plugins/get-my-scripts-and-templates/, then enable the plugin in Community plugins.