dev-tools 4 min read

LinkSwift: Direct Download Links for Chinese Cloud Drives

LinkSwift is an AGPL-3.0 JavaScript userscript that resolves direct download links from eight Chinese cloud drives, including Baidu, Aliyun, UC, and 123Pan.

By
Share: X in
GitHub social preview card for hmjz100/LinkSwift

TL;DR

TL;DR: LinkSwift is a browser userscript that turns share pages on Chinese cloud storage into direct download links you can hand to a download manager. It covers eight services, from Baidu and Aliyun through to Quark and 123Pan, and is the most-starred project on this list at 23,755 stars under AGPL-3.0.

What it is

The repository describes itself, in Chinese, as a JavaScript-based tool for obtaining direct download addresses for files on cloud drives. It is a modification of an earlier project, 网盘直链下载助手, which translates roughly as “cloud drive direct link download assistant”. That lineage is the whole idea: instead of pulling files down through a web interface that may be slow, limited, or gated, you get a URL and use whatever downloader you prefer.

Eight services are named in the description, and the GitHub topics corroborate several of them:

ServiceChinese name
Baidu Netdisk百度网盘
Aliyun Drive阿里云盘
China Mobile Cloud中国移动云盘
Tianyi Cloud天翼云盘
Xunlei Cloud迅雷云盘
Quark Cloud夸克网盘
UC CloudUC网盘
123Pan123云盘

The repository’s topics include 123pan, aliyun-drive, aliyunpan, and baidu, which line up with the description, plus aria2. That last topic is the practical point: the output is a direct link, and aria2 is the downloader it is being pointed at.

JavaScript is the language, AGPL-3.0 is the license, and it is one of the older repositories on this list, created on 10 August 2022. It has 23,755 stars, 1,439 forks, and 38 open issues, and it was last pushed on 10 September 2026. An age of four years matters for a project like this one, because cloud providers change their share pages and login flows constantly. Surviving that long suggests the project has been kept working as those pages shift.

How to try it

The homepage the repository declares is not a site. It is a raw userscript file:

https://github.com/hmjz100/LinkSwift/raw/main/(改)网盘直链下载助手.user.js

The .user.js extension is the convention browser script managers such as Tampermonkey use, which is why the project is distributed as a file rather than a package. A more recent default branch is available, since the repository’s default branch is dev while the declared homepage still points at main.

Once a link is in hand, aria2 takes it directly:

aria2c "https://example.com/file.zip"

When to use it

Reach for it when you are pulling a large file from one of these services and the web downloader is the bottleneck. Direct links also play better with segmented and resumed downloading, which is why the aria2 topic is on the repository.

Because it is a userscript rather than a service, it does the work inside a browser you already have open and logged in. Nothing about it requires giving up your account credentials to a third party.

Coverage is the other reason to pick this over a one-off extension. The description names eight services, which is a wide spread for a single script, and the eight are not interchangeable from a downloader’s point of view. A tool tuned to one provider’s link format will not help you with the other seven.

When NOT to use it

A userscript runs with access to the pages you visit, so weigh that against what the convenience is worth. Installing it means trusting third-party code inside your logged-in session, and AGPL-3.0 governs how modifications are shared, not how safe a given script is to run.

It is also built for a specific purpose. If you need scheduled sync, sharing, or team access to these drives, this is the wrong tool.

Source and Accuracy Notes

  • Project page: https://github.com/hmjz100/LinkSwift
  • Source repository: hmjz100/LinkSwift (verified via GitHub API html_url)
  • License: AGPL-3.0 (verified via GitHub API license.spdx_id)
  • Stars at time of writing: 23,755
  • Capability and service-list claims come from the repository’s GitHub API description field and its declared topics. The aria2c line is generic downloader usage, not documented output of this project.