In one line: share pages preview fine, but large files often stall—clients and mystery CLI snippets get recommended, yet few guides explain getting a direct link in the browser in a few steps. This walkthrough follows real usage: what LinkSwift does, how it pairs with Tampermonkey, what to click on a share page after install, and what to watch when handing links to Aria2 or IDM.
What LinkSwift is
LinkSwift is an open-source UserScript maintained by hmjz100, forked from the classic “cloud direct-link assistant.” It is not a standalone browser extension; it runs inside Tampermonkey (or similar) and injects a download assistant on supported drive sites.
It resolves download URLs for files you select using each provider’s public web APIs, then copies links or pushes them to local download tools. Whether a share allows direct download or requires “save to my drive” first depends on that provider’s rules—the script hides or downgrades actions when direct download is not allowed.
Features: eight drives and typical workflows
README coverage includes Baidu Netdisk, Aliyun Drive, China Mobile Cloud, Tianyi Cloud, Xunlei Cloud, Quark, UC Drive, and 123 Pan. Compared with the original assistant, LinkSwift usually adds:
- Direct URLs from share pages or file lists, including batch copy.
- Multiple hand-offs: in-browser API download, cURL, Aria2/Motrix RPC, IDM push (menu items vary by version).
- UI polish: theming, dark mode, optional page cleanup (toggle in settings).
- Batch selection where the site API allows it.
Two-step browser setup
“Install in the browser and go” really means manager first, script second—Chrome, Edge, and Firefox all work.
- Install Tampermonkey from your browser’s extension store and enable it.
- Install LinkSwift from the project install section (use Gitee or ScriptCat mirrors if GitHub is slow). Confirm the install prompt in Tampermonkey.
- Verify the script is enabled and matches the drive domains you use.
Getting direct links on a share page
- Open the share in a desktop browser (many mobile WebViews block UserScripts).
- Enter the extraction code if required.
- Select files (folders depend on drive + script version).
- Click the injected download assistant.
- Pick API download, copy all links, or push to Aria2/IDM.
- If prompted to save to your drive first, the share policy blocks direct links—save, then retry from your own files view.
After the link: API, Aria2, IDM, cURL
LinkSwift obtains URLs; bandwidth and disk use belong to your downloader. Links often expire and may need correct Referer/Cookie—use them quickly. Large jobs belong on Aria2 with stable RPC (NAS or a always-on cloud Mac), not dozens of browser tabs.
Compliance and common myths
The authors state links come from public APIs and that the script does not advertise speed-limit bypass. Speed depends on membership, ISP, and platform policy. Download only content you are allowed to fetch; follow Releases when a drive redesign breaks the UI.
FAQ
No download button after install?
Check Tampermonkey enable state, @match URLs, and conflicting scripts or ad blockers.
Replace the official client?
No—it supplements the web UI; login and authorization still happen in the browser.
Share page errors on Tianyi or Xunlei?
Update to the latest release; check GitHub Issues for page-specific breakages.
ZavCloud Developer Infrastructure
Once links go to Aria2, the downloader should stay online
Laptops sleep; RPC tasks stall mid-file.
A dedicated macOS node can run Motrix/Aria2 24/7 while you keep using LinkSwift in the browser.