# silentvoid13/templater

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/silentvoid13-templater).**

4,590 stars · 283 forks · TypeScript · agpl-3.0

## Links

- GitHub: https://github.com/SilentVoid13/Templater
- Homepage: https://silentvoid13.github.io/Templater
- awesome-repositories: https://awesome-repositories.com/repository/silentvoid13-templater.md

## Topics

`obsidian-md` `obsidian-plugin`

## Description

Templater is an Obsidian template engine and JavaScript automation plugin that functions as a dynamic content generator and workflow orchestrator. It enables the automation of document creation and note-taking tasks through the use of dynamic placeholders and embedded logic.

The project distinguishes itself by executing custom JavaScript and shell commands to manipulate files and insert data. It allows for interactive note generation via modal prompts for user input and the import of external JavaScript modules to provide reusable logic outside of template files.

Its capabilities include programmatic file management—such as renaming, moving, and modifying metadata—and the automatic application of templates based on folder paths or regular expression patterns. The system also provides advanced date and time manipulation, web content fetching, and the ability to bind specific templates to keyboard shortcuts.

## Tags

### Content Management & Publishing

- [Dynamic Placeholder Expansion](https://awesome-repositories.com/f/content-management-publishing/dynamic-placeholder-expansion.md) — Replaces tagged placeholders in notes with values generated by executing embedded JavaScript.
- [Automated File Organizers](https://awesome-repositories.com/f/content-management-publishing/media-management/file-management-systems/automated-file-organizers.md) — Programmatically creates, renames, and organizes files based on folder patterns and metadata.
- [Text Placeholder Replacements](https://awesome-repositories.com/f/content-management-publishing/text-placeholder-replacements.md) — Replaces tagged placeholders in markdown files with values generated by predefined or custom JavaScript functions. ([source](https://cdn.jsdelivr.net/gh/silentvoid13/templater@master/README.md))

### Development Tools & Productivity

- [Dynamic Document Generators](https://awesome-repositories.com/f/development-tools-productivity/documentation-discovery-metadata/knowledge-documentation-management/documentation-knowledge-tools/documentation-generators/dynamic-document-generators.md) — Uses JavaScript and templates to automatically generate notes and documents with dynamic data and custom logic.
- [Application Instance Access](https://awesome-repositories.com/f/development-tools-productivity/application-instance-access.md) — Provides scripts with access to the core application object to manipulate vault files and metadata. ([source](https://silentvoid13.github.io/Templater/internal-functions/internal-modules/app-module.html))
- [Event-Driven Workflow Triggers](https://awesome-repositories.com/f/development-tools-productivity/event-driven-workflow-triggers.md) — Automatically executes templates based on application events such as file creation or startup.
- [Template Scripting](https://awesome-repositories.com/f/development-tools-productivity/project-scaffolding-config-code-generation/project-scaffolding-configuration/templating-engines/dynamic-templates/template-scripting.md) — Provides an environment for writing JavaScript functions to fetch data, run shell commands, and manipulate metadata.
- [Note Templating Engines](https://awesome-repositories.com/f/development-tools-productivity/template-engines/note-templating-engines.md) — Provides a scripting engine for Obsidian to automate document creation using dynamic placeholders and logic.
- [File State Queries](https://awesome-repositories.com/f/development-tools-productivity/file-state-queries.md) — Checks for file existence via path, searches for files by name, and retrieves active text selections. ([source](https://silentvoid13.github.io/Templater/internal-functions/internal-modules/file-module.html))
- [Shell Command Execution](https://awesome-repositories.com/f/development-tools-productivity/shell-command-execution.md) — Runs system binaries via the host operating system and captures output for insertion into notes.
- [Template Functions](https://awesome-repositories.com/f/development-tools-productivity/template-extensions/template-functions.md) — Allows the creation of reusable scripts or system commands that can be invoked within templates. ([source](https://silentvoid13.github.io/Templater/user-functions/overview.html))

### Web Development

- [Markdown Content Generation](https://awesome-repositories.com/f/web-development/content-insertion-utilities/dynamic-content-insertion/markdown-content-generation.md) — Functions as a dynamic content generator for injecting real-time data and formatted dates into markdown notes.

### Part of an Awesome List

- [Automation Plugins](https://awesome-repositories.com/f/awesome-lists/devtools/automation-plugins.md) — Acts as an automation plugin that executes JavaScript and shell commands to manipulate files.
- [Task and Workflow Automation](https://awesome-repositories.com/f/awesome-lists/productivity/task-and-workflow-automation.md) — Automates repetitive note-taking tasks via custom scripts, hotkeys, and automatic template application.
- [Programmatic File Identity Modification](https://awesome-repositories.com/f/awesome-lists/devtools/file-and-directory-management/programmatic-file-identity-modification.md) — Programmatically renames files or moves them to different locations within the storage directory. ([source](https://silentvoid13.github.io/Templater/internal-functions/internal-modules/file-module.html))
- [Modal Input Capture](https://awesome-repositories.com/f/awesome-lists/devtools/user-input/modal-input-capture.md) — Spawns modal dialogs to collect user text or selections during template execution.
- [Note Templates](https://awesome-repositories.com/f/awesome-lists/productivity/note-templates.md) — Community-driven template library for advanced note automation.

### Business & Productivity Software

- [Automatic Template Application](https://awesome-repositories.com/f/business-productivity-software/automatic-template-application.md) — Automatically applies templates to new files based on folder locations or regular expression patterns. ([source](https://silentvoid13.github.io/Templater/print.html))
- [Document Workflow Orchestration](https://awesome-repositories.com/f/business-productivity-software/document-workflow-orchestration.md) — Automatically applies templates to new files based on folder locations or regular expression path patterns.
- [Interactive Template Prompts](https://awesome-repositories.com/f/business-productivity-software/interactive-template-prompts.md) — Builds interactive templates that prompt users for input and choices to create personalized, structured documents.

### Data & Databases

- [Frontmatter Management](https://awesome-repositories.com/f/data-databases/file-storage-and-metadata-management/frontmatter-management.md) — Enables programmatic reading and modification of file frontmatter and system properties through scripts.
- [Date and Time Libraries](https://awesome-repositories.com/f/data-databases/date-and-time-libraries.md) — Integrates a comprehensive date-time library for complex parsing and manipulation of time data. ([source](https://silentvoid13.github.io/Templater/internal-functions/internal-modules/date-module.html))
- [Relative Date Generations](https://awesome-repositories.com/f/data-databases/date-and-time-libraries/relative-date-generations.md) — Calculates current and relative dates, such as weekdays, using customizable patterns and offsets. ([source](https://silentvoid13.github.io/Templater/internal-functions/internal-modules/date-module.html))
- [Web Content Fetching](https://awesome-repositories.com/f/data-databases/remote-data-fetching/cms-content-fetching/web-content-fetching.md) — Executes HTTP requests to retrieve remote web content for use within documents. ([source](https://silentvoid13.github.io/Templater/internal-functions/internal-modules/web-module.html))

### Operating Systems & Systems Programming

- [Native API Bridges](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/system-programming-primitives/system-abstractions/native-interoperability-bindings/native-system-integrations/native-api-bridges.md) — Provides a bridge to execute internal application functions and classes directly from template scripts. ([source](https://silentvoid13.github.io/Templater/internal-functions/internal-modules/obsidian-module.html))
- [File Template Generators](https://awesome-repositories.com/f/operating-systems-systems-programming/system-administration-maintenance/file-system-management/file-systems/file-template-generators.md) — Automates the creation of new notes based on predefined structures and dynamic content templates. ([source](https://silentvoid13.github.io/Templater/internal-functions/internal-modules/file-module.html))
- [File System Attributes](https://awesome-repositories.com/f/operating-systems-systems-programming/system-administration-maintenance/file-system-management/file-system-utilities/file-metadata-inspection/metadata-preservation-engines/metadata-extraction/file-system-attributes.md) — Retrieves system attributes including creation date, modification date, and system paths. ([source](https://silentvoid13.github.io/Templater/internal-functions/internal-modules/file-module.html))
- [External File Inclusions](https://awesome-repositories.com/f/operating-systems-systems-programming/system-administration-maintenance/file-system-management/file-systems/file-template-generators/external-file-inclusions.md) — Includes the content of other files into a template and recursively processes any tags found.
- [Metadata-Driven Templates](https://awesome-repositories.com/f/operating-systems-systems-programming/system-administration-maintenance/file-system-management/file-systems/file-template-generators/metadata-driven-templates.md) — Exposes file frontmatter variables within templates to personalize content based on specific file properties. ([source](https://silentvoid13.github.io/Templater/internal-functions/internal-modules/frontmatter-module.html))

### Programming Languages & Runtimes

- [Template Script Execution](https://awesome-repositories.com/f/programming-languages-runtimes/c-library-embedding/runtime-embedding/webassembly-engine-embedding/javascript-engine-embedding/template-script-execution.md) — Executes custom JavaScript code within templates to manipulate data and access global application variables. ([source](https://silentvoid13.github.io/Templater/commands/execution-command.html))
- [Module Importing](https://awesome-repositories.com/f/programming-languages-runtimes/module-importing.md) — Imports and executes custom JavaScript functions from a designated folder as modules. ([source](https://silentvoid13.github.io/Templater/print.html))
- [Script Module Resolution](https://awesome-repositories.com/f/programming-languages-runtimes/module-path-resolution/import-path-resolution/module-search-path-configurations/script-module-resolution.md) — Imports JavaScript functions from local directories as modules for reusable logic across templates.

### Software Engineering & Architecture

- [File System Automation](https://awesome-repositories.com/f/software-engineering-architecture/codebase-file-manipulation/file-system-automation.md) — Provides programmatic capabilities to create, rename, move, and modify file properties within the Obsidian vault. ([source](https://silentvoid13.github.io/Templater/print.html))
- [Dynamic Content Injection](https://awesome-repositories.com/f/software-engineering-architecture/inline-data-structures/splat-expansion/dynamic-content-injection.md) — Injects dynamic data and executes JavaScript logic to automate the generation of note content. ([source](https://silentvoid13.github.io/Templater/internal-functions/overview.html))

### User Interface & Experience

- [Application State Querying](https://awesome-repositories.com/f/user-interface-experience/application-state-managers/application-state-querying.md) — Retrieves metadata from file frontmatter and active file configurations to inform template logic. ([source](https://silentvoid13.github.io/Templater/print.html))
- [Read-Only Preview Resolutions](https://awesome-repositories.com/f/user-interface-experience/live-preview-renderers/template-previews/read-only-preview-resolutions.md) — Defines special commands that only resolve and update their content when viewed in preview mode. ([source](https://silentvoid13.github.io/Templater/print.html))
