GopeedGopeed

Installation Instructions

Install Gopeed on Windows, macOS, Linux, Android, iOS, Web, Docker and the command line.

The following methods work on all platforms for quickly downloading Gopeed:

  1. Go to the official website to download, which will automatically select the corresponding version according to your operating system.
  2. Go to GitHub to download, and you can choose the corresponding version to download by yourself.

Platform-Specific Installation Guide

Windows

Windows has two distributions, one is a portable version, and the other is an installer version. The portable version does not need to be installed, just unzip it and run it. The installer version needs to be installed, and the installation process is the same as other software. You can choose according to your own preferences.

The file name of the portable version is: Gopeed-v1.x.x-windows-amd64-portable.zip

In addition to downloading directly, you can also install or upgrade Gopeed through package managers:

  • Scoop: A community-maintained command-line package manager for Windows. It's lightweight and flexible, doesn't require administrator privileges to install, and makes managing and updating software easy.

    scoop bucket add extras
    scoop install extras/gopeed
  • Winget: Microsoft's official package manager, deeply integrated with the Windows operating system.

    winget install -e --id monkeyWie.Gopeed

Firewall False Positive

In the Windows system, some antivirus software may falsely report Gopeed's two core components: host.exe for browser extension communication and updater.exe for application updates. To ensure that the browser extension can properly intercept download tasks and the application can update automatically, please add the Gopeed installation directory to the whitelist of your firewall or antivirus software.

Safe Download: Be sure to download Gopeed using the methods described in this document—either from the official website, the official GitHub repository, or through Scoop or Winget. Avoid using third-party sources to ensure the security of the software.

About False Positives: This may be related to the characteristics of applications compiled with Go language, and there is currently no good solution. In the future, we will consider migrating the components to Rust development to improve this issue.

Linux

In the Linux system, we provide both .deb and .AppImage packages for installation, so you can choose whichever works best for you. In addition, you can also install quickly using the following commands:

  • Flatpak

    flatpak install flathub com.gopeed.Gopeed
  • Snap

    sudo snap install gopeed

macOS

The macOS version provides a .dmg file, which can be installed by double-clicking. The installation package supports two architectures: intel and apple silicon.

Tips: If the macOS open failed, please execute the xattr -d com.apple.quarantine /Applications/Gopeed.app command in the terminal

Android

The Android version provides a .apk file, which can be downloaded and installed directly, and supports all CPU architectures.

iOS

Currently, only the .ipa file is provided for the iOS platform, which needs to be signed and installed by itself. It is recommended to use TrollStore for installation.

Why is it not listed on the App Store?

Because of Apple's review mechanism, BitTorrent protocol-related apps are not allowed to be listed.

Why is it not listed on TestFlight?

Because there is no money! The project is purely for love and power generation. If enough sponsorship can be obtained, it will be listed on TestFlight immediately. So please support us more. Open source is not easy. Thank you!

Web

If you need a remote download service, you can consider using the Web version. Gopeed provides Web versions for various platforms. You can download them according to your system and CPU architecture.

web

Here is an example of how to use the Web version on the Windows platform, and the usage on other platforms is similar.

  1. Download the Web version, and after decompression, you will get a folder. Put it where you want.

  2. Open the terminal in the root directory of the folder and execute ./gopeed.exe. If it runs successfully, you will see the following output:

       _______   ______   .______    _______  _______  _______
     /  _____| /  __  \  |   _  \  |   ____||   ____||       \
     |  |  __  |  |  |  | |  |_)  | |  |__   |  |__   |  .--.  |
     |  | |_ | |  |  |  | |   ___/  |   __|  |   __|  |  |  |  |
     |  |__| | |  `--'  | |  |      |  |____ |  |____ |  '--'  |
     \______|  \______/  | _|      |_______||_______||_______/
    
     Server start success on http://[::]:9999
  3. Open the browser and visit http://localhost:9999.

Web Configuration

The Web version supports configuration through command line parameters or configuration files. Command line parameters can be viewed through ./gopeed.exe -h:

$ ./gopeed.exe -h
Usage of C:\Users\levi\Downloads\gopeed-web-v1.3.13-windows-amd64\gopeed.exe:
  -A string
        Bind Address (default "0.0.0.0")
  -P int
        Bind Port (default 9999)
  -T string
        API token, that can only be used when basic authentication is enabled.
  -c string
        Config file path (default "./config.json")
  -d string
        Storage directory
  -p string
        HTTP Basic Auth Password
  -u string
        HTTP Basic Auth Username (default "gopeed")

It also supports configuration through configuration files. Create a config.json file in the root directory with the following content:

{
  "address": "",
  "port": 0,
  "username": "",
  "password": "",
  "apiToken": "",
  "storageDir": "",
  "whiteDownloadDirs": ["/root/downloads", "/root/dir/*", "/root/dir?abc"]
}

It also supports configuration through environment variables, with the rule GOPEED_ConfigKey, for example:

export GOPEED_ADDRESS="0.0.0.0"
export GOPEED_PORT="9999"
export GOPEED_USERNAME="gopeed"
export GOPEED_PASSWORD="xxx"
export GOPEED_APITOKEN=""
export GOPEED_STORAGEDIR=""
export GOPEED_WHITEDOWNLOADDIRS="/root/downloads,/root/dir/*,/root/dir?abc"

If you are deploying on a public IP, please ensure to enable identity authentication, otherwise there will be security risks.

Default Download Configuration

If you need to set the default download configuration when the server starts for the first time, you can add the downloadConfig field in config.json. For configuration details, please refer to DownloaderStoreConfig. Here is an example:

{
  "address": "127.0.0.1",
  "port": 9999,
  "downloadConfig": {
    "downloadDir": "d:/test"
  }
}

Docker

One line of command:

docker run --name gopeed -d -p 9999:9999 liwei2633/gopeed

Mount the download directory

docker run --name gopeed -d -p 9999:9999 \
    -v /path/to/download:/app/Downloads \
    liwei2633/gopeed

Mount the data directory

docker run --name gopeed -d -p 9999:9999 \
    -v /path/to/download:/app/Downloads \
    -v /path/to/storage:/app/storage liwei2633/gopeed

Specify container group ID and user ID

docker run --name gopeed -d -p 9999:9999 \
    -e PGID=100 \
    -e PUID=1000 \
    liwei2633/gopeed

If you need to enable identity authentication, you can pass environment variable parameters:

docker run --name gopeed -d -p 9999:9999 \
    -e GOPEED_USERNAME="admin" \
    -e GOPEED_PASSWORD="123" \
    -v /path/to/download:/app/Downloads \
    -v /path/to/storage:/app/storage \
    liwei2633/gopeed

Command Line

The command line version requires a Golang environment. If you don't have a Golang environment installed, you can refer to here for installation.

Installation command:

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

After installation, you can use the gopeed command to download. You can view the specific usage through gopeed -h:

$ gopeed -h
Usage of gopeed:
  -C int
        Concurrent connections. (default 16)
  -D string
        Store directory. (default "C:\\Users\\levi")

Command Line Usage Examples

Download an HTTP resource:

gopeed https://example.com/file.zip

Download a torrent file:

gopeed D:/Downloads/file.torrent

Download a magnet link:

gopeed magnet:?xt=urn:btih:xxxx

Download an ed2k link:

gopeed 'ed2k://|file|example.iso|123456789|0123456789ABCDEF0123456789ABCDEF|/'

On this page