Overview of Gopeed
mainGolang and Flutter. It supports HTTP, BitTorrent, and Magnet protocols across all major platforms. The project is highly customizable, supporting integration with APIs and the installation or development of extensions.repository·main·Indexed 27 days ago
https://github.com/ltaoo/wx_channels_downloadA lightweight WeChat Channels video downloader for macOS and Windows. It integrates with the WeChat PC client to enable direct video downloads in various qualities and provides tools to parse sharing links. The project includes a CLI for downloading and decrypting videos, a Cloudflare Workers implementation for an Official Account API, and integration with the Gopeed download tool.
Golang and Flutter. It supports HTTP, BitTorrent, and Magnet protocols across all major platforms. The project is highly customizable, supporting integration with APIs and the installation or development of extensions.The wx_channels_download project (微信视频号下载器) is a tool designed for one-click downloading of WeChat Channels content. It is cross-platform (supporting macOS and Windows), lightweight (approximately 8MB), and easy to use via direct interaction on the video page. It also provides WeChat Channels data interfaces for developers to implement custom functionality.
To get started, navigate to the Quickstart guide.
Building for desktop requires a configured Flutter environment and a properly set up cgo environment.
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 windowsgo 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 macosgo 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 linuxwx_video_download.exe to run it. On the first use, the application will automatically install the necessary certificates and configure the system proxy.Clash or Sing-box, you can prevent the downloader from setting a system-wide proxy and instead route traffic through your proxy software by setting proxy.system=false in your config.yaml. This allows you to manage traffic forwarding via Clash manually.To build the desktop version, you must configure your environment according to the official Flutter desktop documentation and ensure a cgo environment is ready.
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 windowsmacOS:
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 macosLinux:
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 linuxTo build the web version, use the following commands to build the Flutter web assets and then compile the Go backend:
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/webTo build the desktop version, you must first configure your environment according to the Flutter desktop platform integration guide and ensure cgo is correctly set up. The build process involves building the Go backend as a shared library and then building the Flutter UI.
# 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 linuxLocal builds are required if you need to modify the Dockerfile, debug image contents, or if the official image is unavailable. You must provide a WeChatLinux_arm64.deb file.
Build with custom parameters:
WECHAT_DEB: Path to the .deb file.IMAGE: Desired image name/tag.CONFIG_FILE: Path to a custom config.yaml.GLOBAL_SCRIPT: Path to a custom global.js script.WECHAT_DEB=/path/to/WeChatLinux_arm64.deb \
IMAGE=wx_video_download:v260607 \
bash scripts/build-webtop-image.shTo download a live stream from a WeChat Channels page, ensure you have ffmpeg installed on your system.
ffmpeg command in the terminal/console.When configuring custom certificates, follow these rules to ensure they are applied correctly:
cert.name is used to detect if the certificate is already installed in the system certificate store for identification and uninstallation.Starting from version 251226, downloading MP3 files requires either a local installation of ffmpeg or a configuration change to perform conversion in the frontend.
To avoid installing ffmpeg locally, set download.frontend to true in your configuration file. This enables frontend-based conversion.