Sign inSign up

locci/url2md

By locci

•Updated 7 months ago

A fast CLI tool that fetches a URL and converts its HTML content to Markdown

Image
Developer tools
0

442

locci/url2md repository overview

⁠url2md

A fast CLI tool that fetches a URL and converts its HTML content to Markdown.

⁠Installation

⁠From Docker Hub
docker pull docker.io/locci/url2md

⁠Usage

url2md [OPTIONS] <URL>
⁠Options
FlagShortDescription
--output <FILE>-oWrite output to a file instead of stdout
--no-imagesStrip <img> tags from the converted Markdown
--help-hPrint help
--version-VPrint version
⁠Examples
# 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

⁠Docker Usage

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

⁠License

MIT⁠

Tag summary

Content type

Image

Digest

sha256:689cea2e6…

Size

6.4 MB

Last updated

7 months ago

docker pull locci/url2md