Skip to content

Install

  • Disk Space: Sufficient for storing crawled content and state database
  • Go: Version 1.26 or later, only for go install or building from source
  • Git: Only for building from source

Download the archive for your OS and architecture (Linux, macOS, Windows; amd64 and arm64) from the Releases page. Each release includes a checksums.txt to verify the download:

Terminal window
sha256sum --check --ignore-missing checksums.txt

Extract the archive and put doc-scraper on your PATH. The archive also ships a sample config.yaml.

Terminal window
docker run --rm --user "$(id -u):$(id -g)" -v "$PWD":/data ghcr.io/sriram-pr/doc-scraper:latest crawl -site rust_cli_book

The image (linux/amd64 and linux/arm64) uses /data as its working directory and doc-scraper as its entrypoint, so the arguments after the image name are the subcommand. Mount a directory containing config.yaml at /data and point output_base_dir and state_dir at relative paths so crawl output lands in the mounted directory. The image runs as a non-root user, so --user makes the bind mount writable. Versioned tags (for example 2.9.2) are published alongside latest.

Download doc-scraper.mcpb from the latest release and open it in Claude Desktop. It prompts for the path to your config.yaml and runs the bundled binary as an MCP server (see MCP tools).

Install the latest version directly from GitHub:

Terminal window
go install github.com/Sriram-PR/doc-scraper/v2/cmd/doc-scraper@latest

This installs the doc-scraper binary to your GOPATH/bin directory (usually ~/go/bin or %USERPROFILE%\go\bin). Make sure this directory is in your PATH.

  1. Clone the repository:

    Terminal window
    git clone https://github.com/Sriram-PR/doc-scraper.git
    cd doc-scraper
  2. Download Dependencies:

    Terminal window
    go mod download
  3. Build the Binary:

    Terminal window
    make build
    # or: go build -o doc-scraper ./cmd/doc-scraper

    This creates an executable named doc-scraper in the project root.