emacs/config/elfeed.org

59 lines
1.7 KiB
Org Mode
Raw Normal View History

#+title: Elfeed Config
#+author: Evie Litherland-Smith
#+email: evie@xenia.me.uk
#+filetags: :emacs:config:org:
#+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent
#+begin_src emacs-lisp
(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)
(require 'elfeed-tube-mpv))
#+end_src
* elfeed-org
Manage elfeed subscriptions in an org-mode file instead of elisp.
#+begin_src emacs-lisp
(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))
#+end_src
* elfeed-tube
Use elfeed for YouTube subscriptions, including getting video transcripts.
#+begin_src emacs-lisp
(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))
(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)))
#+end_src