selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Crawlab logo

Self-host Crawlab

v0.6.3

Distributed spider & crawler admin platform in any language

ReleaseOpen CoreBSD-3-Clause
Docker ComposeCompose file & guide
docker-compose up -d
Updated9 months ago
LanguageGo
Setup difficultyModerate
Stars
12 294
Ports
8080 (Web UI and API endpoint of the master node container (docker-compose maps 8080:8080)), 9666 (gRPC server address the master node listens on for worker-node communication)
Requires
MongoDB
Docker
crawlabteam/crawlab
Crawlab login screenHome dashboard with spider and task overviewList of master and worker nodesSpider list pageSpider detail overview with statsSpider source files viewTask log outputScraped result records of a taskCron schedule detail page

What is Crawlab?

Crawlab is a browser-based control plane for teams that run many web crawlers or spiders, letting them deploy, schedule and monitor those jobs from one place. A master node handles task scheduling, worker-node management, spider deployment and the frontend/API, while worker nodes execute tasks and talk to it over gRPC, so capacity grows by adding machines. Spiders are language- and framework-agnostic: Python, Node.js, Go, Java or PHP programs (Scrapy, Puppeteer, Selenium included) run as shell commands, with the task ID handed to the process as an environment variable and an SDK helper available for pushing results back. The interface lists nodes, spiders and projects, offers an online code editor, cron schedules, task logs, result tables with CSV download, stats views and a Spider Market of open-source spiders. You run it with Docker Compose using the crawlabteam/crawlab image plus MongoDB, optionally with several worker containers; builds cover AMD64 and ARM64. The code is BSD-3-Clause and a free community edition exists, while the vendor sells Enterprise and one-off Permanent licences that bundle RBAC, unlimited nodes and priority support; the project's own comparison table notes spider versioning is not yet supported.

Crawlab alternatives

All self-hosted alternatives to Gerapy → All self-hosted alternatives to ScrapydWeb → All self-hosted alternatives to SpiderKeeper →

Should you self-host Crawlab?

Crawlab scores 61/100 on selfhost.directory (how scoring works) and ranks #8 of 16 in Web Scraping. It has 12 294 GitHub stars, +13 in the last 30 days.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is BSD-3-Clause-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is firecrawl (91/100, 199 847 stars). It scores higher overall, so compare the two before you pick. See Crawlab vs firecrawl side by side.

Features

  • API access tokens
  • Automatic dependency installation
  • CSV Data Export
  • Distributed node management
  • Language and framework agnostic spiders
  • No-code configurable spiders
  • Notifications
  • Online code editorv0.7 uses a Monaco-based editor
  • Performance monitoring dashboard
  • RBAC user managementListed among the paid Enterprise and Permanent plan benefits
  • Scheduled (cron) tasks
  • Spider Market
  • Task logs
  • Web-based admin UI
  • Webhooks

Crawlab README

How to install Crawlab

Install Crawlab with Docker Compose

Environment variables
CRAWLAB_NODE_MASTER, CRAWLAB_MONGO_HOST, CRAWLAB_GRPC_ADDRESS, CRAWLAB_FS_FILER_URL
git clone https://github.com/crawlab-team/examples
cd examples/docker/basic
docker-compose up -d

Master container plus worker containers and MongoDB; afterwards the UI is at http://localhost:8080. Images run natively on AMD64 and ARM64.

How to configure Crawlab

  • CRAWLAB_GRPC_ADDRESSlocalhost:9666Target gRPC address the nodes are connecting to
  • CRAWLAB_GRPC_SERVER_ADDRESS0.0.0.0:9666Address that the gRPC server is listening to (master node only)
  • CRAWLAB_GRPC_AUTHKEYCrawlab2021!The token that gRPC clients and server use for authentication
  • CRAWLAB_NODE_MASTERYWhether the current node is a master or worker node

    values: Y: master; N: worker

  • CRAWLAB_SERVER_HOST0.0.0.0IP host that the API listens to (master node only)

Crawlab releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Can I upgrade Crawlab to a higher version?

Yes, upgrades are possible while your plan is still within its validity period.

How to install Crawlab?

Follow the official documentation; Docker deployment is the simple route.

Does Crawlab support different programming languages?

Yes, Python, Node.js, Go and Java all work, independent of which framework you use.

Does Crawlab support Scrapy?

Yes, Scrapy spiders are supported for crawling data.

How does Crawlab work?

It is a web-based crawler development and management platform: one interface covers developing, running, monitoring and managing crawlers.

Does Crawlab support distributed crawling?

Yes, crawling is distributed and can be deployed across several machines.

Will technical support be provided?

Technical support comes with every paid plan.

Can I request an invoice?

Yes, invoices are provided on request.

I’m not sure if I need Crawlab, can I try it out before I buy?

Yes, a community edition is offered so you can test it before purchasing a paid plan.

More in Web Scraping

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…