Favicon of LinkSwift

LinkSwift

LinkSwift is a Tampermonkey userscript that gets direct download links from Baidu, Aliyun, 123pan, Quark and other cloud drives.

LinkSwift GitHub repository preview

LinkSwift is a browser userscript built for Tampermonkey (or compatible managers like Violentmonkey) that extracts direct download links from Chinese cloud storage services. It's a fork and extension of the original 网盘直链下载助手 (Netdisk Direct Link Download Assistant) by 油小猴, adding support for more drives and more downloader integrations. It's aimed at users in China (or anyone using these specific services) who hit slow browser-based downloads or client limitations and want to push files to a dedicated download manager instead.

The script works by hooking into the share/download pages of each supported cloud drive and calling their public APIs to resolve a direct file URL. It then surfaces that URL through a UI panel so you can copy it or push it directly to a downloader. The project is explicit that it does not bypass any throttling or speed limits imposed by the storage providers; it only uses officially exposed interfaces.

Key features

  • Multi-drive support: works with Baidu Netdisk, Aliyun Drive, China Mobile Cloud Drive, Tianyi Cloud, Xunlei Cloud, Guangya Netdisk, Quark Netdisk, UC Netdisk, and 123pan.
  • Direct link extraction: resolves a downloadable URL for selected files by calling each service's own API, without modifying or cracking rate limits.
  • Downloader integration: pushes resolved links to Aria2, IDM, Motrix, AB Download Manager, and BitComet, or lets you copy Aria2/cURL command lines.
  • UI theming: injects a cleaned-up, reskinned interface over the stock cloud drive pages, with support for custom theme colors and dark mode (including Dark Reader compatibility).
  • Batch and folder handling: supports selecting folders for download (on supported drives) and copying multiple resolved links at once.
  • Configurable service profiles: lets you add, switch, and delete multiple downloader/RPC configurations from a settings panel without re-fetching links.
  • Active changelog: a long, granular version history tracking fixes for drive UI changes, API adaptations, and downloader push bugs.

Ideal use cases

LinkSwift fits users who regularly download files from one or more of the nine supported Chinese cloud drives and want those files routed into a download manager like Aria2 or IDM instead of the browser's default handler or a slow in-browser transfer. It's useful if you're on Windows, Mac, Linux, or Android with a Chromium-based or Edge browser and already use Tampermonkey for other scripts.

It is not a fit if you need support for cloud services outside the nine listed (Google Drive, Dropbox, OneDrive, etc.), or if you're looking for a way to bypass provider-imposed speed limits or premium-tier restrictions. The README is explicit that any speed gains come from the provider's own API behavior or local network conditions, not from the script itself. It's also not a standalone downloader; you still need a tool like Aria2, Motrix, or IDM installed separately to actually pull the resolved link.

Installation

LinkSwift runs as a userscript, so you need a userscript manager extension first (Tampermonkey is recommended; the README lists both the beta and stable Tampermonkey Chrome Web Store listings as compatible, requiring Chrome ≥76 or Edge ≥88).

  1. Install Tampermonkey (or another manager that supports .user.js files) from your browser's extension store.
  2. Install the script itself from one of the published sources. The stable release is hosted on GitHub:
https://github.com/hmjz100/LinkSwift/raw/main/(改)网盘直链下载助手.user.js
  1. Alternative mirrors are available if GitHub is slow or blocked in your region:
  • ScriptCat (国内): https://scriptcat.org/scripts/code/1604/LinkSwift.user.js
  • OpenUserJS (may lag behind releases): https://openuserjs.org/install/hmjz100/LinkSwift.user.js
  1. A canary/dev branch is available for users who want the newest fixes before they hit the stable release, at the same GitHub path but on the dev branch. The README warns this version can be unstable.

  2. After installation, visit a supported cloud drive's share or file page. The script injects its UI automatically, and you configure downloader targets (Aria2 RPC, IDM, Motrix, etc.) from the script's settings panel.

If you originally found the script via GreasyFork, the README recommends reinstalling from one of the sources above, since GreasyFork listings may be outdated or affected by unauthorized re-uploads.

Frequently asked questions

Share:

Stars
25.1K
Forks
1.6K
Last commit
2 days ago
Repository age
4 years
License
AGPL-3.0
Self-hosted
No
Activity score
82/100
View Repository
Built with:
Ad
Favicon

 

  
 

Similar to LinkSwift

Favicon

 

  
 
Favicon

 

  
 
Favicon