Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/biswaviraj/playt

Play or download youtube songs from terminal built using Node.js
https://github.com/biswaviraj/playt

cli node nodejs streaming-audio teminal-application youtube-dl youtube-player

Last synced: 24 days ago
JSON representation

Play or download youtube songs from terminal built using Node.js

Awesome Lists containing this project

README

        

# PlaYT

Stream or download youtube songs from terminal

## Description

- Playt is a CLI app written in Node.js
- It allows to stream or download audio from YouTube with in the Terminal by a simple command

**!! Note**: VLC is required to stream

## Commands

```shell
$ playt search "song name"
```

![Search](assets/playtDemo.png)

Searches for the song and returns a list of 10 matching songs.
Choose the one from the list by entering the number corresponding to it and it will stream as well as download the song into a folder named "playtSongs" in the Home directory.

If the song selected is already present in the "playtSongs" folder then it plays the offline/local file and doesn't download it again.

```shell
$ playt download "song name"
```

This command only downloads the selected song and doesn't play it through the terminal.