基于Java、JavaFX开发的下载工具,支持下载协议:BT(BitTorrent、磁力链接、种子文件)、HLS(M3U8)、FTP、HTTP。
项目 | 描述 |
---|---|
snail | 下载核心 |
snail-javafx | 电脑界面 |
电脑界面只是方便操作,下载核心包含所有下载协议,可以完全独立使用。
mvn clean package -P release -D skipTests
推荐使用Release编译
java -server -Xms128m -Xmx256m -jar snail.javafx-{version}.jar
<dependency>
<groupId>com.acgist</groupId>
<artifactId>snail</artifactId>
<version>{release.version}</version>
</dependency>
final Snail snail = SnailBuilder.getInstance()
.enableAllProtocol()
.buildSync();
// BT任务需要注册文件选择事件
// GuiContext.register(new MultifileEventAdapter());
snail.download("https://www.acgist.com");
snail.lockDownload();
项目 | 许可 |
---|---|
slf4j | MIT |
JavaFX | GPLv2 + CE |
OpenJDK | GPLv2 + CE |
GITEE:https://gitee.com/acgist/snail
GITHUB:https://github.com/acgist/snail
谢谢!