Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

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.9.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/markweave.git
cd markweave
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.9.0

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

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

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

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / markweave-0.9.0.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL markweave-0.9.0.tar.gz
Size 549.5 kB
Tags Source
SHA-256 checksum
How to use checksums
eda248320119406f36eccdc324266dcb4a83195258e916f47f4cd013bc27326f
BLAKE2b-256 checksum
How to use checksums
c2de174a1981c91edabab8f8175b4a90cefd006187a3f58bb1b0fa359bdcc749
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 27, 2026.

Transparency log

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

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL markweave-0.9.0-py3-none-any.whl
Size 730.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d97e1c44f583e7c7605705b7f36d62f3b8083c233ac0a247a3326277637f3a3e
BLAKE2b-256 checksum
How to use checksums
32910d5f186216ed6a9788562d9cb7b084819fa9f90390aa2cf8748612c05948
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 27, 2026.

Transparency log

Security for markweave 0.9.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.

Change of provenance

The repository and configuration that created this release differ from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Select from 2 files

Attestation for markweave-0.9.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 27, 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