2024-02-23 13:08:34 +00:00
|
|
|
#+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
|
2024-03-11 07:27:50 +00:00
|
|
|
(rmh-elfeed-org-files
|
|
|
|
(list
|
|
|
|
(expand-file-name "feeds/rss.org" org-directory)
|
|
|
|
(expand-file-name "feeds/youtube.org" org-directory)))
|
2024-02-23 13:08:34 +00:00
|
|
|
: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)
|
2024-03-11 07:27:50 +00:00
|
|
|
([remap save-buffer] . elfeed-tube-save))
|
|
|
|
:custom
|
|
|
|
(elfeed-tube-auto-save-p nil)
|
|
|
|
(elfeed-tube-auto-fetch-p t)
|
|
|
|
:config
|
|
|
|
(elfeed-tube-setup))
|
2024-02-23 13:08:34 +00:00
|
|
|
(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
|