Quickstart
Run PullMD on your machine with Docker and convert a page. You need Docker with the Compose plugin. Nothing else to configure: every setting has a working default.
- Download the compose filemkdir pullmd && cd pullmdcurl -O https://raw.githubusercontent.com/AeternaLabsHQ/pullmd/main/docker-compose.yml
- Start PullMDdocker compose up -d
This starts PullMD and its three helper containers (Trafilatura, Playwright and MarkItDown). The first start downloads about 1.4 GB of images and uses about 5 GB of disk, most of it the headless browser.
Port 3000 in useIf port 3000 is taken, create a.envfile next to the compose file withPORT=3080(or any free port) and run the command again. - Check that it's healthycurl http://localhost:3000/api/statusHealthy responseYou should get
"ok": trueand each sidecar listed as"status": "ok". If a sidecar isdown, the request returns HTTP503; a sidecar that isn't set up showsnot-configured. - Convert a pagecurl "http://localhost:3000/api?url=https://en.wikipedia.org/wiki/Markdown"
You get the article as Markdown: a
# Titleline, then the content. No navigation, no scripts. - Ask a question
To get only the sections that answer a question, add
query:curl "http://localhost:3000/api?url=https://en.wikipedia.org/wiki/Markdown&query=who+created+markdown"The response headers say how much was cut:
X-Extract-Original-TokensandX-Extract-Returned-Tokens. Both are estimates of about four characters per token.
Use the web app
Open http://localhost:3000 to paste a URL or drop a file. The file picker takes HTML files, e-mail, text and the other formats PullMD reads, and PDF and Office files when the MarkItDown sidecar is running. The result shows the Markdown, the extractor that produced it, and buttons to copy, download or share it. On a phone, install it as an app and share links to it straight from your browser.