kubespider

kubespider

多平台资源下载管理系统 支持多种网站和软件

Kubespider是一个多平台资源下载管理系统,支持适配多种资源网站和下载软件。系统提供请求触发、周期触发和更新触发等多种下载方式,实现全面统一的资源获取。Kubespider可自动下载电视剧,支持本地触发下载,并兼容YouTube、BiliBili等多个平台的各类资源。其模块化设计包含核心模块、资源提供者和下载提供者,具有良好的灵活性和可扩展性。

Kubespider资源下载开源软件自动化下载NASGithub开源项目

Kubespider

<p align="center"> <img src="./docs/images/logo.png" width="200" alt="Kubespider logo"> </p>

💥 A global resource download orchestration system

Python GitHub release Total Downloads GitHub stars GitHub license

English | 简体中文

Installation | Configuration | Developer Group

We are a community of individuals who share a passion for life and have come together based on shared interests and needs. In our free time, we collaborated to develop Kubespider.

Kubespider is developed to utilize an idle server in a local area network as a NAS, enabling automatic downloads of TV series, triggering downloads from a local laptop, and adapting to various websites such as YouTube and BiliBili, as well as different types of resources such as TV series, movies, music and more.

After being exposed to Terraform and its great versatility, we were inspired to create Kubespider as a general download orchestration system that is compatible with various resource platforms and download software. Kubespider supports multiple download methods, including request trigger, cycle trigger, and update trigger, making it the most comprehensive and unified solution for resource downloads.

⛵ System architecture

To realize a general download orchestration system, it is necessary to adapt various resource websites and download software, so these two parts are abstracted from the core functions: image

  • kubespider-core: The core module of Kubespider accepts the trigger download request, calls the resource provider for resolution (it will eventually be resolved into a standard mode, such as the user enters the bilibili blogger address, and the corresponding resource provider outputs the mp4 file address download list), and finally calls the download provider to implement Download; this module will also periodically call providers (such as TV series provider) to download additional resources.
  • source-provider:The provider of each resource website accepts input of general resource addresses, and outputs standard resource address URLs, such as the personal homepage of a YouTuber, and outputs all mp4 download addresses of the blogger’s videos. The configuration file is in .config/source_provider.yaml.
  • download-provider:The provider of each download software receives the request task from kubespider-core, and calls the corresponding service to realize the download. The configuration file is in .config/download_provider.yaml.

💽 Installation

To adapt to multiple resource platforms, Kubespider provides many adapters. Enable or disable these adapters according to your needs. The configuration file is in the .config folder.

