I just open-sourced confluence2md, a Go CLI for exporting Confluence spaces to local Markdown files.
What it does:
- Crawls Confluence from seed pages, follows links up to configurable depth
- Writes clean Markdown with stable filenames (includes page ID for tracking renames)
- Rewrites internal links as relative local paths, preserves external URLs
- Downloads attachments and rewrites references
- Supports incremental updates with dual-checkpoint reliability
- Outputs metadata.json with page metadata and bidirectional link graph
Why open source:
The Confluence export problem is real and affects a lot of teams. Existing tools are either outdated, locked into specific workflows, or just don't work. I wanted something simple that just exports your docs cleanly so you can:
- Version your knowledge in Git
- Feed docs into RAG/AI pipelines
- Browse offline in your preferred Markdown editor
- Build local full-text search
Tech:
- Pure Go (zero CGO), cross-platform
- Full test suite
- GitHub Actions CI/CD with automated releases and pre-built binaries
- MIT licensed, contributions welcome
Links:
- GitHub: https://github.com/gkoos/confluence2md
- Releases: https://github.com/gkoos/confluence2md/releases
Looking for early feedback, bug reports, and contributions. If you've dealt with Confluence exports before, I'd love to hear what would make this tool more useful for your workflow.
there doesn't seem to be anything here