← Winnitude! Search  ·  Reader Mode (1584 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 135 LINKS

GitHub - GopeedLab/gopeed: A fast, modern download manager for HTTP, BitTorrent, Magnet, HlS(m3u8), FTP and ed2k. Cross-platform, built with Golang and Flutter.

Repository navigation

gopeed
Public

About

A fast, modern download manager for HTTP, BitTorrent, Magnet, HlS(m3u8), FTP and ed2k. Cross-platform, built with Golang and Flutter.

gopeed.com

Topics

android bittorrent cross-platform download-manger downloader downloadmanager ed2k flutter ftp golang hls-downloader http https ios m3u8-downloader macos magnet torrent ubuntu windows

Resources

Readme GPL-3.0 license

Contributing

Contributing Activity Custom properties

Stars

29.0k stars

Watchers

179 watching

Forks

1.9k forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


858 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.github .github    
_docs _docs    
_examples/ basic _examples/ basic    
bind bind    
cmd cmd    
internal internal    
pkg pkg    
ui/ flutter ui/ flutter    
.dockerignore .dockerignore    
.gitattributes .gitattributes    
.gitignore .gitignore    
CONTRIBUTING.md CONTRIBUTING.md    
CONTRIBUTING_ja-JP.md CONTRIBUTING_ja-JP.md    
CONTRIBUTING_vi-VN.md CONTRIBUTING_vi-VN.md    
CONTRIBUTING_zh-CN.md CONTRIBUTING_zh-CN.md    
CONTRIBUTING_zh-TW.md CONTRIBUTING_zh-TW.md    
Dockerfile Dockerfile    
LICENSE LICENSE    
README.md README.md    
README_ja-JP.md README_ja-JP.md    
README_vi-VN.md README_vi-VN.md    
README_zh-CN.md README_zh-CN.md    
README_zh-TW.md README_zh-TW.md    
docker-compose.yml docker-compose.yml    
entrypoint.sh entrypoint.sh    
go.mod go.mod    
go.sum go.sum    

Repository files navigation

Official Website · Extension Store · Download

English | 中文 | 日本語 | 正體中文 | Tiếng Việt

🚀 Introduction

Gopeed is a modern, high-speed download manager for desktop, mobile, and the web. It's free and open source, with support for HTTP, FTP, HLS, BitTorrent files, magnet links, and ed2k .

✨ Features

  • ⚡ High-speed downloads -- combine concurrent tasks, multi-connection HTTP transfers, and peer-to-peer BitTorrent downloads to make the most of your bandwidth.
  • 🧲 Multiple protocols -- download via HTTP/HTTPS, FTP/FTPS/FTPES, HLS, BitTorrent, magnet links, and ed2k. FTP supports files and directories. HLS downloads merge on-demand .m3u8 segments into a single playable file.
  • 🌱 Full-featured BitTorrent -- use DHT peer discovery, uTP transport, Web Seeds, selective file downloads, tracker management (including WebTorrent trackers), peer and piece statistics, and ratio- or time-based seeding limits.
  • 📋 Flexible task management -- pause, resume, retry, run batch operations, search, filter by status, organize with categories, and recover tasks after a restart.
  • 🪶 Lightweight native experience -- the main interface is rendered natively with Flutter. No Electron. No WebView shell. Enjoy a smaller footprint, lower overhead, and responsive performance.
  • 💻 Cross-platform -- available for Windows, macOS, Linux, Android, iOS, and the web, with Docker and QNAP deployment options.
  • 🎨 Customizable appearance -- follow your system theme or choose light or dark mode, with eight accent colors.
  • 📐 Responsive interface -- task lists, navigation, settings, and detail views adapt to phones, tablets, and resizable desktop windows.
  • 🗣️ Available in 20+ languages -- including English, Simplified and Traditional Chinese, Japanese, Korean, and many more.
  • 🌐 Browser integration -- send downloads from Chrome, Edge, Firefox, and other compatible browsers directly to Gopeed.
  • 🧩 JavaScript extensions -- add support for video platforms, AI model hubs, cloud storage services, and other download sources.
  • 🎬 Built-in FFmpeg -- JavaScript extensions can use the bundled WebAssembly runtime to merge separate video and audio tracks without re-encoding.
  • 🤖 AI integration -- use Gopeed's MCP endpoint to connect compatible AI agents and create, inspect, or manage downloads with natural language.
  • 🔌 Automation-ready -- integrate with Gopeed through its REST API, CLI, authenticated web UI, webhooks, and post-download scripts.
  • 🛠️ Built-in essentials -- customize headers and the User-Agent, use proxies and GitHub mirrors, receive notifications, and extract archives automatically.

🤖 AI Integration

Connect Gopeed to an AI agent and manage downloads with natural language. For example, you can say:

Download the latest Gopeed client for Windows.

Tool Description
resolve_task Resolve a download URL or URI and return its resource metadata and files before creating a task.
create_task Create and start a task from a resolved resource ID or a direct download request.
list_tasks List tasks, optionally filtering them by ID or status.
get_task Get the request, resource, options, and current progress for one task.
get_task_status Get lightweight runtime status and per-file progress for one task.
get_task_stats Get protocol-specific statistics, including HTTP connections or BitTorrent peers and seeding data.
pause_task Pause a task.
continue_task Continue a paused or failed task.
delete_task Delete a task, optionally deleting its downloaded files.
list_extensions, get_extension Inspect installed extensions, their versions, enabled state, and declared settings.
install_extension Install from a Git repository URL (optionally with #subdirectory) or an absolute development folder on the Gopeed host.
set_extension_enabled, update_extension_settings Enable or disable an extension, or change individual manifest settings.
check_extension_update, update_extension Check the manifest repository for an update and install it.
uninstall_extension Remove the extension and its stored data. Development source folders are kept.

For a local development install, build the extension if needed, then call install_extension with the absolute project directory as seen by Gopeed. For example, pass {"path":"/work/gopeed-extension-album"}. Pass {"url":"https://github.com/owner/repository#extensions/album"} for an extension in a Git repository.

After installation, use the returned identity with get_extension. For a resolver extension, call resolve_task on a sample URL and check the expected files.

⬇️ Download

🛠️ Command-line tool

Download gopeed-cli-v<version>-<platform>-<arch>.zip for your platform and run gopeed (gopeed.exe on Windows) inside the extracted folder. Intel Macs use macos-amd64 and Apple Silicon uses macos-arm64.

Use --webview-provider rpc to connect an extension to an external WebView service.

gopeed -D ./downloads https://example.com/demo.zip
gopeed resolve --extension ./my-extension https://example.com/page
gopeed --extension ./my-extension -D ./downloads --format json https://example.com/page
gopeed ext eval -e 'gopeed.host.env.version'

By default, downloads refresh the progress bar in place on stdout. The final line shows the saving directory on success or the reason on failure. Use resolve to preview filenames and sizes. Pass the directory containing a manifest to --extension to load it for one invocation. Downloads save all files returned by the extension in the same session.

All three commands accept --format json. A successful download writes one object to stdout, for example {"status":"completed","files":[{"path":"/downloads/demo.zip","relativePath":"demo.zip","size":1024}]}. Use the absolute path to read a saved file and size for its byte count. For files inside the output directory, relativePath gives the actual saved name and subdirectories with / separators on every platform. Resolve returns the resolved resource and eval returns the script value. A failed operation returns {"status":"failed","error":"..."} and exits with a nonzero status. In JSON mode, logs go to stderr. Add --verbose to see the progress bar on stderr during the download.

Pass --proxy http://127.0.0.1:7890 to route resolution, extension fetches and downloads through the same proxy. Run gopeed --help for settings, labels and WebView RPC options.

🔌 Browser Extension

Use the Gopeed browser extension to send downloads from Chrome, Edge, Firefox, and other compatible browsers directly to Gopeed: GopeedLab/browser-extension

📱 WeChat Official Account

Follow Gopeed's official WeChat account for updates and news.

💝 Donate

If Gopeed is useful to you, please consider supporting its development . Thank you!

👨‍💻 Development

The Flutter app lives in ui/flutter. Windows, macOS, and Linux call the Go core through Dart FFI. Android and iOS use platform channels and gomobile. Flutter Web uses the Go REST API, which native clients can also enable for external integrations.

🌍 Environment

  1. Go 1.27.4
  2. Flutter 3.41.6

📋 Clone

git clone git@github.com:GopeedLab/gopeed.git

🤝 Contributing

See CONTRIBUTING.md .

🏗️ Build

Desktop

Set up Flutter desktop development using the official Flutter desktop guide , and make sure a working C toolchain is available for cgo. Then run the commands for your platform.

Commands:

  • 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

Mobile

Mobile builds also require a working cgo toolchain. Install and initialize gomobile:

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

Commands:

  • Android
gomobile bind -tags nosqlite -ldflags="-w -s -checklinkname=0" -o ui/flutter/android/app/libs/libgopeed.aar -target=android -androidapi 21 -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

Build the web app and server:

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

❤️ Credits

👥 Contributors

🏢 JetBrains

📄 License

GPLv3

About

A fast, modern download manager for HTTP, BitTorrent, Magnet, HlS(m3u8), FTP and ed2k. Cross-platform, built with Golang and Flutter.

gopeed.com

Topics

android bittorrent cross-platform download-manger downloader downloadmanager ed2k flutter ftp golang hls-downloader http https ios m3u8-downloader macos magnet torrent ubuntu windows

Resources

Readme GPL-3.0 license

Contributing

Contributing Activity Custom properties

Stars

29.0k stars

Watchers

179 watching

Forks

1.9k forks Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages