CLI Reference¶
Silkweb provides a command-line interface via the silkweb command.
Commands¶
silkweb fetch¶
Fetch a URL and display the result.
silkweb fetch <url> [--tier INT] [--output FILE] [--capture-network] [--capture-network-bodies] [--max-network-events INT] [--network-output FILE]
silkweb ask¶
Ask a plain-English question about a URL.
silkweb extract¶
Extract structured data using a Pydantic schema file.
silkweb shell¶
Drop into an interactive IPython session with the page loaded.
silkweb crawl¶
Crawl a site and extract data.
silkweb crawl <url> [--url-pattern REGEX] [--schema FILE] [--output FILE] [--max-pages INT] [--concurrency INT]
silkweb discover-api¶
Discover hidden JSON APIs from a page's network requests.
silkweb watch¶
Watch a URL for changes.
silkweb cache stats¶
Show cache statistics for all layers.
silkweb cache clear¶
Clear cache entries.
silkweb models list¶
List detected Ollama models.
silkweb models pull¶
Pull a model via Ollama.
silkweb models recommend¶
Print recommended models for your hardware.
silkweb recipes list¶
List available built-in recipes.
silkweb recipes run¶
Run a recipe against a URL.
silkweb silkql validate¶
Validate a SilkQL query file.