A fast CLI tool that fetches a URL and converts its HTML content to Markdown
442
A fast CLI tool that fetches a URL and converts its HTML content to Markdown.
docker pull docker.io/locci/url2md
url2md [OPTIONS] <URL>
| Flag | Short | Description |
|---|---|---|
--output <FILE> | -o | Write output to a file instead of stdout |
--no-images | Strip <img> tags from the converted Markdown | |
--help | -h | Print help |
--version | -V | Print version |
# Print Markdown to stdout
url2md https://example.com
# Save to a file
url2md https://example.com --output result.md
# Strip images
url2md https://example.com --no-images
# Combine flags
url2md https://example.com --no-images -o result.md
Run the binary directly via Docker — no Rust toolchain required.
# Print Markdown to stdout
docker run --rm docker.io/locci/url2md https://example.com
# Save output to a local file (mount current directory)
docker run --rm -v "$(pwd):/out" docker.io/locci/url2md \
https://example.com --output /out/result.md
# Strip images
docker run --rm docker.io/locci/url2md https://example.com --no-images
Content type
Image
Digest
sha256:689cea2e6…
Size
6.4 MB
Last updated
7 months ago
docker pull locci/url2md