Aria2 RPC Compatibility
Let Aria2-compatible tools like LinkSwift push downloads to GD.
GD has a built-in Aria2 RPC compatibility service. Tools that support Aria2 RPC (such as LinkSwift) can push Tasks directly to it, without installing Aria2.
Enable
Settings → Aria2 RPC Compatible → enable. Remember the port (default 16800) and the token.
Using with LinkSwift
GD side
Settings → Aria2 RPC Compatible → enable, note the port and token.
LinkSwift side
Set the RPC address to:
http://127.0.0.1:16800/jsonrpcSet the token to: token:<your token>
Verify
On a supported cloud drive page, click the LinkSwift download button. Configuration succeeds when GD receives the Task.
Supported methods
| Method | Description |
|---|---|
aria2.addUri | Creates a Task (supports out, dir, header, user-agent, referer) |
aria2.getVersion | Returns the version number |
Other methods are not implemented.
Limitations
- Local access only (127.0.0.1)
- Does not support pausing/deleting/querying Task status via RPC
- When draft mode is enabled, RPC Tasks also go to the confirmation window