| Crates.io | surge |
| lib.rs | surge |
| version | 0.2.0 |
| created_at | 2017-05-31 13:37:04.527502+00 |
| updated_at | 2017-08-19 18:51:42.413347+00 |
| description | cli/daemon for music |
| homepage | |
| repository | https://github.com/sevagh/surge |
| max_upload_size | |
| id | 17046 |
| size | 26,743 |
Command-line YouTube-based music player. System dependencies:
* youtube-dl
* libmpv
* A valid YouTube api key
You must run surge with the YouTube API key as the first (and only) argument:
alias surge='surge $(cat ~/yt_api_key)'
search populates a Vec of 5 current resultscycle cycles throughplay <selection> plays the selection immediatelyqueue <selection> queues the selectionrelated populates the Vec with 5 related videospause/play pauses and resumesstop stops the player and clears the queueloop toggles loop modeSurge uses rustyline which is a pure-Rust implementation of GNU Readline. It supports command history and other readline goodies: