Official Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it.
Python aiai-agentscrawl4ai-cloudcrawlerdata-extractionllmmarkdownmcpopen-sourceplaywrightpythonragscraperweb-crawlerweb-crawlingweb-scraping
Docker Hub page: current README, synced from main (#2499)
UncleCode5bc33f4ec398
diff --git a/.github/workflows/dockerhub-description.yml b/.github/workflows/dockerhub-description.ymlnew file mode 100644index 00000000..51059a82--- /dev/null+++ b/.github/workflows/dockerhub-description.yml@@ -0,0 +1,25 @@+name: Docker Hub description++# Copies deploy/docker/DOCKERHUB.md to the Docker Hub page of unclecode/crawl4ai.+# Runs when that file changes on main, or by hand from the Actions tab; it builds no image.+on:+ push:+ branches: [main]+ paths:+ - deploy/docker/DOCKERHUB.md+ - .github/workflows/dockerhub-description.yml+ workflow_dispatch:++jobs:+ description:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - uses: peter-evans/dockerhub-description@v4+ with:+ username: unclecode+ # a Docker Hub access token with Read, Write, Delete rights (needed to edit the description)+ password: ${{ secrets.DOCKERHUB_TOKEN }}+ repository: unclecode/crawl4ai+ short-description: "Open-source web crawler for LLMs and AI agents. Self-host this server, or use Crawl4AI Cloud."+ readme-filepath: deploy/docker/DOCKERHUB.mddiff --git a/deploy/docker/DOCKERHUB.md b/deploy/docker/DOCKERHUB.mdnew file mode 100644index 00000000..73ac18bc--- /dev/null+++ b/deploy/docker/DOCKERHUB.md@@ -0,0 +1,47 @@+# Crawl4AI++**The open-source web crawler for LLMs and AI agents, as a server you run yourself.** This image is the Crawl4AI Docker server: send it a URL, get clean Markdown, structured JSON or a screenshot back. Apache-2.0.++Don't want to run browsers and proxies yourself? **[Crawl4AI Cloud](https://crawl4ai.com/?ref=dockerhub)** is the hosted API: free key, 1,000 credits a month, no card.++[](https://github.com/unclecode/crawl4ai)+[](https://pepy.tech/project/crawl4ai)+[](https://discord.gg/jP8KfhDhyN)++---++## Run it++The server needs a token. Without one it answers only inside its container.++```bash+export CRAWL4AI_API_TOKEN="$(openssl rand -hex 32)"+docker run -d -p 11235:11235 --name crawl4ai --shm-size=1g \+ -e CRAWL4AI_API_TOKEN="$CRAWL4AI_API_TOKEN" \+ unclecode/crawl4ai:latest+```++Test it (allow about 10 seconds for the start):++```bash+curl -s http://localhost:11235/md \+ -H "Authorization: Bearer $CRAWL4AI_API_TOKEN" \+ -H "Content-Type: application/json" \+ -d '{"url": "https://news.ycombinator.com"}' | jq -r .markdown+```++The dashboard is at `http://localhost:11235/dashboard`, the playground at `http://localhost:11235/playground`.++Images are multi-arch (`amd64`, `arm64`). Tags: `latest`, or a version such as `0.9.5`.++---++## Docs++- Self-hosting guide (LLM keys, MCP, every setting): [docs.crawl4ai.com/core/self-hosting](https://docs.crawl4ai.com/core/self-hosting/)+- Source and issues: [github.com/unclecode/crawl4ai](https://github.com/unclecode/crawl4ai)+- Hosted API docs: [crawl4ai.com/docs](https://crawl4ai.com/docs?ref=dockerhub)++---++[Star on GitHub](https://github.com/unclecode/crawl4ai) · [Follow @unclecode on X](https://x.com/unclecode) · [Discord](https://discord.gg/jP8KfhDhyN)