## File: README.md

# [](https://gopeed.com)

[](https://github.com/GopeedLab/gopeed/actions?query=workflow%3Atest)
[](https://codecov.io/gh/GopeedLab/gopeed)
[](https://github.com/GopeedLab/gopeed/releases)
[](https://github.com/GopeedLab/gopeed/releases)
[](https://gopeed.com/docs/donate)
[](https://raw.githubusercontent.com/GopeedLab/gopeed/main/_docs/img/weixin.png)
[](https://discord.gg/ZUJqJrwCGB)

[](https://trendshift.io/repositories/7953)

[](https://ko-fi.com/R6R6IJGN6)

[English](/README.md) | [中文](/README_zh-CN.md) | [日本語](/README_ja-JP.md) | [正體中文](/README_zh-TW.md) | [Tiếng Việt](/README_vi-VN.md)

## 🚀 Introduction

Gopeed (full name Go Speed), a high-speed downloader developed by `Golang` + `Flutter`, supports (HTTP, BitTorrent, Magnet, ED2K) protocol, and supports all platforms. In addition to basic download functions, Gopeed is also a highly customizable downloader that supports implementing more features through integration with [APIs](https://gopeed.com/docs/dev-api) or installation and development of [extensions](https://gopeed.com/docs/dev-extension).

Visit ✈ [Official Website](https://gopeed.com) | 📖 [Official Docs](https://gopeed.com/docs)

## ⬇️ Download



| 🪟 Windows | `EXE` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-windows-amd64.zip) |
| --- | --- | --- | --- |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-windows-arm64.zip) |  |  |
| `Portable` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-windows-amd64-portable.zip) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-windows-arm64-portable.zip) |  |  |
| 🍎 MacOS | `DMG` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos.dmg) |
| amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos-amd64.dmg) |  |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos-arm64.dmg) |  |  |
| 🐧 Linux | `Flathub` | amd64 | [📥](https://flathub.org/apps/com.gopeed.Gopeed) |
| `SNAP` | amd64 | [📥](https://snapcraft.io/gopeed) |  |
| `DEB` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-amd64.deb) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-arm64.deb) |  |  |
| `AppImage` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-amd64.AppImage) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-arm64.AppImage) |  |  |
| 🤖 Android | `APK` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android.apk) |
| armeabi-v7a | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-armeabi-v7a.apk) |  |  |
| arm64-v8a | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-arm64-v8a.apk) |  |  |
| x86_64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-x86_64.apk) |  |  |
| 📱 iOS | `IPA` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-ios.ipa) |
| 🐳 Docker | - | universal | [📥](https://hub.docker.com/r/liwei2633/gopeed) |
| 💾 Qnap | `QPKG` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-$version-qnap-amd64.qpkg) |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-$version-qnap-arm64.qpkg) |  |  |
| 🌐 Web | `Windows` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-amd64.zip) |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-arm64.zip) |  |  |
| 386 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-386.zip) |  |  |
| `MacOS` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-macos-amd64.zip) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-macos-arm64.zip) |  |  |
| `Linux` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-amd64.zip) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-arm64.zip) |  |  |
| 386 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-386.zip) |  |  |