Premise

  1. The operating computer and your server are on the same LAN. (I haven't tried the installation not in the same LAN yet)
  2. The server is a Linux system.
  3. Docker is installed on the server.

Default installation (with docker)

Installing with built-in command can download and config anything needed automatically.

1.Download the repository and install

# Define KUBESPIDER_HOME to specify the installation path # export KUBESPIDER_HOME=xxx git clone https://github.com/opennaslab/kubespider.git cd kubespider bash hack/install_kubespider.sh

Output like:

root@cesign [09:01:34 PM] [+22.0°C] [~/git/kubespider] [main *] -> # bash hack/install_kubespider.sh _ _ _ _ | | ___ _| |__ ___ ___ _ __ (_) __| | ___ _ __ | |/ / | | | '_ \ / _ \/ __| '_ \| |/ _` |/ _ \ '__| | <| |_| | |_) | __/\__ \ |_) | | (_| | __/ | |_|\_\\__,_|_.__/ \___||___/ .__/|_|\__,_|\___|_| |_| [INFO] Start to deploy with default configuration... b13820946878c4f00635e7fa3db64ea83506850ebb7d07ff77b62814db1d894a 9c0aa1059f1546a4f1a2accac445ce1389f1c400b96328f3e18c8af03f0bbc70 [INFO] Deploy successful, check the information: ******************************************* Kubespider config path: /root/kubespider/.config/ Download file path: /root/kubespider/nas/ Kubespider webhook address: http://<server_ip>:3080 Aria2 server address: http://<server_ip>:6800/jsonrpc, you can use any gui or webui to connect it Aria2 default secret is:kubespider *******************************************
  • This step will install Kubespide and Aria2 resource downloader as the default downloader.
  • After installation, all downloaded files will be stored in ${HOME}/kubespider/nas by default.
  • Configuration files are located in ${HOME}/kubespider/.config by default.

2.Connect to aria2

For checking the download tasks on your server conveniently, go to the chrome store to download AriaNg plugin. Then connect, the plugin configuration is as follows(shown at the end of the script install_kubespider.sh execution output): img

Of course, it is not necessary, you can also use the desktop program to connect: AriaNg

3.Install Chrome plugin

With Kubespider Chrome plugin, you can get a better experience.

After step 1 has been done, open chrome, then install Kubespider plugin, and configure it as follows(The server address is http://<server_ip>:3080): img

For example, if I want to download a torrent-related file, I can right click and send the download task to Kubespider(demo website): img

Then with aria2 chrome plugin, you can see the download task starts: img

4.More (Optional)

  • Install Plex, watch videos on multiple platforms, install now.
  • Install Jellyfin, watch videos on multiple platforms, install now.
  • Install Baidu network disk(only in china), download in the background, install now.

Other installation

  • Install with docker-cli/docker-compose command mannually, see link.
  • Install Kubespider on Synology, see link.
  • Install Kubespider on TerraMaster, see link.
  • Install Kubespider on Asustor, see link.
  • Install Kubespider on UGreen NAS, see link.
  • Install Kubespider on Unraid NAS, see link.

📝 Configuration

The global configuration file is located at .config/kubespider.yaml, which is installed under ${HOME}/kubespider/.config/kubespider.yaml by default. The description of each configuration item is as follows:

Configuration ItemRequiredFunction
proxyNoThe request proxy, such as http://192.168.1.5:1087
auth_tokenNoAuthentication token, used for authentication when triggering download requests. If public network access is required, it can be configured to increase security.
auto_change_download_providerNoSwith to control whether to change download provoider for failed/long-time-pending download tasks automatically.
server_portNoThe port used to provider API service

🔧 Feature list

Source provider(Configured as needed)

As mentioned before, the source provider is used to adapt to different websites, and download related resources based on the conditions:

Source ProviderSupportPurposeConfiguration
mikanani source providerYesAutomatically download updated animelink
btbtt12 source providerYesTrigger download resource in btbtt12 websitelink
meijutt source providerYesDownload updated TV serieslink
YouTube source providerYesTrigger download YouTube videolink
Bilibili source providerYesTrigger download bilibili videolink
Bilibili vlogger subscribe source providerYesAutomatically download updated Bilibili vlogger's videolink
general rss source providerYesAutomatically download rss sourcelink
Magic source providerYesTrigger download resource via xpath configurationlink
Douyin source providerYesTrigger download Douyin video with watermarklink
alist source providerYesAutomatically download newly added or updated files from the cloud storagelink
ANi source providerYesFully automated anime download from ANilink

Download provider(Configured as needed)

In order to make full use of the existing download software in the open-source community(For example, YouTube has dedicated download software), the following software is currently supported:

Download SoftwareSupportConfiguration
aria2Yeslink
xunleiYeslink
qBittorrentYeslink
you-getYeslink
yt-dlpYeslink
transmissionYeslink
yuttoYeslink

Notification provider(Configured as needed)

In order to make full use of the existing notification software in the open-source community, the following software is currently supported:

Notification SoftwareSupportConfiguration
PushdeerYeslink
TelegramYeslink
QQYeslink
BarkYeslink

Basic feature

Currently, the following file types are supported to trigger downloading:

Download TypesSupport
magnetYes
torrentYes
general(jpg, mp4, etc.)Yes

Please refer to link for how to trigger the download.

Other

  • Suport resource websites'(NexusPHP framework) account maintenance, please refer to link.

🙋 FAQ

See the FAQ for more details, and feel free to contribute your questions and solutions. Your valuable input will collectively improve the documentation and benefit a wider audience. Join us in making a difference!

🤝 Contribution PRs Welcome

If you are interested in participating in joint development, welcome to STAR/FORK/PR, please check link for Roadmap.

  • For how to develop/debug Kubespider, please see link.
  • For how to implement a resource provider for a resource website, please see link.
  • For how to implement a download provider for download software, please see link.
  • For how to develop chrome extension webhook, please see link.
  • For how to implement other webhook trigger tools, please see link.

If you want to participate more in the community, welcome to join our Telegram developer group.

❤️ Sponsor

Thanks to the following companies for sponsoring development tools, the ranking is not in any particular order:

<table> <thead> <tr> <th align="center" height="60px"> <a href="https://www.jetbrains.com/"> <img align="center" src="./docs/images/sponsor/jetbrains.png" height="40px"><br> </a> </th> <th align="center" height="60px"> <a href="https://www.synology.cn/"> <img align="center" src="./docs/images/sponsor/synology.png" height="40px"><br> </a> </th> <th align="center" height="60px"> <a href="https://www.terra-master.com/"> <img align="center" src="./docs/images/sponsor/terramaster.svg" height="40px"><br> </a> </th> <th align="center" height="60px"> <a href="https://www.qnap.com.cn/"> <img align="center" src="./docs/images/sponsor/qnap.svg" height="40px"><br> </a> </th> <th align="center" height="60px"> <a href="https://www.asustor.com/"> <img align="center" src="./docs/images/sponsor/asustor.png" height="40px"><br> </a> </th> <th align="center" height="60px"> <a href="https://www.ugnas.com/"> <img align="center" src="./docs/images/sponsor/ugnas.png" height="40px"><br> </a> </th> <th align="center" height="60px"> <a href="https://www.jonsbo.com/"> <img align="center" src="./docs/images/sponsor/jonsbo.png" height="40px"><br> </a> </th> </thead> </table>

📃 Disclaimer

All downloading and use of the software are deemed to have carefully read and fully agreed to the following terms:

  • The software is only for personal learning and communication, and it is strictly prohibited for bad purposes.
  • If any bad use are found, the software author has the right to revoke the right to use.
  • The risk of using this software will be entirely borne by him, and the software author will not bear any responsibility.
  • Except for the terms of service indicated in the software, the author of this software is not responsible for any accidents, negligence, contract damage, defamation, copyright or other intellectual property infringement and any losses caused by improper use of this software, and also no legal responsibility is assumed.
  • The author of the software will not be responsible for the interruption of services or other defects caused by force majeure or

编辑推荐精选

问小白

问小白

全能AI智能助手,随时解答生活与工作的多样问题

问小白,由元石科技研发的AI智能助手,快速准确地解答各种生活和工作问题,包括但不限于搜索、规划和社交互动,帮助用户在日常生活中提高效率,轻松管理个人事务。

聊天机器人AI助手热门AI工具AI对话
Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

讯飞智文

讯飞智文

一键生成PPT和Word,让学习生活更轻松

讯飞智文是一个利用 AI 技术的项目,能够帮助用户生成 PPT 以及各类文档。无论是商业领域的市场分析报告、年度目标制定,还是学生群体的职业生涯规划、实习避坑指南,亦或是活动策划、旅游攻略等内容,它都能提供支持,帮助用户精准表达,轻松呈现各种信息。

热门AI工具AI办公办公工具讯飞智文AI在线生成PPTAI撰写助手多语种文档生成AI自动配图
讯飞星火

讯飞星火

深度推理能力全新升级,全面对标OpenAI o1

科大讯飞的星火大模型,支持语言理解、知识问答和文本创作等多功能,适用于多种文件和业务场景,提升办公和日常生活的效率。讯飞星火是一个提供丰富智能服务的平台,涵盖科技资讯、图像创作、写作辅助、编程解答、科研文献解读等功能,能为不同需求的用户提供便捷高效的帮助,助力用户轻松获取信息、解决问题,满足多样化使用场景。

模型训练热门AI工具内容创作智能问答AI开发讯飞星火大模型多语种支持智慧生活
Spark-TTS

Spark-TTS

一种基于大语言模型的高效单流解耦语音令牌文本到语音合成模型

Spark-TTS 是一个基于 PyTorch 的开源文本到语音合成项目,由多个知名机构联合参与。该项目提供了高效的 LLM(大语言模型)驱动的语音合成方案,支持语音克隆和语音创建功能,可通过命令行界面(CLI)和 Web UI 两种方式使用。用户可以根据需求调整语音的性别、音高、速度等参数,生成高质量的语音。该项目适用于多种场景,如有声读物制作、智能语音助手开发等。

Trae

Trae

字节跳动发布的AI编程神器IDE

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

热门AI工具生产力协作转型TraeAI IDE
咔片PPT

咔片PPT

AI助力,做PPT更简单!

咔片是一款轻量化在线演示设计工具,借助 AI 技术,实现从内容生成到智能设计的一站式 PPT 制作服务。支持多种文档格式导入生成 PPT,提供海量模板、智能美化、素材替换等功能,适用于销售、教师、学生等各类人群,能高效制作出高品质 PPT,满足不同场景演示需求。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

AI助手热门AI工具AI创作AI辅助写作讯飞绘文内容运营个性化文章多平台分发
材料星

材料星

专业的AI公文写作平台,公文写作神器

AI 材料星,专业的 AI 公文写作辅助平台,为体制内工作人员提供高效的公文写作解决方案。拥有海量公文文库、9 大核心 AI 功能,支持 30 + 文稿类型生成,助力快速完成领导讲话、工作总结、述职报告等材料,提升办公效率,是体制打工人的得力写作神器。

openai-agents-python

openai-agents-python

OpenAI Agents SDK,助力开发者便捷使用 OpenAI 相关功能。

openai-agents-python 是 OpenAI 推出的一款强大 Python SDK,它为开发者提供了与 OpenAI 模型交互的高效工具,支持工具调用、结果处理、追踪等功能,涵盖多种应用场景,如研究助手、财务研究等,能显著提升开发效率,让开发者更轻松地利用 OpenAI 的技术优势。

下拉加载更多