Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zackradisic/lofi-cli
- Owner: zackradisic
- Created: 2020-01-23T03:43:36.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T20:39:05.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T12:54:11.506Z (3 months ago)
- Topics: audio, listen, livestream, lofi, lofi-cli
- Language: JavaScript
- Size: 10.6 MB
- Stars: 27
- Watchers: 2
- Forks: 4
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
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 mp3If 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)