Boruch-Baum / emacs-yeetube.el

youtube search, scrape, download, play
GNU General Public License v3.0
4 stars 0 forks source link

This is a fork of Thanos Apollo's self-hosted repository yeetube.el.

What I've added:

The content of his README.md follows:


self-host-badge MELPA

Yeetube | Emacs' Youtube Front End

About

This package provides the ability to scrape YouTube, with the results displayed in a proced-like buffer.

Package functionality includes:

Inspired by ytfzf & ytel

This package does not use Invidious or YouTube's API, just parses html & json.

Installation

This package is available via MELPA

Straight.el

(straight-use-package
 '(yeetube :type git
           :host nil
           :repo "https://git.thanosapollo.org/yeetube"))

Manual

$ git clone https://git.thanosapollo.org/yeetube

Add this to your emacs configuration:

   (add-to-list 'load-path "/path/to/yeetube")
   (load-file "~/path/to/yeetube.el")
   (require 'yeetube)

Dependencies

Debian/Ubuntu

$ sudo apt install mpv yt-dlp

Configuration

Media Player

By default yeetube-player is set to yeetube-mpv-play, you can use mpv.el, GNU/Emms or other similar packages like so:

(setf yeetube-player #'emms-play-url)

Make sure that the media player of your choice can directly play youtube urls.

FAQ

Feature request: display thumbnails

Formatting images in a text buffer is not something that I found easy or fun to do. Feel free to submit a patch if you manage to make an appealing version of it