频道
下载
版本v0.4.1.0
API1.0.0
测试199 通过
下载
下面每个文件都是 v0.4.1.0 这个 Release 的附件 —— 链接由 GitHub API 读取,不是手写的。
v0.4.1.0 — 这一次发布
tagv0.4.1.0
published2026-11-03
assets20
total size6.3 MB
licenseMIT
requiresJVM 17+
apiv1.0.0
sourcegithub.com/jiayuxuan123/TurboDL
由 refresh_releases.py 从 GitHub API 读取;这一页上没有手写的链接或数字。
v0.4.1.0 —— 全部文件
java -jar turbodl-cli-all.jar <url> --json · 每个事件一行
{"type":"start","url":"https://example.com/image.iso","output":"image.iso"}
{"type":"timing","stage":"metadata","t_ms":184,"probe_ms":96,"resume":""}
{"type":"progress","state":"downloading","downloaded":222732288,"total":358411469,"percent":62,"speed":19503514,"connections":16,"eta_ms":7020}
{"type":"progress","state":"merging","downloaded":358411469,"total":358411469,"percent":100,"speed":0,"connections":0,"eta_ms":0}
{"type":"completed","url":"https://example.com/image.iso","file":"image.iso","bytes":358411469,"sha256":"0f3a…"}
{"type":"summary","total":1,"failed":0}Gradle 依赖
把该 Release 自带的 POM 装进本地 Maven 一次,之后按坐标依赖即可 —— 下面的离线包就是这些文件:
shell
# 1) unpack the offline bundle into ~/.m2/repository
# (or: unzip TurboDL-v0.4.1.0-mavenLocal.zip -d "$HOME/.m2/repository")
#
# 2) depend on it by coordinate / 按坐标依赖:
# implementation("dev.turbodl:turbodl-core:0.4.1.0")build.gradle.kts
dependencies {
// required / 必需
implementation("dev.turbodl:turbodl-core:0.4.1.0")
// optional plugins / 可选插件
implementation("dev.turbodl:turbo-plugin-runtime:0.4.1.0")
implementation("dev.turbodl:turbo-plugin-bootstrap:0.4.1.0")
implementation("dev.turbodl:turbo-plugin-hls:0.4.1.0")
implementation("dev.turbodl:turbo-plugin-js:0.4.1.0")
implementation("dev.turbodl:turbo-plugin-parser:0.4.1.0")
}离线包会装到哪
~/.m2/repository/dev/turbodl/turbodl-core/0.4.1.0<version>/turbodl-core-<version>.jar + .pom
~/.m2/repository/dev/turbodl/turbo-plugin-*/0.4.1.0one directory per plugin artifact
build.gradle.ktsimplementation("dev.turbodl:turbodl-core:0.4.1.0")
离线包就是一棵普通的仓库目录树:解到 ~/.m2/repository,Gradle 就能离线解析。
命令行
Release 里附带一个自包含的 CLI JAR,只要有 Java 17+ 就能跑 —— 不需要 Gradle,也不需要源码:
shell
java -jar turbodl-cli-all.jar <url> -o out.bin -c 64
java -jar turbodl-cli-all.jar <url> --json # NDJSON, script/agent friendly
java -jar turbodl-cli-all.jar --batch tasks.txt # one URL per line / 每行一个 URL退出码:0 成功 · 1 下载失败 · 2 用法错误。
值得记住的几个开关
-c, --connections1..256 · default 16
-l, --limitbytes per second, 0 = unlimited
-r, --retry0..50 per segment
-b, --batchone URL per line
--jsonNDJSON: start / timing / progress / completed / summary
--doh, --proxyDNS over HTTPS, or Direct / System / Manual / PAC
--no-tail-assist, --no-overlapturn the two endgame switches off
每个开关都对应 TurboConfig 里的一个字段 —— CLI 只是 SDK 的一层薄壳。