# crawlab **Repository Path**: tikazyq/crawlab ## Basic Information - **Project Name**: crawlab - **Description**: Crawlab 是一个使用 Golang 开发的分布式爬虫管理平台,支持Python、NodeJS、Go、Java、PHP等多种编程语言以及多种爬虫框架 - **Primary Language**: Go - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: https://crawlab.cn - **GVP Project**: No ## Statistics - **Stars**: 802 - **Forks**: 277 - **Created**: 2019-05-30 - **Last Updated**: 2025-06-19 ## Categories & Tags **Categories**: spider **Tags**: None ## README # Crawlab
中文 | [English](https://github.com/crawlab-team/crawlab) [安装](#安装) | [运行](#运行) | [截图](#截图) | [架构](#架构) | [集成](#与其他框架的集成) | [比较](#与其他框架比较) | [相关文章](#相关文章) | [社区&赞助](#社区--赞助) | [更新日志](https://github.com/crawlab-team/crawlab/blob/master/CHANGELOG-zh.md) | [免责声明](https://github.com/crawlab-team/crawlab/blob/master/DISCLAIMER-zh.md) 基于Golang的分布式爬虫管理平台,支持Python、NodeJS、Go、Java、PHP等多种编程语言以及多种爬虫框架。 [查看演示 Demo](http://crawlab.cn/demo) | [文档](http://docs.crawlab.cn) ## 安装 三种方式: 1. [Docker](http://docs.crawlab.cn/Installation/Docker.html)(推荐) 2. [直接部署](http://docs.crawlab.cn/Installation/Direct.html)(了解内核) 3. [Kubernetes](http://docs.crawlab.cn/Installation/Kubernetes.html) (多节点部署) ### 要求(Docker) - Docker 18.03+ - Redis 5.x+ - MongoDB 3.6+ - Docker Compose 1.24+ (可选,但推荐) ### 要求(直接部署) - Go 1.12+ - Node 8.12+ - Redis 5.x+ - MongoDB 3.6+ ## 快速开始 请打开命令行并执行下列命令。请保证您已经提前安装了 `docker-compose`。 ```bash git clone https://github.com/crawlab-team/crawlab cd crawlab docker-compose up -d ``` 接下来,您可以看看 `docker-compose.yml` (包含详细配置参数),以及参考 [文档](http://docs.crawlab.cn) 来查看更多信息。 ## 运行 ### Docker 请用`docker-compose`来一键启动,甚至不用配置MongoDB和Redis数据库,**当然我们推荐这样做**。在当前目录中创建`docker-compose.yml`文件,输入以下内容。 ```yaml version: '3.3' services: master: image: tikazyq/crawlab:latest container_name: master environment: CRAWLAB_SERVER_MASTER: "Y" CRAWLAB_MONGO_HOST: "mongo" CRAWLAB_REDIS_ADDRESS: "redis" ports: - "8080:8080" depends_on: - mongo - redis mongo: image: mongo:latest restart: always ports: - "27017:27017" redis: image: redis:latest restart: always ports: - "6379:6379" ``` 然后执行以下命令,Crawlab主节点+MongoDB+Redis就启动了。打开`http://localhost:8080`就能看到界面。 ```bash docker-compose up ``` Docker部署的详情,请见[相关文档](https://tikazyq.github.io/crawlab-docs/Installation/Docker.html)。 ### 直接部署 请参考[相关文档](https://tikazyq.github.io/crawlab-docs/Installation/Direct.html)。 ## 截图 #### 登录  #### 首页  #### 节点列表  #### 节点拓扑图  #### 爬虫列表  #### 爬虫概览  #### 爬虫分析  #### 爬虫文件编辑  #### 任务抓取结果  #### 任务日志  #### 定时任务  #### 语言安装  #### 依赖安装  #### 消息通知