MIT License

项目介绍

Spenhouet/confluence-markdown-exporter 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 601 个 Star、134 次 Fork。

仓库全名
Spenhouet/confluence-markdown-exporter
开源许可证
MIT License
Star 数
601
Fork 数
134
未关闭 Issue
8

README 摘要

The confluence-markdown-exporter exports Confluence pages in Markdown format. This exporter helps in migrating content from Confluence to platforms that support Markdown e.g. Obsidian, Gollum, Azure DevOps (ADO), Foam, Dendron and more. What it does Exports individual pages, pages with descendants, folders, or entire Confluence spaces via the Atlassian API into clean Markdown. Skips unchanged pages by default,…

完整内容见 GitHub 原始 README 或本页 。

常见问题

confluence-markdown-exporter 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 601 个 Star。

confluence-markdown-exporter 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 confluence-markdown-exporter 的源码?

可以直接克隆仓库:git clone https://github.com/Spenhouet/confluence-markdown-exporter.git,默认分支为 main;安装与运行步骤见仓库 README。

confluence-markdown-exporter 最近还在维护吗?

仓库最近一次更新为 4 天前,当前有 8 个未关闭 Issue;Star 数为 601,可作为社区活跃度的参考。

关于

Export Atlassian Confluence pages as markdown files.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
872
价值分
400
活跃状态
活跃

语言占比

Dockerfile
HTML
Python
Shell

Release

README

confluence-markdown-exporter

The confluence-markdown-exporter exports Confluence pages in Markdown format. This exporter helps in migrating content from Confluence to platforms that support Markdown e.g. Obsidian, Gollum, Azure DevOps (ADO), Foam, Dendron and more.

Build Python package Build and publish to PyPI PyPI version Docker Hub version Documentation

What it does

Exports individual pages, pages with descendants, folders, or entire Confluence spaces via the Atlassian API into clean Markdown. Skips unchanged pages by default, re-exporting only what has changed since the last run.

Supported targets include Obsidian, Gollum, Azure DevOps (ADO) wikis, Foam, Dendron, and anything else that consumes Markdown.

Full feature list, configuration reference, and target-system presets live in the documentation site.

Quickstart

1. Install

macOS and Linux

curl -LsSf uvx.sh/confluence-markdown-exporter/install.sh | sh

Windows

powershell -ExecutionPolicy ByPass -c "irm https://uvx.sh/confluence-markdown-exporter/install.ps1 | iex"

Installing a specific version:

curl -LsSf uvx.sh/confluence-markdown-exporter/5.6.0/install.sh | sh

Alternative install methods (PyPI via pip / uv, prebuilt Docker image) are covered in the installation docs and the Docker page.

Using the Docker image? Steps 2 and 3 below use the local cme CLI. Inside the Docker image there is no interactive cme config menu; you supply a pre-defined config (mounted JSON file or CME_* environment variables) and run a single export command per container invocation. See the Docker page for the non-interactive flow.

2. Authenticate

Set Confluence credentials interactively (URL, username, API token / PAT):

cme config edit auth.confluence

See Authentication for token scopes and Jira setup.

3. Export

# A single page
cme pages <page-url>

# A page and all its descendants
cme pages-with-descendants <page-url>

# All pages in a folder (Confluence Cloud)
cme folders <folder-url>

# An entire space
cme spaces <space-url>

# Every space of an organisation
cme orgs <base-url>

Output goes to the configured export.output_path (current directory by default).

Documentation

The full documentation lives at https://spenhouet.github.io/confluence-markdown-exporter/ and includes:

Contributing

If you would like to contribute, please read our contribution guideline.

License

This tool is an open source project released under the MIT License.

评论

暂无评论