crawl
Turn a website into clean text you can search.
Buy crawl for $49One payment of $49, plus sales tax where it applies, and every future update. Delivered as a private GitHub repository you're invited to.
Runs inside Lina. Extracted from Lina's knowledge pipeline: scheduled crawls, search re-ranking and social post fetching.
See it work
python -m webcrawl http://127.0.0.1:8421/ --out ./kb --max-pages 8
[ 1] new http://127.0.0.1:8421/
[ 2] new http://127.0.0.1:8421/shipping.html
[ 3] new http://127.0.0.1:8421/returns.html
[ 4] new http://127.0.0.1:8421/contact.html
[ 5] new http://127.0.0.1:8421/clubs.html
{
"ok": true,
"pages": 5,
"chunks": 8,
"errors": 0,
"out_dir": "./kb",
"markdown_files": 5
}
head -n 2 kb/chunks.jsonl
{"id": "2cb39d03d4683b98-b3b43e8bcf779209-0", "url": "http://127.0.0.1:8421/", "title": "Harbor Books: help center", "text": "Answers for readers, sellers and book clubs. Pick a topic below."}
{"id": "343675c66928ee61-c873503ad0d8dff5-0", "url": "http://127.0.0.1:8421/shipping.html", "title": "Shipping | Harbor Books", "text": "Orders over $35 ship free within the United States and arrive in three to five business days."}
What it does
Follows a site's links, pulls the readable text out of every page and saves passages any knowledge base can import. It can also pull checked JSON out of pages with your own model key or a local model, re-crawl on a schedule and turn recent YouTube, X and Facebook posts into short cards.
- Crawls politely
- Follows links within a site, obeys robots.txt and its crawl delay, can space out requests to each host, and can start from sitemap.xml.
- Keeps the words
- Pulls each page's title and readable text out of the HTML. PDFs and JavaScript-rendered pages work with optional extras.
- Re-reads only changes
- --resume skips pages whose content hasn't changed and asks servers whether a page is newer before downloading it.
- Splits for retrieval
- Breaks text into passages sized for search and AI retrieval, each with an id built from its page and content.
- Pulls checked JSON out of pages
- webcrawl extract turns pages (URLs, a crawled folder or local files) and a JSON Schema or a plain-English ask into validated JSON, one record per page. It runs with your own key for Claude or any OpenAI-compatible endpoint, or with a model server on your own machine at $0: nothing is hosted, and you pay the provider directly. Replies are cached by a hash of the page, schema and model, so an unchanged page is never paid for twice, and a re-run lists the fields that changed.
- Checks each value against the page
- By default each text or number value must be on the page or follow from it in a narrow way, like a number however it is written, an ISO date for a date the page spells out or a 24-hour time for 5 pm; anything else is set to null and listed as rejected (yes/no fields, enum choices and fields you mark as derived are not text-checked). Of 1,953 invented values planted in Claude Sonnet 5.5 replies, it rejected 98.0%: every number, 99.7% of names, 93.6% of times and 80.0% of dates. It proves a value is on the page, not that it belongs in that field.
- A hard cost limit
- With --max-cost-usd, the worst case of every request is added up before anything is sent, counting every byte of the prompt, page and schema as a token, and over the limit nothing is sent. Each request also reserves its worst case while it runs, and each page's record carries its real cost. Claude list prices are built in; for other models you give the prices.
- Measured on 120 synthetic pages
- Menus, product pages, staff lists, pricing tables, PDFs turned into HTML and event calendars, at default settings, one request per page. Claude Haiku 5.5 got 97.0% of values right (2,739 of 2,823) and 91 of 120 pages fully right, at $0.31 per 1,000 pages. Claude Sonnet 5.5 got 98.4% (2,758 of 2,804) and 102 of 120, at $5.72 per 1,000 pages. gemma4:12b on Ollama (--effort none), on 24 of the pages, got 84.0% (477 of 568) and 12 of 24.
- Numbers you can re-check
- The value check removed no value from those Haiku and Sonnet replies; its rules were tuned on earlier Haiku replies to the same pages. Synthetic pages make these numbers a comparison of models and settings, not a promise about your sites. Every reply is kept, so the included score.py re-checks each number without a key.
- Searches two ways
- Keyword ranking is built in. For search by meaning, use OpenAI embeddings or plug in any embedding model. An offline word-matching index is included for testing without a key.
- Hybrid search
- Keyword hits are re-ranked by meaning from an embedding cache built once per chunk at crawl time, so a query embeds only the question. When the meaning layer cannot run, you get the keyword result and the reason.
- Scheduled crawls
- Daily, weekly or every N minutes, with a lease so exactly one worker runs each due crawl. A crawl that reads no pages leaves your last good files and embedding cache alone and exits 1.
- Social posts
- Recent YouTube uploads (no key for a channel), X posts and Facebook Page posts become short summary cards with the source named, each post once, on a schedule in a time zone you choose. You bring your own credentials and follow each platform's terms. The fetchers are tested against recorded responses, not the live services.
- Sends it anywhere
- Portable JSON files, a local JSON or SQLite vector store, pgvector, Pinecone, or your own webhook.
- Runs as a service
- An HTTP job API with API-key auth and per-client rate limits that refuses private, loopback and cloud-metadata addresses.
What you get
crawl 1.4.0: the Python library, the webcrawl command, the HTTP API and the 120-page extraction benchmark, with 787 automated tests.
A commercial license. Use it and change it in your own projects and your clients' projects. Don't share or resell the source. Read the license.
Every update. New versions land in the same repository; git pull to get them.
A bonus pack of 11 small tools, in the same repository:
| Tool | What it does |
|---|---|
ad-gallery-generator | Build one sectioned gallery.html from a folder of PNG images (the page links to the images next to it). |
apple-notes-exporter | Export a macOS Apple Notes folder to JSON, keeping tables. |
bare-catch-linter | Find empty JavaScript catch {} blocks that silently hide failures. |
branding-leak-guard | Fail a build when forbidden brand or identity words appear in what you ship. |
email-groups-copier | Split a big email list into copyable groups, offline in the browser. |
env-drift-check | Detect Python environment drift before tests and gates run. |
gate-runner | Run a repo's gate commands in order and stop at the first failure. |
git-secret-scan | Scan a git repository's history, staged files or working tree for committed secrets. |
html-to-png-renderer | Screenshot every HTML file in a folder to a crisp 2x PNG. |
live-homepage-snapshot | Save the exact HTML a public URL returns right now to a timestamped file. |
update-bundle-kit | Build and apply self-contained software update bundles with rollback. |
Requirements
Python 3.10 or newer. The base install needs only httpx. Optional extras add OpenAI embeddings, the HTTP API, JavaScript-rendered pages, PDFs, pgvector and the Anthropic SDK for webcrawl extract, which runs on your own API key or a model server on your machine.
How buying works
- Enter your GitHub username. You'll see the account before you pay, so you can check it's yours.
- Pay $49, plus any sales tax shown at checkout, on Stripe's checkout page.
- Accept the invitation GitHub emails you. Signed in as that account, you'll also find it at
github.com/dominares-tools/crawl/invitations. Invitations expire after 7 days; you can get a new one any time. - Clone and install:
git clone https://github.com/dominares-tools/crawl.gitPrivate repo: sign in to GitHub on this computer first. Run
gh auth loginand choose HTTPS, or give git a personal access token when it asks for a password. To use an SSH key instead, clonegit@github.com:dominares-tools/crawl.git.python3 -m venv .venv && . .venv/bin/activate pip install ./crawl
Questions
Do I need GitHub?
Yes. Access is a read-only invitation to a private repository, sent to the GitHub account you choose.
Can I get a refund?
Yes, within 14 days, no questions asked. Access ends when the refund goes through. Refund policy.
Who takes the payment?
Payments are handled by Stripe, which works out sales tax. Your receipt and card statement show Link (LINK.COM*), Stripe's checkout service.
Something wrong?
Email support@dominares.org. Every buyer of a tool shares its repository, so support happens by email rather than in GitHub issues.