Skip to content

Latest commit

 

History

History
133 lines (106 loc) · 3.37 KB

README.md

File metadata and controls

133 lines (106 loc) · 3.37 KB

twc

vods

Overview

TWC is a TUI application that allows you to watch 🍿 VODs and live streams from your favorite streamers of Kick Description, YouTube Description, and Twitch Description. Upon launching 🚀 , you'll be greeted with a menu displaying a list of channels 📺, enabling you to view previous streams ⏪ or watch their current live broadcasts 📡 in a local video player 🎬, along with the official pop-out chat 🗨 or a custom chat client 💬.

Installation

requirements

mpv this is optional; mpv is the default player of the application but you can specify another video player in the config
sudo apt install mpv -y
sudo pacman -S mpv --noconfirm
yt-dlp -nightly version recommended-

first install pipx:

sudo apt install pipx -y
sudo pacman -S python-pipx --needed --noconfirm

then run:

pipx install yt-dlp[default,curl_cffi]
pipx runpip yt-dlp install --pre --force yt-dlp[default,curl_cffi]
stealth-cli (for kick support)
sudo apt install npm -y
sudo apt install libnss3 -y
npm config set prefix '~/.local'
npm install -g 'https://github.com/rodrigo-sys/stealth-cli'
sudo pacman -S npm --needed --noconfirm
npm config set prefix '~/.local'
npm install -g 'https://github.com/rodrigo-sys/stealth-cli'
go
sudo apt install golang -y
sudo pacman -S go --noconfirm

the program

git clone 'https://github.com/rodrigo-sys/twc' /tmp/twc
(cd /tmp/twc ; go build -o ~/.local/bin/twc main.go)

Usage

twc # to open the user interface

navigation
j next item
k previous item
l select current item
h go back to main menu

current behaviour
when you select an item

  • If the channel is live, it will open the stream in mpv and the chat in the official pop-out.
  • If the channel is offline, it will open a menu displaying their VODs.

flags

Usage of twc:
  -e	open channels file in default text editor
  -o string
    	open channel
  -v string
    	view vods of channel

examples:

twc -o 'Markiplier youtube' # open live stream
twc -v 'Ninja twitch' # open VODs menu

# you can omit the platform if the channels is in your channels file
twc -o xQc 
twc -v Asmongold

Files

config: "$HOME/.config/twc/config.env"
channels: "$HOME/.config/twc/channels"

🚧 Work in Progress 🚧

This README is still being developed. Please check back later for more information.