Skip to content
/ lisTUI Public

A simple music player for the terminal, written in Rust.

License

Notifications You must be signed in to change notification settings

gulis1/lisTUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

listTUI

A simple, easy to use music player for the terminal, written in rust. Currently it supports playing local and youtube playlists.

Installation

Using cargo

You can compile and install lisTUI using the following command.

cargo install listui

The following dependencies are needed to compile the app:

If you want to be able to play youtube playlists, please make sure you have yt-dlp and ffmpeg installed as well.

Manual installation

WIP

Usage

Play a playlist stored in your computer:

listui ~/Music/playlist1

Or a YouTube playlist:

listui "https://www.youtube.com/playlist?list=PLauaob2FukqdpQf4g4ph7kY3IHOr-BwzJ"

Or just launch the app and see all your saved playlists:

listui

Configuration

Currently lisTUI has only three configurable settings:

  • DATABASE_PATH: the path where the sqlite database will be stored.
  • DOWNLOAD_DIR: the directory where newly downloaded tracks will be stored.
  • YT_API_KEY: by default, lisTUI uses the API of various Invidious instances to fetch information about the requested playlists. If you want to use YouTube instead, you can get get you own API key and put it here.

lisTUI will look for the file ~/.config/listui.config and read the settings from there. Here's an example of listui.config file:

YT_API_KEY=some_key
DOWNLOAD_DIR=/home/user/Music/my_downloaded_songs

About

A simple music player for the terminal, written in Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages