Project Icon

kubespider

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

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

Kubespider

Kubespider logo

💥 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:

📃 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
项目侧边栏1项目侧边栏2
推荐项目
Project Cover

豆包MarsCode

豆包 MarsCode 是一款革命性的编程助手,通过AI技术提供代码补全、单测生成、代码解释和智能问答等功能,支持100+编程语言,与主流编辑器无缝集成,显著提升开发效率和代码质量。

Project Cover

AI写歌

Suno AI是一个革命性的AI音乐创作平台,能在短短30秒内帮助用户创作出一首完整的歌曲。无论是寻找创作灵感还是需要快速制作音乐,Suno AI都是音乐爱好者和专业人士的理想选择。

Project Cover

有言AI

有言平台提供一站式AIGC视频创作解决方案,通过智能技术简化视频制作流程。无论是企业宣传还是个人分享,有言都能帮助用户快速、轻松地制作出专业级别的视频内容。

Project Cover

Kimi

Kimi AI助手提供多语言对话支持,能够阅读和理解用户上传的文件内容,解析网页信息,并结合搜索结果为用户提供详尽的答案。无论是日常咨询还是专业问题,Kimi都能以友好、专业的方式提供帮助。

Project Cover

阿里绘蛙

绘蛙是阿里巴巴集团推出的革命性AI电商营销平台。利用尖端人工智能技术,为商家提供一键生成商品图和营销文案的服务,显著提升内容创作效率和营销效果。适用于淘宝、天猫等电商平台,让商品第一时间被种草。

Project Cover

吐司

探索Tensor.Art平台的独特AI模型,免费访问各种图像生成与AI训练工具,从Stable Diffusion等基础模型开始,轻松实现创新图像生成。体验前沿的AI技术,推动个人和企业的创新发展。

Project Cover

SubCat字幕猫

SubCat字幕猫APP是一款创新的视频播放器,它将改变您观看视频的方式!SubCat结合了先进的人工智能技术,为您提供即时视频字幕翻译,无论是本地视频还是网络流媒体,让您轻松享受各种语言的内容。

Project Cover

美间AI

美间AI创意设计平台,利用前沿AI技术,为设计师和营销人员提供一站式设计解决方案。从智能海报到3D效果图,再到文案生成,美间让创意设计更简单、更高效。

Project Cover

稿定AI

稿定设计 是一个多功能的在线设计和创意平台,提供广泛的设计工具和资源,以满足不同用户的需求。从专业的图形设计师到普通用户,无论是进行图片处理、智能抠图、H5页面制作还是视频剪辑,稿定设计都能提供简单、高效的解决方案。该平台以其用户友好的界面和强大的功能集合,帮助用户轻松实现创意设计。

投诉举报邮箱: service@vectorlightyear.com
@2024 懂AI·鲁ICP备2024100362号-6·鲁公网安备37021002001498号