More about installation, please refer to [Installation](https://gopeed.com/docs/install)

### 🛠️ Command tool

use `go install`:

```bash
go install github.com/GopeedLab/gopeed/cmd/gopeed@latest
```

## 🔌 Browser Extension

Gopeed also provides a browser extension to take over browser downloads, supporting browsers such as Chrome, Edge, Firefox, etc., please refer to: [https://github.com/GopeedLab/browser-extension](https://github.com/GopeedLab/browser-extension)

## 📱 WeChat Official Account

Follow our WeChat Official Account to get the latest updates and news.



## 💝 Donate

If you like this project, please consider [donating](https://gopeed.com/docs/donate) to support the development of this project, thank you!

## 🖼️ Showcase



## 👨‍💻 Development

This project is divided into two parts, the front end uses `flutter`, the back end uses `Golang`, and the two sides communicate through the `http` protocol. On the unix system, `unix socket` is used, and on the windows system, `tcp` protocol is used.

> The front code is located in the `ui/flutter` directory.

### 🌍 Environment

1. Golang 1.25+
2. Flutter 3.38+

### 📋 Clone

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

### 🤝 Contributing

Please refer to [CONTRIBUTING.md](/CONTRIBUTING.md)

### 🏗️ Build

#### Desktop

First, you need to configure the environment according to the official [Flutter desktop website documention](https://docs.flutter.dev/development/platform-integration/desktop), then you will need to ensure the cgo environment is set up accordingly. For detailed instructions on setting up the cgo environment, please refer to relevant resources available online.

command:

- windows

```bash
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

```bash
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

```bash
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

Same as before, you also need to prepare the `cgo` environment, and then install `gomobile`:

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

command:

- android

```bash
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

```bash
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

command:

```bash
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
```

## ❤️ Credits

### 👥 Contributors

<a href="https://github.com/GopeedLab/gopeed/graphs/contributors">
  
</a>

### 🏢 JetBrains

[](https://www.jetbrains.com/?from=gopeed)

## 📄 License

[GPLv3](LICENSE)

---

## File: ui/flutter/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md

# Launch Screen Assets

You can customize the launch screen with your own desired assets by replacing the image files in this directory.

You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.

---

## File: README_ja-JP.md

# [](https://gopeed.com)

[](https://github.com/GopeedLab/gopeed/actions?query=workflow%3Atest)
[](https://codecov.io/gh/GopeedLab/gopeed)
[](https://github.com/GopeedLab/gopeed/releases)
[](https://github.com/GopeedLab/gopeed/releases)
[](https://gopeed.com/docs/donate)
[](https://raw.githubusercontent.com/GopeedLab/gopeed/main/_docs/img/weixin.png)
[](https://discord.gg/ZUJqJrwCGB)

[](https://trendshift.io/repositories/7953)

[](https://ko-fi.com/R6R6IJGN6)

[English](/README.md) | [中文](/README_zh-CN.md) | [日本語](/README_ja-JP.md) | [正體中文](/README_zh-TW.md) | [Tiếng Việt](/README_vi-VN.md)

## 🚀 はじめに

Gopeed (正式名 Go Speed) は `Golang` + `Flutter` によって開発された高速ダウンローダーで、(HTTP、BitTorrent、Magnet、ED2K) プロトコルをサポートし、すべてのプラットフォームをサポートします。基本的なダウンロード機能に加え、[APIs](https://gopeed.com/docs/dev-api)との連動や[拡張機能](https://gopeed.com/docs/dev-extension)のインストール・開発による追加機能にも対応した、カスタマイズ性の高いダウンローダーです。

見て下さい ✈ [公式ウェブサイト](https://gopeed.com) | 📖 [開発ドキュメント](https://gopeed.com/docs)

## ⬇️ インストール



| 🪟 Windows | `EXE` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-windows-amd64.zip) |
| --- | --- | --- | --- |
| `Portable` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-windows-amd64-portable.zip) |  |
| 🍎 MacOS | `DMG` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos.dmg) |
| amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos-amd64.dmg) |  |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos-arm64.dmg) |  |  |
| 🐧 Linux | `Flathub` | amd64 | [📥](https://flathub.org/apps/com.gopeed.Gopeed) |
| `SNAP` | amd64 | [📥](https://snapcraft.io/gopeed) |  |
| `DEB` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-amd64.deb) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-arm64.deb) |  |  |
| `AppImage` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-amd64.AppImage) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-arm64.AppImage) |  |  |
| 🤖 Android | `APK` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android.apk) |
| armeabi-v7a | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-armeabi-v7a.apk) |  |  |
| arm64-v8a | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-arm64-v8a.apk) |  |  |
| x86_64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-x86_64.apk) |  |  |
| 📱 iOS | `IPA` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-ios.ipa) |
| 🐳 Docker | - | universal | [📥](https://hub.docker.com/r/liwei2633/gopeed) |
| 💾 Qnap | `QPKG` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-$version-qnap-amd64.qpkg) |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-$version-qnap-arm64.qpkg) |  |  |
| 🌐 Web | `Windows` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-amd64.zip) |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-arm64.zip) |  |  |
| 386 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-386.zip) |  |  |
| `MacOS` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-macos-amd64.zip) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-macos-arm64.zip) |  |  |
| `Linux` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-amd64.zip) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-arm64.zip) |  |  |
| 386 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-386.zip) |  |  |


インストールについての詳細は、[インストール](https://gopeed.com/docs/install)を参照してください。

### 🛠️ コマンドツール

## 📱 WeChat 公式アカウント

公式アカウントをフォローして、最新のアップデートやニュースを入手してください。



## 💝 寄付

もしこのプロジェクトがお気に召しましたら、このプロジェクトの発展を支援するために[寄付](https://gopeed.com/docs/donate)をご検討ください！

## 🖼️ ショーケース



## 👨‍💻 開発

このプロジェクトは二つの部分に分かれており、フロントエンドでは `flutter` を、バックエンドでは `Golang` を使用し、両者は `http` プロトコルで通信する。ユニックスシステムでは `unix socket` を、ウィンドウズシステムでは `tcp` プロトコルを使用します。

> フロントコードは `ui/flutter` ディレクトリにあります。

### 🌍 環境

1. Go 言語 1.25+
2. Flutter 3.38+

### 📋 クローン

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

### 🤝 コントリビュート

[CONTRIBUTING.md](/CONTRIBUTING_ja-JP.md) をご参照ください

### 🏗️ ビルド

#### デスクトップ

まず、[flutter デスクトップ公式サイトドキュメント](https://docs.flutter.dev/development/platform-integration/desktop)に従って環境を設定し、自分で検索できる `cgo` 環境を用意します。

コマンド:

- windows

```bash
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

```bash
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

```bash
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` をインストールする必要があります:

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

コマンド:

- android

```bash
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

```bash
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

コマンド:

```bash
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
```

## ❤️ 感謝

### コントリビューター

<a href="https://github.com/GopeedLab/gopeed/graphs/contributors">
  
</a>

### JetBrains

[](https://www.jetbrains.com/?from=gopeed)

## ライセンス

[GPLv3](LICENSE)

---

## File: README_vi-VN.md

# [](https://gopeed.com)

[](https://github.com/GopeedLab/gopeed/actions?query=workflow%3Atest)
[](https://codecov.io/gh/GopeedLab/gopeed)
[](https://github.com/GopeedLab/gopeed/releases)
[](https://github.com/GopeedLab/gopeed/releases)
[](https://gopeed.com/docs/donate)
[](https://raw.githubusercontent.com/GopeedLab/gopeed/main/_docs/img/weixin.png)
[](https://discord.gg/ZUJqJrwCGB)

[](https://trendshift.io/repositories/7953)

[](https://ko-fi.com/R6R6IJGN6)

[English](/README.md) | [中文](/README_zh-CN.md) | [日本語](/README_ja-JP.md) | [正體中文](/README_zh-TW.md) | [Tiếng Việt](/README_vi-VN.md)

## 🚀 Giới thiệu

Gopeed (tên đầy đủ Go Speed), một công cụ tải xuống tốc độ cao được phát triển bởi `Golang` + `Flutter`, hỗ trợ giao thức (HTTP, BitTorrent, Magnet, ED2K) và hỗ trợ tất cả các nền tảng. Ngoài các chức năng tải xuống cơ bản, Gopeed còn là một công cụ tải xuống có thể tùy chỉnh cao cho phép triển khai thêm tính năng thông qua việc tích hợp với [APIs](https://gopeed.com/docs/dev-api) hoặc cài đặt và phát triển các [tiện ích mở rộng](https://gopeed.com/docs/dev-extension).

Truy cập ✈ [Trang web chính thức](https://gopeed.com) | 📖 [Tài liệu chính thức](https://gopeed.com/docs)

## ⬇️ Tải về



| 🪟 Windows | `EXE` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-windows-amd64.zip) |
| --- | --- | --- | --- |
| `Portable` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-windows-amd64-portable.zip) |  |
| 🍎 MacOS | `DMG` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos.dmg) |
| amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos-amd64.dmg) |  |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos-arm64.dmg) |  |  |
| 🐧 Linux | `Flathub` | amd64 | [📥](https://flathub.org/apps/com.gopeed.Gopeed) |
| `SNAP` | amd64 | [📥](https://snapcraft.io/gopeed) |  |
| `DEB` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-amd64.deb) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-arm64.deb) |  |  |
| `AppImage` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-amd64.AppImage) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-arm64.AppImage) |  |  |
| 🤖 Android | `APK` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android.apk) |
| armeabi-v7a | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-armeabi-v7a.apk) |  |  |
| arm64-v8a | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-arm64-v8a.apk) |  |  |
| x86_64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-x86_64.apk) |  |  |
| 📱 iOS | `IPA` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-ios.ipa) |
| 🐳 Docker | - | universal | [📥](https://hub.docker.com/r/liwei2633/gopeed) |
| 💾 Qnap | `QPKG` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-$version-qnap-amd64.qpkg) |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-$version-qnap-arm64.qpkg) |  |  |
| 🌐 Web | `Windows` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-amd64.zip) |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-arm64.zip) |  |  |
| 386 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-386.zip) |  |  |
| `MacOS` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-macos-amd64.zip) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-macos-arm64.zip) |  |  |
| `Linux` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-amd64.zip) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-arm64.zip) |  |  |
| 386 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-386.zip) |  |  |


Thêm thông tin về cài đặt, vui lòng tham khảo [Cài đặt](https://gopeed.com/docs/install)

### 🛠️ Công cụ lệnh

Sử dụng `go install`:

```bash
go install github.com/GopeedLab/gopeed/cmd/gopeed@latest
```

## 📱 WeChat Official Account

Theo dõi tài khoản chính thức để nhận các cập nhật và tin tức mới nhất.



## 💝 Quyên góp

Nếu bạn thích dự án này, xin vui lòng xem xét [quyên góp](https://gopeed.com/docs/donate) để hỗ trợ phát triển dự án này, cảm ơn bạn!

## 🖼️ Trưng bày



## 👨‍💻 Development

Dự án này được chia thành hai phần, phần giao diện sử dụng `flutter`, phần backend sử dụng `Golang`, và hai phía giao tiếp thông qua giao thức `http`. Trên hệ thống unix, sử dụng `unix socket`, và trên hệ thống windows, sử dụng giao thức `tcp`.

> Mã giao diện nằm trong thư mục `ui/flutter`.

### 🌍 Environment

1. Golang 1.25+
2. Flutter 3.38+

### 📋 Clone

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

### 🤝 Đóng góp

Vui lòng tham khảo [CONTRIBUTING_vi-VN.md](/CONTRIBUTING_vi-VN.md)

### 🏗️ Xây dựng

#### Desktop

Trước tiên, bạn cần cấu hình môi trường theo tài liệu chính thức của [Tài liệu trang web máy tính để bàn Flutter](https://docs.flutter.dev/development/platform-integration/desktop), sau đó bạn cần đảm bảo môi trường cgo được thiết lập đúng. Để biết hướng dẫn chi tiết về cách thiết lập môi trường cgo, vui lòng tham khảo các tài liệu tương ứng có sẵn trực tuyến.

command:

- windows

```bash
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

```bash
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

```bash
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

Giống như trước đây, bạn cũng cần chuẩn bị môi trường `cgo` và sau đó cài đặt `gomobile`:

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

command:

- android

```bash
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

```bash
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

command:

```bash
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
```

## ❤️ Tín dụng

### Người đóng góp

<a href="https://github.com/GopeedLab/gopeed/graphs/contributors">
  
</a>

### JetBrains

[](https://www.jetbrains.com/?from=gopeed)

## Giấy phép

[GPLv3](LICENSE)

---

## File: README_zh-CN.md

# [](https://gopeed.com)

[](https://github.com/GopeedLab/gopeed/actions?query=workflow%3Atest)
[](https://codecov.io/gh/GopeedLab/gopeed)
[](https://github.com/GopeedLab/gopeed/releases)
[](https://github.com/GopeedLab/gopeed/releases)
[](https://gopeed.com/docs/donate)
[](https://raw.githubusercontent.com/GopeedLab/gopeed/main/_docs/img/weixin.png)
[](https://discord.gg/ZUJqJrwCGB)

[](https://trendshift.io/repositories/7953)

[](https://ko-fi.com/R6R6IJGN6)

[English](/README.md) | [中文](/README_zh-CN.md) | [日本語](/README_ja-JP.md) | [正體中文](/README_zh-TW.md) | [Tiếng Việt](/README_vi-VN.md)

## 🚀 介绍

Gopeed（全称 Go Speed），直译过来中文名叫做`够快下载器`（不是狗屁下载器！），是一款由`Golang`+`Flutter`开发的高速下载器，支持（HTTP、BitTorrent、Magnet、ED2K）协议下载，并且支持全平台使用。除了基本的下载功能外，Gopeed 还是一款高度可定制化的下载器，支持通过对接[APIs](https://gopeed.com/docs/dev-api)或者安装和开发[扩展](https://gopeed.com/docs/dev-extension)来实现更多的功能。

访问 ✈ [官方网站](https://gopeed.com/zh-CN) | 📖 [官方文档](https://gopeed.com/docs)

## ⬇️ 下载



| 🪟 Windows | `EXE` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-windows-amd64.zip) |
| --- | --- | --- | --- |
| `Portable` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-windows-amd64-portable.zip) |  |
| 🍎 MacOS | `DMG` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos.dmg) |
| amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos-amd64.dmg) |  |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos-arm64.dmg) |  |  |
| 🐧 Linux | `Flathub` | amd64 | [📥](https://flathub.org/apps/com.gopeed.Gopeed) |
| `SNAP` | amd64 | [📥](https://snapcraft.io/gopeed) |  |
| `DEB` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-amd64.deb) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-arm64.deb) |  |  |
| `AppImage` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-amd64.AppImage) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-arm64.AppImage) |  |  |
| 🤖 Android | `APK` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android.apk) |
| armeabi-v7a | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-armeabi-v7a.apk) |  |  |
| arm64-v8a | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-arm64-v8a.apk) |  |  |
| x86_64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-x86_64.apk) |  |  |
| 📱 iOS | `IPA` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-ios.ipa) |
| 🐳 Docker | - | universal | [📥](https://hub.docker.com/r/liwei2633/gopeed) |
| 💾 Qnap | `QPKG` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-$version-qnap-amd64.qpkg) |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-$version-qnap-arm64.qpkg) |  |  |
| 🌐 Web | `Windows` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-amd64.zip) |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-arm64.zip) |  |  |
| 386 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-386.zip) |  |  |
| `MacOS` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-macos-amd64.zip) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-macos-arm64.zip) |  |  |
| `Linux` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-amd64.zip) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-arm64.zip) |  |  |
| 386 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-386.zip) |  |  |


