explaingit

hmjz100/linkswift

Analysis updated 2026-06-24

15,016JavaScriptAudience · generalComplexity · 2/5Setup · easy

TLDR

LinkSwift is a Tampermonkey userscript that adds buttons to eight Chinese cloud storage sites so you can grab direct download URLs and hand them to tools like Aria2 or IDM.

Mindmap

mindmap
  root((LinkSwift))
    Inputs
      Cloud drive pages
      Logged-in session
    Outputs
      Direct download URLs
      Aria2 commands
      IDM handoff
    Use Cases
      Download from Baidu
      Download from Aliyun
      Download from Quark
    Tech Stack
      JavaScript
      Tampermonkey
      Userscript
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Pull a direct download URL from Baidu Netdisk and send it to Aria2

USE CASE 2

Use IDM or another download manager with files stored on Aliyun Drive

USE CASE 3

Batch download shared files from Quark Netdisk through a userscript-driven UI

USE CASE 4

Replace the official desktop client for one of the supported Chinese cloud drives

What is it built with?

JavaScriptTampermonkey

How does it compare?

hmjz100/linkswiftjosdejong/mathjspaperjs/paper.js
Stars15,01615,02815,033
LanguageJavaScriptJavaScriptJavaScript
Last pushed2026-05-122024-07-23
MaintenanceMaintainedStale
Setup difficultyeasyeasymoderate
Complexity2/52/53/5
Audiencegeneraldeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Needs Tampermonkey or a similar userscript manager installed in the browser first.

In plain English

LinkSwift is a userscript written in JavaScript that helps people get direct download links from eight Chinese cloud storage services: Baidu Netdisk, Aliyun Drive, China Mobile Cloud Drive, Tianyi Cloud, Xunlei Cloud Drive, Quark Netdisk, UC Netdisk, and 123 Cloud. A userscript is a small program that runs inside a browser through an extension such as Tampermonkey. Once installed, it adds buttons and options to the cloud storage web pages you already visit, so you can grab a download URL and hand it to your own download tool. The project is a modified fork of an earlier script called the Cloud Drive Direct Link Download Assistant, originally written by an author known as 油小猴. The README lists the source, the original repository, and notes that this version adds more features along with UI tweaks and support for several download clients such as Aria2 and IDM. The author is firm about what the script does and does not do. According to the README, all download links come from the public APIs that the cloud storage providers themselves expose. The project does not promise to bypass speed limits, and the author asks readers not to describe it that way. If a download happens to be fast, the README attributes that to network conditions or provider behavior rather than any cracking by the script. Installation links are given for several mirrors, including GitHub, Gitee, OpenUserJS, and ScriptCat, with both a stable release and a less stable canary build. The README also includes a long version history with dated entries describing fixes, adapter updates for changes on each cloud provider, and small UI improvements over time.

Copy-paste prompts

Prompt 1
Install Tampermonkey and LinkSwift in Chrome and walk me through grabbing a direct link from Baidu Netdisk
Prompt 2
Configure LinkSwift to hand off downloads to Aria2 running in Docker and verify a sample file
Prompt 3
Compare LinkSwift to the original 油小猴 script and list the cloud drives only LinkSwift supports
Prompt 4
Diagnose why LinkSwift stopped showing buttons on Quark Netdisk after a site update and how to recover
Prompt 5
Pick between the LinkSwift stable build and the canary build for daily use and explain the tradeoff

Frequently asked questions

What is linkswift?

LinkSwift is a Tampermonkey userscript that adds buttons to eight Chinese cloud storage sites so you can grab direct download URLs and hand them to tools like Aria2 or IDM.

What language is linkswift written in?

Mainly JavaScript. The stack also includes JavaScript, Tampermonkey.

How hard is linkswift to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is linkswift for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.