Skip to content
项目

关于

用 Rust 编写的简易 yt-dlp 图形界面

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

ytdlp-gui

a GUI for yt-dlp written in Rust

Preview

image image

Installation

Linux

NixOS (Flake)

you can use the flake.nix in the repo

in your flake.nix:

{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";

    ytdlp-gui = {
      url = "github:bksalman/ytdlp-gui";
    };
  };

    outputs = { nixpkgs, ytdlp-gui, ...}:
    let
      system = "x86_64-linux";

      pkgs = import nixpkgs {
        inherit system;
        overlays = [
          ytdlp-gui.overlay
        ];
      };
    in
    {
      ...snip

then you can add it as a normal package, either to your home-manager or nixosConfiguration

Fedora

download the rpm package from the releases page then install it with sudo dnf localinstall <rpm_package_name>

Ubuntu

download the deb package from the releases page then install it with sudo apt install ./<deb_package_name>

Arch

Available in the AUR ytdlp-gui

other distributions

1- download yt-dlp

either

      a- from your distribution repo

      b- or download the binary, then move it to your bin directory, and make it an executable by running chmod +x <bin_file>

2- download ffmpeg or ffmpeg-free from your distribution repos

3- download the ytdlp-gui binary from the realeases page

Windows

just download the zip file from the releases page, extract it in a subfolder and start the ytdlp-gui.exe

Build from source

to build from source you need to have cargo and rustc, you can install them through rustup (rust toolchain manager), or from your distribution repos, whatever you like

after that run the following commands:

# clone the repository to "ytdlp-gui" folder
git clone https://github.com/BKSalman/ytdlp-gui
# enter the folder
cd ytdlp-gui
# you can either build the project using this
cargo build
# or build it in release mode for better performance
cargo build -r

then the binary will be either in <project-root>/target/debug/ytdlp-gui or <project-root>/target/release/ytdlp-gui

and you can either run it directly:

# from project root
./target/release/ytdlp-gui

or using cargo:

cargo r
# or for release mode
cargo r -r

Configuration

Since v3.0.0 the application has a settings tab which will contain the settings that the user will most likely want to configure

The settings are located in <config_dir>/ytdlp-gui/config.toml

Note: the quality/format options get automatically saved when pressing the download button

Contribution

All contribution forms are welcomed, whether it's Pull requests, Issues (bug reports/enhancement requests)

However, I might not be quick to reply to them, or implement the requested stuff

But I will do my best 👍

探索相关项目

加载中…