Markweave: Markdown to DOCX and PDF
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.
The project is licensed under Apache-2.0. The source package version is 0.7.1.
The default public quickstart pins the matched published 0.7.0 backend and Next.js frontend pair
to the immutable digests recorded in the release evidence. 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.
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.
Use and operate Markweave
- Provision users from a startup CSV and require password renewal
- Conversion interface
- PowerPoint and Marp workflow
- Template administration
- Supported Markdown and DOCX behavior
- Word templates and fonts
- Jobs, cancellation, retention, and recovery
- Logs, metrics, audit, and readiness
- Release and image update process
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"
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.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| markweave-0.7.1.tar.gz | 385.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| markweave-0.7.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 901.2 kB
Release files / markweave-0.7.1.tar.gz
| Download URL | markweave-0.7.1.tar.gz |
|---|---|
| Size | 385.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d601f2b960633eebee71419a5afc8828b9fc7ed7fe3cde409e347381da9029af
|
|
BLAKE2b-256 checksum How to use checksums |
08e30f91c25ee33c3b23c67d9b3a9a1e5500145870c8909f27199615168e49a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 20, 2026.
Transparency logRelease files / markweave-0.7.1-py3-none-any.whl
| Download URL | markweave-0.7.1-py3-none-any.whl |
|---|---|
| Size | 516.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b9634c966a863f153f02b8da002c7f7080d8dee4b0066f8e480b1b5cb556a5d
|
|
BLAKE2b-256 checksum How to use checksums |
b7193d795555e4926432488f4ec7b0a36f803458b2b4062d4d3b82ff1e0f1604
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 20, 2026.
Transparency log