/youget-gui-go

A gui written in Golang for you-get.

Primary LanguageGoMIT LicenseMIT

You-get GUI Golang

A GUI written in Golang for you-get.

Image

Usage

./youget-gui

Just like the picture above, input the video URL and click download,everything is easy!

How to build

Install dependencies

You should install Golang first, for example:

Debian

apt install golang-go

Arch

pacman -S golang

Then you must install you-get library via pip install.

pip install you-get

Clone

git clone https://github.com/DHWIDSA/youget-gui-go

Build

For Linux and MacOS users

Linux and MacOS:

Remove as follows in main.go download function:

	if runtime.GOOS == "windows" {
		cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
	}
go build

Others to Windows:

env CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 GOOS=windows go build -ldflags="-H windowsgui"

For Windows users

go build -ldflags="-H windowsgui"

Thanks laishulu who offers Sarasa-Mono-SC-Nerd font.