https://github.com/b-coimbra/mpvtube
Terminal and web utility to browse youtube and play videos with mpv
https://github.com/b-coimbra/mpvtube
Last synced: about 2 months ago
JSON representation
Terminal and web utility to browse youtube and play videos with mpv
- Host: GitHub
- URL: https://github.com/b-coimbra/mpvtube
- Owner: b-coimbra
- Created: 2018-01-21T17:58:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-02T02:39:35.000Z (over 7 years ago)
- Last Synced: 2025-01-28T17:22:11.816Z (4 months ago)
- Language: CSS
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mpvtube
Basically just a youtube scraper that runs on a page and pipes the video url to mpv.## Requirements
- [Ruby](https://www.ruby-lang.org/en/) `~2.2.4`
- [mpv](https://github.com/mpv-player/mpv)
- [youtube-dl](https://rg3.github.io/youtube-dl/)##### Gems
- [sinatra](https://github.com/sinatra/sinatra)
- [eat](https://github.com/seamusabshere/eat)## Usage
On the root of the project, run: `ruby app.rb` and go to `tcp://localhost:4567` on your browser.Press `s` on the page to bring up the search input.
## TODOs
- [ ] Add 'playing' state when opening video
- [ ] Add paginating (maximum videos to display)
- [ ] Pipe mpv info into page### Preview
[Animated preview](https://i.imgur.com/ym2H7AK.mp4)
##### Terminal version:
