Skip to content

thedavidyoungblood/Obsidian-WebClipper-Template-Generator

Repository files navigation

Obsidian WebClipper Template Generator

The Obsidian WebClipper Template Generator is a Python utility that automates the creation of JSON template files for the Obsidian WebClipper Chrome extension. In addition to generating the necessary folder structure and templates for various clipping scenarios, it also produces a comprehensive README_IMPORT_GUIDANCE.txt to help you seamlessly import and manage your templates.

Whether you’re new to the Obsidian ecosystem or looking to customize your clipping workflow, this tool and the curated resources below will get you up and running quickly.


Table of Contents

  1. Features
  2. Installation
  3. Usage
  4. Repository Structure
  5. Obsidian WebClipper Settings & Configuration
  6. User Guidance & Resources
  7. Additional Resources
  8. Obsidian WebClipper Templates
  9. License
  10. Contact
  11. Acknowledgements

Features

  • Automated Directory & File Generation
    Creates a structured set of subdirectories and JSON files for various clipping scenarios:

    • Clippings/ — Core template.
    • Clippings/Summaries/ — For summary templates.
    • Clippings/Research/ — For research & AI insights templates.
    • Clippings/Translations/ — For translation templates.
    • Clippings/Articles/ — For news/blog article templates.
    • Clippings/Highlights/ — For highlights-only templates.
    • Clippings/GitHub/ — For GitHub page templates.
    • Clippings/Medium/ — For Medium article templates.
    • Clippings/Generic/ — For fallback generic templates.
  • Guided Import Process
    Automatically generates a README_IMPORT_GUIDANCE.txt with step-by-step instructions for importing your templates into Obsidian WebClipper.

  • Minimal Dependencies
    Requires only Python 3.7 or higher and uses only the standard library.

  • Comprehensive User Guidance
    Leverages curated resources—from detailed guides and video tutorials to community repositories—to help you master custom template creation and management.


Installation

  1. Ensure Python 3.7+ is installed.

  2. (Optional) Set up a virtual environment to isolate dependencies:

    python -m venv .venv
    source .venv/bin/activate   # Windows: .venv\Scripts\activate
  3. Clone this repository and navigate into it:

    git clone https://github.com/thedavidyoungblood/Obsidian-WebClipper-Template-Generator.git
    cd Obsidian-WebClipper-Template-Generator

Usage

Run the script from your terminal:

python generate_templates.py

When prompted, enter the full VAULT-ROOT-PATH where you want the templates and guidance file to be generated. The script will:

  1. Create the required subdirectories.
  2. Populate each folder with its designated JSON template.
  3. Generate README_IMPORT_GUIDANCE.txt with detailed instructions for importing the templates into Obsidian WebClipper.

After execution, navigate to your specified vault root to review the created structure and guidance documentation.


Repository Structure

.
├── generate_templates.py
└── README.md

After running the script, your vault root will have a structure similar to:

vault-root/
├── Clippings/
│   ├── Custom_Default_Verbatim_Clone_Clean.json
│   ├── Summaries/
│   │   └── Custom_Summary.json
│   ├── Research/
│   │   ├── Custom_Research_AI_Insights.json
│   │   └── Research_Academic.json
│   ├── Translations/
│   │   └── Custom_Translation.json
│   ├── Articles/
│   │   ├── Custom_News_Blog_Article.json
│   │   └── Article_Blog.json
│   ├── Highlights/
│   │   └── Custom_Highlights_Only.json
│   ├── GitHub/
│   │   └── GitHub_Page.json
│   ├── Medium/
│   │   └── Medium_Article.json
│   └── Generic/
│       └── Generic_Web_Clip.json
└── README_IMPORT_GUIDANCE.txt

Obsidian WebClipper Settings & Configuration

For advanced configuration of your Obsidian WebClipper extension, use the following settings URLs based on your installation type:

Native Extension Settings

If you have installed the native extension, access its settings directly by entering this URL into your browser’s address bar:

chrome-extension://cnjifjpddelmedmihgijeibhnjfabmlf/settings.html?section=general

This page allows you to adjust general settings—such as template import options and clipping behavior—to tailor the extension to your workflow.

Browser-Specific Configurations (Chromium-Based)

For users running a Chromium-based browser (e.g., Chrome, Brave, Arc, etc.), manage the extension’s configuration through your browser’s built-in extensions page. Replace {browser} in the URL below with your browser’s protocol:

{browser}://extensions/?id=cnjifjpddelmedmihgijeibhnjfabmlf

For example, in Chrome, use:

chrome://extensions/?id=cnjifjpddelmedmihgijeibhnjfabmlf

This interface enables you to enable/disable the extension, review permissions, and perform any browser-specific configuration.


User Guidance & Resources

This section is designed to help you explore advanced template management techniques and get the most out of Obsidian WebClipper.

Guides on Creating & Managing Templates

  • Step-by-Step Guide to Custom Templates
    Learn how to create custom templates, define unique names, and specify behaviors like creating new notes or appending to existing ones.
    Sascha D. Kasper's Guide

  • Effective Web Clipping with Custom Templates
    Detailed instructions for tailoring templates to specific web pages (e.g., PubMed articles) using metadata fields like PMID.
    Kristian Freeman's Guide

  • Obsidian Help Documentation
    Official documentation on creating, editing, importing, and exporting templates—including advanced features like URL-based triggers.
    Obsidian Help

Video Tutorials

  • YouTube Walkthrough on Custom Templates
    A comprehensive video guide covering default templates, custom template creation, and advanced trigger features.
    Watch on YouTube

  • Custom Template Setup and Triggers
    Explains how to configure templates with properties, variables, and triggers for automating content capture.
    Watch on YouTube

Template Repositories

  • Community Template Collections
    Access pre-defined templates created by the Obsidian community for clipping highlights, saving metadata, and organizing research notes.

  • Clipper-Templates Repository
    A dedicated GitHub repository featuring example templates for various clipping scenarios with instructions for import/export.
    Clipper-Templates Repo

Key Template Management Features

  • Importing/Exporting Templates
    Easily import JSON files or export your custom templates for backup or sharing.

  • Template Triggers
    Automate template selection based on URL patterns or metadata.

  • Variables and Properties
    Utilize variables (e.g., title, URL, date) to dynamically populate note content during clipping.


Additional Resources

For a deeper dive into the Obsidian WebClipper ecosystem, explore these curated resources:

Official Documentation & Installation Sources

Guides and Tutorials

  • Step-by-Step Guide by Sascha D. Kasper
    Comprehensive instructions covering installation, configuration, and usage.
    Step-by-Step Guide

  • YouTube Tutorial
    A video guide for setting up and using the Obsidian WebClipper effectively, including mobile support.
    Watch on YouTube

  • Supercharge Your Workflow Blog Post
    Insights on capturing content efficiently using templates, highlighters, and filters.
    Read the Blog Post

Community Resources

Developer Resources

Additional Information


Obsidian WebClipper Templates [OFFICIAL]

Templates for Obsidian Web Clipper work seamlessly with the templates in my Obsidian vault.
To install templates, see the instructions in the official Obsidian Web Clipper documentation.

Templates

Generic and schema-based templates:

Specific Websites:

For a complete view of the repository, visit the clipper-templates GitHub repository.


License

This project is licensed under the MIT License.

MIT License

Copyright (c) 2025 David Youngblood

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Contact


Acknowledgements

Special thanks to the Obsidian team, the open source community, and contributors like AI (ChatGPT) for inspiring and supporting this project.

Happy Clipping!

Releases

No releases published

Packages

No packages published

Languages