Skip to main content

Markweave

Markweave: Markdown to DOCX, PDF and PowerPoint

Markweave turns a Markdown file into DOCX, PDF, or an editable PowerPoint presentation from a small browser interface. It keeps your Word and PowerPoint templates and completed jobs on local persistent storage. It scans every upload with ClamAV by default and can explicitly delegate that boundary to a trusted upstream proxy.

Experimental 2md converts supported office documents and text PDFs back to Markdown, including slide-oriented Markdown or Marp from edited PPTX files. It requires a separately configured external broker. See the capability matrix for inputs, outputs, limits and guides.

The core product is Markdown to DOCX, PDF and editable PowerPoint. The optional Composer workspace and experimental 2md are feature-frozen: they receive only bug fixes, security fixes, dependency updates, regression fixes and removals, and any new capability needs a new owner decision. Composer assistance needs a configured, enabled, and authorized LLM connection; retained drafts, revisions, and exports stay accessible without one. See the scope freeze.

The project is licensed under Apache-2.0. The source package version is 0.8.0. The default public quickstart pins the matched published backend and Next.js frontend images by their verified registry digests. Do not substitute candidate or inferred digests; candidate testing may override both image references together with another matched immutable pair.

The documentation index provides longer guides organized by role. You do not need to read them before trying the local profile.

Try it locally

You need OpenSSL, flock, about 6 GiB of available memory, and Docker Compose or rootless Podman with a Compose provider. Published images support Linux/AMD64.

git clone https://github.com/Guillaume-Lombardo/simple-md-to-docx-converter.git
cd simple-md-to-docx-converter
scripts/quickstart-simple.sh up
scripts/quickstart-simple.sh password

Open http://localhost:8080 and sign in as admin with the displayed password. In 2docx, upload examples/quickstart-source.md, keep Pandoc default, choose DOCX, PDF, or both, and start the conversion. Download the result when ready. The first startup can take several minutes while ClamAV loads its signatures.

For editable PowerPoint, open 2pptx and follow the PowerPoint guide. The ordinary quickstart supports both forward workflows; 2md requires the external broker. The simple quickstart keeps Composer model setup disabled by default. An explicitly supplied, matched Composer-capable backend/frontend pair can opt in with MARKWEAVE_SIMPLE_COMPOSER_SETUP=true; the helper then includes compose.simple-composer.yaml. Its administrator can then open Administration → LLM settings to approve an HTTPS destination, enter a write-only credential, select and test a model, and grant access. The candidate quickstart keeps its Composer key in a separate persistent private volume. See the administration guide.

scripts/quickstart-simple.sh ps
scripts/quickstart-simple.sh logs
scripts/quickstart-simple.sh down

Normal shutdown preserves accounts, templates, results and the administrator password. Results in this evaluation profile expire after 10 minutes.

This is a local evaluation profile, bound to loopback. Its disposable /work volume has no physical capacity cap. Do not expose it as a production service. The quickstart operations guide explains the bounded secure profile, Docker/Podman selection, custom ports and HTTPS proxy origins, Word templates, recovery, and the explicit trusted-upstream and insecure SSH-tunnel modes with their restrictions.

Convert a file without a server

With the bundled engines of the final image, or Pandoc and LibreOffice installed on your host, markweave convert doc.md --local --to docx,pdf -o out/ converts your own file through the same validation, limits, and engines as the service, without an account or upload. It records the engine versions in out/doc.traceability.json, warns when one differs from the approved pin, and --require-pinned makes that a failure. See local conversion for its settings and the container command.

Use and operate Markweave

How it works

The browser and HTTP API authenticate a local user, validate and scan the upload, and record a durable conversion job. A worker claims that job with a renewable lease, resolves the exact immutable template version when one was selected (or uses Pandoc's built-in default reference document), and runs the local Pandoc, Chromium/Mermaid, and LibreOffice engines inside bounded workspaces. Results and traceability metadata are retained for the configured period; document content is not written to logs.

The standalone profile used by Compose keeps SQLite metadata and atomic objects under one /data volume and runs one embedded worker. The distributed profile separates API and worker processes, using PostgreSQL and S3-compatible object storage so workers can scale independently. Both profiles share the same authorization, queue, validation, and retention contracts. See the architecture guide, API guide, and complete configuration reference for the deeper design.

Develop and contribute

Development targets Python 3.14 and uses uv, Ruff, ty, Pytest, and the repository's locked toolchain. Install all groups, then run the canonical checks:

uv sync --all-groups
uv run ruff format --check .
uv run ruff check .
uv run ty check
scripts/javascript/bootstrap-pnpm.sh "$PWD/.pnpm-tools"
export PATH="$PWD/.pnpm-tools/bin:$PATH"
export COREPACK_HOME="$PWD/.pnpm-tools/corepack-home" COREPACK_ENABLE_NETWORK=0
pnpm install --frozen-lockfile --ignore-scripts
pnpm run test:web
uv run pytest -m "not requires_pandoc and not requires_mermaid and not requires_libreoffice and not requires_podman"
uv run pytest

Read CONTRIBUTING.md and the normative product specification before changing behavior. The local-development guide covers the repository layout and deeper setup; the release guide covers protected PyPI and GHCR publication.

Metadata

Release files for markweave 0.8.0

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

Source distribution (sdist)

Source distribution for markweave 0.8.0
File Size Uploaded Provenance Actions
markweave-0.8.0.tar.gz 540.1 kB With provenance Details for markweave-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for markweave 0.8.0
File Interpreter ABI Platform Actions
markweave-0.8.0-py3-none-any.whl Python 3 none any Details for markweave-0.8.0-py3-none-any.whl

Total release size: 1.3 MB

Release files / markweave-0.8.0.tar.gz

Download URL markweave-0.8.0.tar.gz
Size 540.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0ba45a03ddcba9890b50e4b94ee8cdbc48e3f1ced861feaf0452781ef4266742
BLAKE2b-256 checksum
How to use checksums
c13c6bb22f1b6a0987869a3932556db1334abf99ea2468b79ad70cc94d95603d
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 Nov 21, 2026.

Transparency log

Release files / markweave-0.8.0-py3-none-any.whl

Download URL markweave-0.8.0-py3-none-any.whl
Size 719.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
770f2f8f6434fcbce0d3ae16a785bd344ade6944d9e3ea02488f3b35b4e43fcf
BLAKE2b-256 checksum
How to use checksums
3806171f3c0b611f475e212b71661a0cf30ac131b26852fd43fe3c23e06fe807
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 Nov 21, 2026.

Transparency log

Security for markweave 0.8.0

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 markweave-0.8.0.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 Nov 21, 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