Documentation
Run it yourself
Copy page
Start DarkCrawl on your own machine with Docker Compose and check that it is ready.
DarkCrawl runs on your own machine as a set of Docker containers. It fetches pages through , and the API listens on 127.0.0.1 only. The Run it yourself plan on the pricing page covers running it on your own servers.
You need Docker (Docker Desktop on a Mac) with Docker Compose 2.24 or later. Older Compose versions reject the settings the stack uses.
-
Get the code. Running DarkCrawl yourself needs a licence, and the code is in a private repository. Write to hello@darkcrawl.dev from your work address and ask for read access. Say which licence it is for. Once you have access, clone the repository with the address we send you.
-
Start the stack, from the repository root.
docker compose up -dThe first start builds four images (Tor, the app, the extractor and the gateway), bootstraps Tor and downloads the Ahmia list through Tor. It usually takes a few minutes.
-
Ask whether it is ready.
curl -s http://127.0.0.1:3002/healthWait until the reply says
"status": "ok".
What /health says
Section titled “What /health says”status |
Meaning |
|---|---|
starting |
Not ready yet: Tor is still bootstrapping, the Ahmia list is not loaded, the database is not ready, or the extractor is not up yet |
ok |
Tor is up, the blocklist is loaded, the database works and the extractor answers |
degraded |
Tor was ready earlier, and Tor or the extractor is down now |
The reply also has a key for each part of the stack, such as tor, db and extraction.
Another port
Section titled “Another port”The API listens on port 3002. To use another host port, set DARKCRAWL_HOST_PORT.
DARKCRAWL_HOST_PORT=3005 docker compose up -dStop it and delete its data
Section titled “Stop it and delete its data”docker compose down stops the stack and keeps its data.
docker compose downdocker compose down -v also deletes the volumes: every capture, the Tor state and the generated Tor control password.
docker compose down -vThere is no .env to prepare. The Tor control password is generated on first start.
Use it
Section titled “Use it”Once /health says ok, call the API at http://127.0.0.1:3002. The CLI is the quickest way to try it. To give an AI client the same tools, follow a quick-start or read the MCP server page.