Skip to content

CLI Reference

FlagShortDescription
--configPath to configuration file
--verbose-vEnable debug output
--quiet-qSuppress all output except errors

Crawl a website and analyze pages.

Terminal window
crawlkit crawl <URL> [OPTIONS]
OptionDescriptionDefault
--max-pagesMaximum pages to crawl100
--delayDelay between requests (ms)500
--concurrencyConcurrent fetchers4
--output / -oOutput directory.
--formatOutput format: json, csv, html, md, allall
--depthMaximum crawl depthunlimited
--user-agentCustom user agentcrawlkit/VERSION
--timeoutRequest timeout (seconds)30
--includeURL include patterns (glob)none
--excludeURL exclude patterns (glob)none
--javascriptEnable JavaScript rendering via Playwrightfalse
--allow-externalFollow external linksfalse
--seedRandom seed for reproducible crawlsnone
--encryptEnable AES-256-GCM encryption at restfalse
--enable-aiEnable AI analyzerstrue
--enable-wasmEnable WASM analyzerstrue
--metrics-jsonExport metrics snapshot to JSON filenone

Compare two crawl results and produce a diff.

Terminal window
crawlkit compare <CRAWL1> <CRAWL2> [OPTIONS]
OptionDescriptionDefault
--output / -oOutput filestdout
--formatOutput format: json, html, mdjson

Generate a report from an existing crawl.

Terminal window
crawlkit report --crawl <PATH> [OPTIONS]
OptionDescriptionDefault
--crawl / -cCrawl database pathrequired
--output / -oOutput filestdout
--formatReport format: html, md, jsonhtml
--themeReport theme: light, darklight