Skip to main content

obsidian-publish-confluence

PyPI Python Build License: WTFPL

Publish Obsidian-flavored Markdown to Confluence over Kerberos.

Versioning is derived from Git tags for releases.

Features

  • Create or update Confluence pages from Markdown.
  • Store the Confluence page URL in note frontmatter.
  • Upload attachments on both page create and update.
  • Convert Obsidian image embeds like ![[image.png]] and ![[image.png|400]].
  • Convert Obsidian Canvas embeds like ![[board.canvas]] to SVG attachments while preserving node coordinates and multiline labels.
  • Convert Markdown checkbox lists into Confluence tasks, including nested unordered and ordered lists.
  • Convert fenced code blocks to Confluence code macros.
  • Convert PlantUML blocks to the native Confluence plantuml macro.
  • Support --dry-run to inspect conversion and publish actions without changing Confluence.

Requirements

  • Python 3.10+
  • curl
  • kinit and klist
  • A Confluence instance that accepts Kerberos auth via curl --negotiate

Installation

pip install obsidian-publish-confluence

For local development:

python -m pip install -e .

Configuration

Set these environment variables:

  • OBSIDIAN_PUBLISH_CONFLUENCE_BASE_URL
  • OBSIDIAN_PUBLISH_CONFLUENCE_SPACE
  • OBSIDIAN_PUBLISH_CONFLUENCE_PARENT_ID

Usage

export OBSIDIAN_PUBLISH_CONFLUENCE_BASE_URL="https://confluence.example.com"
export OBSIDIAN_PUBLISH_CONFLUENCE_SPACE="DOCS"
export OBSIDIAN_PUBLISH_CONFLUENCE_PARENT_ID="123456"

obsidian-publish-confluence note.md
obsidian-publish-confluence note.md --title "Custom title"
obsidian-publish-confluence note.md --page-url "https://confluence.example.com/spaces/DOCS/pages/123456"
obsidian-publish-confluence note.md --space DEV --parent-id 987654
obsidian-publish-confluence note.md --dry-run

--dry-run converts the note, prints the intended action and attachment list, and skips Confluence API calls.

The Confluence page URL is stored in the note frontmatter as confluence_url. An explicit --page-url takes precedence and is saved to the note after a successful publish.

Watcher notifications are enabled by default. To suppress them for a specific note, set notify_watchers: false in its YAML frontmatter:

---
notify_watchers: false
---

Kerberos

The CLI expects a valid Kerberos ticket:

kinit YOUR_LOGIN@REALM.EXAMPLE

PlantUML

PlantUML fenced blocks are converted to the native Confluence plantuml macro.

This requires a Confluence instance with a compatible plantuml macro installed.

Release versioning

The package version comes from the Git tag used for the release. For PyPI releases, create a tag like v0.1.0 before publishing a GitHub Release. The release workflow verifies that the tag and built package version match.

Limitations

  • Image and Canvas Obsidian embeds are converted to Confluence attachments; local images are resolved relative to the note and recursively in the vault.
  • Canvas embeds are rendered as SVG with text, file, link, group, and edge data; embedded files and multiline labels are shown as labels.
  • Checkbox task status is stored in Confluence task macros; nested tasks become nested task lists.
  • Attachment names are namespaced automatically to avoid collisions between files with the same basename.
  • Numeric Obsidian image suffixes like ![[image.png|640]] become Confluence image widths.
  • Non-image wiki links stay plain text.
  • PDF embeds are not converted.
  • Auth mode is Kerberos-only.
  • If a note has no confluence_url and --page-url is not provided, a new Confluence page is created.
  • PlantUML publishing depends on the Confluence-side plantuml macro being available.

Publishing

This repository includes GitHub Actions for:

  • building distributions on push and pull request
  • publishing to PyPI on GitHub Release published

PyPI publishing is configured for Trusted Publishing.

Metadata

Release files for obsidian-publish-confluence 0.1.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for obsidian-publish-confluence 0.1.13
File Size Uploaded Provenance Actions
obsidian_publish_confluence-0.1.13.tar.gz 31.0 kB With provenance Details for obsidian_publish_confluence-0.1.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for obsidian-publish-confluence 0.1.13
File Interpreter ABI Platform Actions
obsidian_publish_confluence-0.1.13-py3-none-any.whl Python 3 none any Details for obsidian_publish_confluence-0.1.13-py3-none-any.whl

Total release size: 52.7 kB

Release files / obsidian_publish_confluence-0.1.13.tar.gz

Download URL obsidian_publish_confluence-0.1.13.tar.gz
Size 31.0 kB
Tags Source
SHA-256 checksum
How to use checksums
58023587c4a8a98e0b16e72917b6d744ef4f0d4b139c6d951bd6d361b0738c42
BLAKE2b-256 checksum
How to use checksums
dfec70be07a60545efe5987001be8a3947894852916458a88b02bb8fc35db6ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / obsidian_publish_confluence-0.1.13-py3-none-any.whl

Download URL obsidian_publish_confluence-0.1.13-py3-none-any.whl
Size 21.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c90e5e259c741a99383c843772c685d9cd8ddcc878f2ce832151ec8365967c1
BLAKE2b-256 checksum
How to use checksums
6d6cca956f13e051f39928128e9b20c26f183da6620161fe7a43c0a1984f2ce3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for obsidian-publish-confluence 0.1.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for obsidian_publish_confluence-0.1.13.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page