Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Get My Scripts and Templates

diogo1080diogo108035 downloads

Sync templates and scripts from a GitHub repository into vault folders, and ask before applying each new version.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

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.

How it works

  • You map repo folders to vault folders (for example, templates → Templates and scripts → Scripts/js).
  • The plugin checks the branch's latest commit at startup and on an interval you set.
  • If any mapped file differs from your vault, a dialog lists every file that is new, changed or removed, and offers three buttons:
    • Update applies the files you left checked.
    • Later asks again at the next check.
    • Skip this version stops asking until the repo gets another commit.
  • Your local edits are protected. The plugin records the git blob hash of every file it writes. If you edited a synced file in a vault, the dialog flags it as "edited locally" and leaves it unchecked, so it isn't overwritten unless you choose to.
  • Removing a file from the repo moves the vault copy to the system trash. Files you added to the vault yourself are never touched.
  • The plugin only writes inside the vault folders you map. It never writes to hidden folders or to the .obsidian config folder, so it can't install or change plugins.
  • Downloaded files are plain files, such as templates and scripts for Templater or QuickAdd. This plugin never runs them.
  • No git install is needed, and it works on mobile.

Network use and accounts

The plugin needs network access and a GitHub account, so here is exactly what it does:

  • Remote service: it calls only the GitHub REST API (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.
  • When: at startup (optional), on the interval you set (optional), and when you run Check for updates.
  • Account: your templates must be in a GitHub repository. A GitHub personal access token is needed for private repos; public repos work without one. The token is sent only to api.github.com, and only as an Authorization header.
  • Telemetry: none, and no other data leaves your device.

Setup

  1. Push your templates and scripts to a GitHub repo, for example:
    my-obsidian-kit/
      templates/
      scripts/
    
  2. Install the plugin in a vault (see Development below).
  3. In Settings → Get My Scripts and Templates:
    • Repository: owner/my-obsidian-kit (a full URL also works).
    • Branch: main.
    • Access token: required for private repos. Create a fine-grained token limited to that repo with Contents: Read-only. The token is stored in plain text in the vault's .obsidian/plugins/get-my-scripts-and-templates/data.json, so don't commit or share that file.
    • Folder mappings: repo folder → vault folder.
  4. Run Check for updates from the command palette or the ribbon icon.

Development

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.

Limits

  • GitHub only, for now.
  • Without a token the API allows 60 requests per hour. A check uses 1–2 requests, and an update uses one more request per changed file.
  • Repos big enough for GitHub to truncate the tree listing aren't supported. That's around 100k files, far more than a templates repo needs.

License

MIT

HealthExcellent
ReviewSatisfactory
About
Sync templates and scripts from a single GitHub repo into mapped vault folders and show a per-file update dialog when the repo has new commits. Protect local edits by tracking file blob hashes, never write to hidden or .obsidian folders, and move removed repo files to the system trash.
SyncingIntegrationsFiles
Details
Current version
0.1.0
Last updated
6 days ago
Created
6 days ago
Updates
1 release
Downloads
35
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
diogo1080diogo1080
GitHubdiogo1080
  1. Community
  2. Plugins
  3. Syncing
  4. Get My Scripts and Templates

Related plugins

Google Drive Sync

Syncs a vault into Google Drive for cross-platform use (works for iOS).

Self-hosted LiveSync

Sync vaults securely to self-hosted servers or WEBRTC.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

Sync Engine

The extensible vault synchronization engine: Fast · Free · Reliable. Supports WebDAV, S3, Google Drive, and Dropbox.

OneDrive Sync

Sync your Obsidian vault with OneDrive Personal/Consumer

Nextcloud Sync

Bidirectional sync between Obsidian and Nextcloud using hash-based change detection.

GitHub

Git Sync

Sync your vault across all devices using your own GitHub account. Free forever.

Claude Code IDE

Connect your vault to Claude Code and share editor context with the CLI.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.