RepositoryTypeScriptNLNetherlands
saberzero1

saberzero1/quartz-syncer

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

151stars
24forks
8issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: quartz-themes

#1 Repository of the week

1
TINIX TRENDING·Topic: obsidianmd

#1 Repository of the week

1
TINIX TRENDING·Topic: obsidian-publish

#1 Repository of the week

Quartz Syncer

Quartz Syncer is an Obsidian plugin for managing and publishing notes to Quartz, the fast, batteries-included static-site generator that transforms Markdown content into fully functional websites.

Features

  • Multi-provider support: Works with GitHub, GitLab, Bitbucket, Codeberg, Gitea, and self-hosted Git instances.
  • Plugin integrations: Compiles Dataview, Datacore, and Fantasy Statblocks queries into static content.
  • Smart caching: Caches compiled files for faster subsequent publishes. Dynamic content (Dataview/Datacore queries) is automatically detected and recompiled when needed.
  • Diff viewer: Preview exact changes before publishing with split (side-by-side) or unified view.
  • Selective publishing: Choose exactly which notes to publish, update, or remove.
  • CLI support: Automate publishing workflows from the terminal via the Obsidian CLI (requires Obsidian v1.12+).

Installation

Install the plugin by downloading it from the Obsidian Community plugins browser in Obsidian.

Alternatively, install the plugin by downloading it from the Release Tab, or through the Obsidian42 Brat plugin.

Setup

[!TIP] Quartz Syncer documentation

For the most up-to-date information on Quartz Syncer, please refer to the official documentation.

New to Quartz Syncer? Please follow the setup guide to get started.

Usage

Unsure on how to use Quartz Syncer, or just curious about its usage? Check the usage guide.

Advanced usage

For more advanced usages of Quartz Syncer, check the guides section.

CLI

Quartz Syncer supports the Obsidian CLI (v1.12+) for automating publishing workflows from the terminal. Obsidian must be running for CLI commands to work.

Commands

CommandDescriptionExample
quartz-syncerShow available commands and usageobsidian quartz-syncer
quartz-syncer:statusShow publish status of all marked notesobsidian quartz-syncer:status format=json
quartz-syncer:syncPublish pending notes and delete removed notesobsidian quartz-syncer:sync force
quartz-syncer:publishPublish pending notes only (no deletions)obsidian quartz-syncer:publish
quartz-syncer:deleteDelete removed notes from remoteobsidian quartz-syncer:delete force
quartz-syncer:markSet/unset/toggle publish flag on notesobsidian quartz-syncer:mark path="notes/post.md"
quartz-syncer:testTest Git connection and credentialsobsidian quartz-syncer:test
quartz-syncer:cacheManage the plugin cacheobsidian quartz-syncer:cache action=status
quartz-syncer:configRead or write plugin settingsobsidian quartz-syncer:config action=get key=git.branch
quartz-syncer:upgradePull upstream Quartz changesobsidian quartz-syncer:upgrade force
quartz-syncer:versionShow plugin, Obsidian, and Quartz versionsobsidian quartz-syncer:version
quartz-syncer:pluginManage Quartz v5 pluginsobsidian quartz-syncer:plugin action=updates
quartz-syncer:quartz-configRead or update Quartz v5 site configobsidian quartz-syncer:quartz-config action=get key=pageTitle

The config and quartz-config commands default to listing all settings when no action is provided.

Common flags

  • format=json — Return machine-readable JSON output (default: human-readable text).
  • dry-run — Preview what would happen without making changes.
  • force — Required for destructive operations (delete, upgrade, and the delete phase of sync).
  • verbose — Enable detailed output (file paths, connection details).
  • help — Show command-specific help and available flags.

Path patterns

The mark command supports three path resolution modes:

  • Exact: path="notes/my-post.md" — Match a single file.
  • Glob: path="notes/**/*.md" — Match files using glob patterns.
  • Fuzzy: path="~my post" — Fuzzy search by name (prefix with ~).

Use dry-run to preview matched files before modifying: obsidian quartz-syncer:mark path="blog/**/*.md" dry-run

Example workflow

# Check what needs publishing
obsidian quartz-syncer:status

# Publish all pending notes (additive, no force needed)
obsidian quartz-syncer:publish

# Full sync including deletions
obsidian quartz-syncer:sync force

Troubleshooting

[!IMPORTANT] Quartz-related questions

For issues or questions related to Quartz, not Quartz Syncer, please consult the Quartz documentation or reach out through the communication channels provided there.

If you need help with Quartz Syncer, or if you have a question, please first check the troubleshooting section. If your question or issue is not listed, feel free to reach out for help.

Disclosures

As per the Obsidian developer policies:

  • Account requirements: Quartz Syncer needs to access your Quartz repository on a Git provider in order to publish your notes. An account on your chosen Git provider (GitHub, GitLab, Bitbucket, etc.) is required.
  • Network use: Quartz Syncer accesses the network to manage and publish your notes to your Quartz repository. Quartz Syncer uses Git over HTTPS to communicate with your repository.
  • Accessing files outside of Obsidian vaults: Quartz Syncer only manages explicitly marked and user-selected notes in your Quartz repository content folder. Quartz Syncer also fetches the current contents of this folder to compare changes against your notes. Quartz Syncer doesn't write any notes to your Obsidian vault, Quartz Syncer only writes to your Quartz repository (one-way only: from Obsidian vault to Quartz repository.)

Acknowledgements

Quartz Syncer would not have been built without the following:

  • Obsidian Digital Garden, on top of which most of this plugin was initially built.
  • Quartz, for the amazing and welcoming community. Come say hi in the Discord server sometimes.
  • Isomorphic-git, for enabling Git operations directly in JavaScript.
  • Obsidian Linter, for inspiring the tabbed settings UI.
  • Dataview, for their great API integration, allowing me to properly integrate it in Quartz.
  • Datacore, for their wonderful integration despite its infancy, allowing easy integration into Quartz.
  • Fantasy Statblocks, for their extensible functionality and easy-to-integrate API.
  • Obsidian Publish, for inspiring me to create a similar solution for Quartz.
  • The entire Obsidian community, for all your weird and amazing creations. Keep it up.

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
jackyzha0/quartz

🌱 a fast, batteries-included static-site generator that transforms Markdown content into fully functional websites

13.7k
Dec 1, 2026
RepositoryTypeScript
Vinzent03/obsidian-git

Integrate Git version control with automatic commit-and-sync and other advanced features in Obsidian.md

12.4k
Nov 24, 2026
RepositoryTypeScript
obsidianmd/obsidian-sample-plugin

Template for Obsidian community plugins with build configuration and development best practices.

4.8k
Dec 1, 2026
RepositoryTypeScript
st3v3nmw/obsidian-spaced-repetition

Fight the forgetting curve by reviewing flashcards & entire notes on Obsidian

2.6k
Dec 1, 2026
RepositoryTypeScript
artisticat1/obsidian-latex-suite

Make typesetting LaTeX as fast as handwriting through snippets, text expansion, and editor enhancements

2.6k
Nov 27, 2026
RepositoryTypeScript
chhoumann/quickadd

QuickAdd for Obsidian

2.4k
Dec 2, 2026
RepositoryTypeScript
scambier/obsidian-omnisearch

A search engine that "just works" for Obsidian.

2.2k
Nov 28, 2026
RepositoryTypeScript
obsidianmd/obsidian-importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

1.9k
Nov 29, 2026
RepositoryJavaScript
brianpetro/obsidian-smart-connections

Find related notes and excerpts while writing. Your link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

5.6k
Nov 30, 2026