Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/zackradisic/lofi-cli

Listen to ChilledCow's lofi hip-hop stream from the command line
https://github.com/zackradisic/lofi-cli

audio listen livestream lofi lofi-cli

Last synced: about 2 months ago
JSON representation

Listen to ChilledCow's lofi hip-hop stream from the command line

Awesome Lists containing this project

README

        

# lofi-cli
`npm install -g lofi-cli`

Plays ChilledCow's lofi hip-hop [livestream](https://www.youtube.com/watch?v=5qap5aO4i9A) from the terminal.

### Why?
If you're a student then you're likely listening to the ChilledCow lofi livesteam on YouTube while you study.

However, performance becomes an issue, especially if you have multiple browser tabs or programs running on your computer, because a lot of resources are allocated to other features involved with the browser.

lofi-cli simply streams only the audio from the livestream, and pipes it to your machine's output.

### Usage
After installation if you are on MacOS, you must run:
```
lofi-setup
```
Then lofi-cli is ready and whenever you wish to listen, you may open a terminal screen and run the following command:
```
lofi
```

### Prerequisites
* [ffmpeg](https://github.com/FFmpeg/FFmpeg) - for converting m4a audio files to mp3

If you are on MacOS then you must install [node-gyp](https://github.com/nodejs/node-gyp#readme):
```
npm install -g node-gyp
```

### OS Support
lofi-cli supports all platforms. OS specific problems will likely be related to the library used to play audio: [node-speaker](https://github.com/TooTallNate/node-speaker)