Gopeed:一款支持全平台的开源且免费下载器

Windows1个月前发布 Dodo
43 0

软件简介

Gopeed(全称 Go Speed),直译过来中文名叫做够快下载器,是一款由 Golang + Flutter 开发的高速下载器,支持(HTTP、BitTorrent、Magnet)协议下载,并且支持所有平台使用,支持的平台有:

  •  Windows
  •  Macos
  •  Linux
  •  Android
  •  iOS
  •  Web
  •  Docker
  •  命令行
Gopeed:一款支持全平台的开源且免费下载器

基本功能

  • HTTP & HTTPS 多协程下载
  • Torrent & Magnet 下载
  • 每日自动更新 tracker 列表
  • Seed, DHT, PEX, uTP, Webtorrent, Upnp
  • 国际化
  • 暗黑主题

高级特性

除了基础的下载功能外,还有很多高级特性,让 Gopeed 可玩性更高。

  • 对外开放 HTTP 接口通过 RESTFul API 可以很方便的与 Gopeed 进行交互,比如你可以通过 API 来控制 Gopeed 的下载、暂停、删除等等。
  • 去中心化的扩展设计可以通过JavaScript编写扩展来增强 Gopeed 的下载功能,比如下载某个网站的视频,或者下载某个网站的音乐等等。

编译

桌面端

首先需要按照flutter desktop 官网文档进行环境配置,然后需要准备好cgo环境,具体可以自行搜索。

构建命令:

  • windows
go build -tags nosqlite -ldflags="-w -s" -buildmode=c-shared -o ui/flutter/windows/libgopeed.dll github.com/GopeedLab/gopeed/bind/desktop
cd ui/flutter
flutter build windows
  • macos
go build -tags nosqlite -ldflags="-w -s" -buildmode=c-shared -o ui/flutter/macos/Frameworks/libgopeed.dylib github.com/GopeedLab/gopeed/bind/desktop
cd ui/flutter
flutter build macos
  • linux
go build -tags nosqlite -ldflags="-w -s" -buildmode=c-shared -o ui/flutter/linux/bundle/lib/libgopeed.so github.com/GopeedLab/gopeed/bind/desktop
cd ui/flutter
flutter build linux

移动端

同样的也是需要准备好cgo环境,接着安装gomobile

go install golang.org/x/mobile/cmd/gomobile@latest
go get golang.org/x/mobile/bind
gomobile init

构建命令:

  • Android
gomobile bind -tags nosqlite -ldflags="-w -s" -o ui/flutter/android/app/libs/libgopeed.aar -target=android -androidapi 19 -javapkg="com.gopeed" github.com/GopeedLab/gopeed/bind/mobile
cd ui/flutter
flutter build apk
  • ios
gomobile bind -tags nosqlite -ldflags="-w -s" -o ui/flutter/ios/Frameworks/Libgopeed.xcframework -target=ios github.com/GopeedLab/gopeed/bind/mobile
cd ui/flutter
flutter build ios --no-codesign

Web 端

构建命令:

cd ui/flutter
flutter build web
cd ../../
rm -rf cmd/web/dist
cp -r ui/flutter/build/web cmd/web/dist
go build -tags nosqlite,web -ldflags="-s -w" -o bin/ github.com/GopeedLab/gopeed/cmd/web

软件下载

运行平台安装包类型下载链接
WindowsEXE Installer前往
Portable ZIP前往
MacOSDMG Installer前往
LinuxFlathub前往
SNAP前往
DEB前往
AppImage前往
AndroidAPK前往
iOSIPA前往
Web前往
Docker前往

更多优质软件

https://www.dododh.com

© 版权声明

相关文章

暂无评论

none
暂无评论...