更多关于安装的内容请参考[安装文档](https://gopeed.com/docs/install)

### 🛠️ 命令行工具

使用`go install`安装：

```bash
go install github.com/GopeedLab/gopeed/cmd/gopeed@latest
```

## 🔌 浏览器扩展

Gopeed 还提供了浏览器扩展用于接管浏览器下载，支持 Chrome、Edge、Firefox 等浏览器，具体请参考：[https://github.com/GopeedLab/browser-extension](https://github.com/GopeedLab/browser-extension)

## 📱 微信公众号

关注公众号获取项目最新动态和资讯。



## 💝 赞助

如果觉得项目对你有帮助，请考虑[赞助](https://gopeed.com/docs/donate)以支持这个项目的发展，非常感谢！

## 🖼️ 界面展示



## 👨‍💻 开发

本项目分为前端和后端两个部分，前端使用`flutter`，后端使用`Golang`，两边通过`http`协议进行通讯，在 unix 系统下，使用的是`unix socket`，在 windows 系统下，使用的是`tcp`协议。

> 前端代码位于`ui/flutter`目录下。

### 🌍 环境要求

1. Golang 1.25+
2. Flutter 3.38+

### 📋 克隆项目

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

### 🤝 贡献代码

请参考[贡献指南](CONTRIBUTING_zh-CN.md)

### 🏗️ 编译

#### 桌面端

首先需要按照[flutter desktop 官网文档](https://docs.flutter.dev/development/platform-integration/desktop)进行环境配置，然后需要准备好`cgo`环境，具体可以自行搜索。

构建命令：

- windows

```bash
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

```bash
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

```bash
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`：

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

构建命令：

- android

```bash
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

```bash
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 端

构建命令：

```bash
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
```

## ❤️ 感谢

### 贡献者

<a href="https://github.com/GopeedLab/gopeed/graphs/contributors">
  
</a>

### JetBrains

[](https://www.jetbrains.com/?from=gopeed)

## 开源许可

基于 [GPLv3](LICENSE) 协议开源。

---

## File: README_zh-TW.md

# [](https://gopeed.com)

[](https://github.com/GopeedLab/gopeed/actions?query=workflow%3Atest)
[](https://codecov.io/gh/GopeedLab/gopeed)
[](https://github.com/GopeedLab/gopeed/releases)
[](https://github.com/GopeedLab/gopeed/releases)
[](https://gopeed.com/docs/donate)
[](https://raw.githubusercontent.com/GopeedLab/gopeed/main/_docs/img/weixin.png)
[](https://discord.gg/ZUJqJrwCGB)

[](https://trendshift.io/repositories/7953)

[](https://ko-fi.com/R6R6IJGN6)

[English](/README.md) | [中文](/README_zh-CN.md) | [日本語](/README_ja-JP.md) | [正體中文](/README_zh-TW.md) | [Tiếng Việt](/README_vi-VN.md)

## 🚀 簡介

Gopeed（全稱 Go Speed），是一款使用`Golang`+`Flutter`編寫的高速下載軟體，支援（HTTP、BitTorrent、Magnet、ED2K）協定，同時支援所有的平台。

前往 ✈ [主頁](https://gopeed.com/zh-CN) | 📖 [文檔](https://gopeed.com/docs)

## ⬇️ 下載



| 🪟 Windows | `EXE` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-windows-amd64.zip) |
| --- | --- | --- | --- |
| `Portable` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-windows-amd64-portable.zip) |  |
| 🍎 MacOS | `DMG` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos.dmg) |
| amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos-amd64.dmg) |  |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-macos-arm64.dmg) |  |  |
| 🐧 Linux | `Flathub` | amd64 | [📥](https://flathub.org/apps/com.gopeed.Gopeed) |
| `SNAP` | amd64 | [📥](https://snapcraft.io/gopeed) |  |
| `DEB` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-amd64.deb) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-arm64.deb) |  |  |
| `AppImage` | amd64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-amd64.AppImage) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-linux-arm64.AppImage) |  |  |
| 🤖 Android | `APK` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android.apk) |
| armeabi-v7a | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-armeabi-v7a.apk) |  |  |
| arm64-v8a | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-arm64-v8a.apk) |  |  |
| x86_64 | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-android-x86_64.apk) |  |  |
| 📱 iOS | `IPA` | universal | [📥](https://gopeed.com/api/download?tpl=Gopeed-$version-ios.ipa) |
| 🐳 Docker | - | universal | [📥](https://hub.docker.com/r/liwei2633/gopeed) |
| 💾 Qnap | `QPKG` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-$version-qnap-amd64.qpkg) |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-$version-qnap-arm64.qpkg) |  |  |
| 🌐 Web | `Windows` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-amd64.zip) |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-arm64.zip) |  |  |
| 386 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-windows-386.zip) |  |  |
| `MacOS` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-macos-amd64.zip) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-macos-arm64.zip) |  |  |
| `Linux` | amd64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-amd64.zip) |  |
| arm64 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-arm64.zip) |  |  |
| 386 | [📥](https://gopeed.com/api/download?tpl=gopeed-web-$version-linux-386.zip) |  |  |



更多關於安裝的內容請參考[安裝文檔](https://gopeed.com/docs/install)

### 🛠️ 使用 CLI 安裝

使用`go install`安裝：

```bash
go install github.com/GopeedLab/gopeed/cmd/gopeed@latest
```

## 📱 微信公眾號

關注公眾號獲取項目最新動態和資訊。



## 💝 贊助

如果你認為該項目對你有所幫助，請考慮[贊助](https://gopeed.com/docs/donate)以支持該項目的持續發展，謝謝！

## 🖼️ 軟體介面



## 👨‍💻 開發

該項目分為前端與後端，前端使用`flutter`編寫，後端使用`Golang`編寫，兩邊通過`http`協定進行通訊，在 unix 系統下，則使用`unix socket`，在 windows 系統下，則使用`tcp`協定。

> 前端代碼位於`ui/flutter`目錄內。

### 🌍 開發環境

1. Golang 1.25+
2. Flutter 3.38+

### 📋 克隆項目

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

### 🤝 協助開發

請參考[協助指南](CONTRIBUTING_zh-TW.md)

### 🏗️ 編譯

#### 桌面端

首先需要按照[flutter desktop 官方文檔](https://docs.flutter.dev/development/platform-integration/desktop)配置開發環境，並準備好`cgo`環境，具體方法可以自行搜索。

組建指令：

- windows

```bash
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

```bash
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

```bash
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`：

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

組建指令：

- android

```bash
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

```bash
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
```

#### 網頁端

組建指令：

```bash
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
```

## ❤️ 感謝

### 貢獻者

<a href="https://github.com/GopeedLab/gopeed/graphs/contributors">
  
</a>

### JetBrains

[](https://www.jetbrains.com/?from=gopeed)

## 軟體許可

該軟體遵循 [GPLv3](LICENSE) 。