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

Selective Publisher

ivan1248ivan1248171 downloads

Publish notes to a Git repository with filtering and optional review of changes.

Add to Obsidian
Selective Publisher screenshot
Selective Publisher screenshot
  • Overview
  • Scorecard
  • Updates4

A plugin for Obsidian that selectively publishes notes to a Git repository based on customizable criteria.

Features

Screenshot of Plugin

  • Filtering of notes and attachments based on tags, frontmatter, path, or content, and path-based filtering of other files.
  • Committing and pushing to a target Git repository.
  • Review of changes with diffs before publishing.

Requirements

  • Obsidian v1.13.0+
  • Git installed and configured locally.
  • A local clone of target remote repository.
  • For publishing as a website, the repository should typically contain a static site generator which is able to process Obsidian Markdown files, such as Quartz.

Installation

  1. Search for Selective Publisher in Obsidian's Community Plugins.
  2. Click "Install" and then "Enable".

Setup

  1. Clone your target repository (e.g., GitHub Pages) to a local folder.
  2. In the plugin settings:
    • Set "Publishing folder" to the absolute local path of the repository or a folder within it. (If Quartz is used, this is the content folder.)
    • Optionally, select a "Branch".
    • Configure "Publishing criterion" (see below).
    • Optionally, uncheck "Show preview before publishing" to skip the preview modal when publishing.

Usage

Publishing criterion

The plugin evaluates each markdown file against a tree combining criteria:

  • Tag: Matches an Obsidian tag exactly, by prefix, or by substring (e.g., public with "starts with" matches #public/blog).
  • Frontmatter: Matches a YAML frontmatter key by existence, or its value by equality, substring, or regex.
  • Title: Matches the file basename (without extension) by substring, regex, or glob.
  • Path: Matches the path relative to the vault root by substring, regex, or glob.
  • Content: Matches the file content with a regex.

Criteria can be combined with logical operators: AND, OR, and NOT.

Publishing

Publish with the ribbon button (paper plane icon) or the Publish notes command. If the "Show preview before publishing" setting is enabled (the default), a preview opens first. The Preview publishable files command opens the same preview.

The preview lists the matching files with their status relative to the target repository (new, modified, deleted, unmodified), can show file diffs, and lets you publish (commit and push) or just commit (local only).

Development

npm install        # install dependencies
npm run dev        # build in watch mode (for development)
npm run build      # type-check and build for production
npm run lint       # run ESLint

To test locally, put main.js and manifest.json into <your-vault>/.obsidian/plugins/selective-publisher/ and reload the plugin.

Other information

  • Disclosures per Obsidian developer policies:

    • Network use. The network is used for synchronizing with the remote Git repository when publishing. No other servers are contacted.
    • File access outside the vault. The plugin manages the publishing folder.
    • Running external programs. The plugin runs git commands in the publishing repository.
    • Vault access. The plugin reads notes to evaluate the publishing criterion and copies only matching notes and their attachments.
  • AI agents used in development: Claude 3.7 Sonnet – Opus 4.6, GPT-4o – GPT-5.2, Gemini 3 Pro and Flash, Claude Opus 5.5

Related projects

Obsidian plugins:

  • Enveloppe
    • Publishes via the GitHub API rather than a local Git repository.
    • Has more features and options, including processing of links and dataviews.
    • Has less flexible filtering of files.
  • Quartz Syncer
    • Publishes through authentication to different Git providers.
    • Has more features, including frontmatter processing and integration with other plugins such as Dataview.
    • Has less flexible filtering of files.
  • Digital Garden

Static site generators and other projects:

  • Quartz
  • Obsidian Publish
HealthExcellent
ReviewSatisfactory
About
Publishes notes and attachments to folder in a Git repository, with filtering by tag, frontmatter, folder, title, path, or content combined with logical operators. Changes can be reviewed before publishing.
GitPublishingReview
Details
Current version
1.2.0
Last updated
3 weeks ago
Created
10 months ago
Updates
4 releases
Downloads
171
Compatible with
Obsidian 1.13.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
ivan1248ivan1248
github.com/Ivan1248
GitHubivan1248
  1. Community
  2. Plugins
  3. Git
  4. Selective Publisher

Related plugins

Quartz Syncer

Manage and publish your notes to Quartz, the fast, batteries-included static-site generator.

Share Note

Instantly share/publish a note, with the full theme and content exactly like you see in Obsidian. Data is shared encrypted by default, and only you and the person you send it to have the key.

Git

Integrate Git version control with automatic backup and other advanced features.

Fit

Minimalist File gIT (FIT) to sync your files across mobile and desktop devices using GitHub.

Wechat Converter

将 Markdown 转换为微信公众号排版,并支持一键发送到微信(weixin/wx)公众号(支持自定义 CSS和公众号贴图)、飞书、小红书(rednote)、知乎、微博、CSDN等20+平台。

Open in Terminal

Open your vault in a new terminal window or launch Claude Code, Codex CLI, or Gemini CLI directly from a terminal.

GitHub

GitHub Sync

Sync vault to personal GitHub.

Plugin Update Tracker

Know when installed plugins have updates and evaluate the risk of upgrading.

LearnKit

A native study system for your Obsidian vault. LearnKit turns notes into durable knowledge with flashcards, spaced repetition, tests, and more.

Journal Review

Review your daily notes on their anniversaries, like "what happened today last year".