emacs/config/elfeed.org

1.7 KiB

Elfeed Config

  (use-package elfeed
    :bind (("C-c f f" . elfeed)
           ("C-c f u" . elfeed-update))
    :hook (elfeed-search-mode . elfeed-update)
    :custom
    (elfeed-search-filter "@2-weeks-ago +unread")
    :config
    (require 'elfeed-org)
    (require 'elfeed-tube))

elfeed-org

Manage elfeed subscriptions in an org-mode file instead of elisp.

  (use-package elfeed-org
    :ensure t
    :after (elfeed org)
    :custom
    (rmh-elfeed-org-files
     (list
      (expand-file-name "feeds/rss.org" org-directory)
      (expand-file-name "feeds/youtube.org" org-directory)))
    :config
    (elfeed-org))

elfeed-tube

Use elfeed for YouTube subscriptions, including getting video transcripts.

  (use-package elfeed-tube
    :ensure t
    :after elfeed
    :bind ( :map elfeed-show-mode-map
            ("F" . elfeed-tube-fetch)
            ([remap save-buffer] . elfeed-tube-save)
            :map elfeed-search-mode-map
            ("F" . elfeed-tube-fetch)
            ([remap save-buffer] . elfeed-tube-save))
    :custom
    (elfeed-tube-auto-save-p nil)
    (elfeed-tube-auto-fetch-p t)
    :config
    (elfeed-tube-setup)
    (require 'elfeed-tube-mpv))

  (use-package elfeed-tube-mpv
    :ensure t
    :after elfeed-tube
    :init (require 'mpv)
    :bind ( :map elfeed-show-mode-map
            ("C-c C-f" . elfeed-tube-mpv-follow-mode)
            ("C-c C-w" . elfeed-tube-mpv-where)))