Giter VIP home page Giter VIP logo

rs-youtube's Introduction

rs-youtube

(Mirrored to github from Codeberg)

Command line YouTube/Twitch client that uses the web api so no login or API key is needed.

  • Requires mpv and youtube-dl, or another video player capable of loading videos from YouTube/Twitch links (e.g. celluloid, even a web browser would work)

Installation

  1. Make sure your video player is installed and is accessible by typing its name via command line (Typing mpv should print a help screen, for example)

  2. Install Rust (using rustup)

  3. Install using cargo

cargo install rs-youtube

Compilation

  1. Make sure your video player is installed and is accessible by typing its name via command line (Typing mpv should print a help screen, for example)

  2. Install Rust (using rustup)

  3. Clone and run the project using cargo

git clone https://codeberg.org/j0/rs-youtube
cd rs-youtube
cargo install --path .
rs-youtube(.exe)

Configuration

This program will create a config file the first time it reads config (checking subscriptions or checking video player) in one of these directories:

  • Linux: /home/USER/.config/rs-youtube/config.toml
  • Windows: C:\Users\USER\AppData\Roaming\j0lol\rs-youtube\config\config.toml
  • macOS: /Users/USER/Library/Application Support/com.j0lol.rs-youtube/config.toml

If you would like to edit the config, refer to the config.toml.default file.

The config file defaults to loading mpv, and will have 0 subscriptions. You can subscribe to a channel by searching for its channel page, then picking the "sub" option.

Screenshots

Main menu

image

Youtube search

image

Youtube channel

image

Youtube subscription feed

image

Twitch channel search

image

Twitch channel view

image

Twitch follow feed

image

Testing

  • rs-youtube has been thoroughly tested on linux, and somewhat tested on Windows and macOS

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.