Configure elfeed with Miniflux

This commit is contained in:
coolneng 2022-08-15 18:03:18 +02:00
parent f40f205bf5
commit 32305747af
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
3 changed files with 16 additions and 1 deletions

View File

@ -86,3 +86,17 @@
wallabag-show-sidebar 't wallabag-show-sidebar 't
wallabag-show-entry-switch 'switch-to-buffer) wallabag-show-entry-switch 'switch-to-buffer)
(add-hook 'wallabag-after-render-hook 'wallabag-search-update-and-clear-filter)) (add-hook 'wallabag-after-render-hook 'wallabag-search-update-and-clear-filter))
(add-hook! 'doom-real-buffer-functions
(defun +rss-buffer-p (buf)
(string-match-p "^\\*wallabag" (buffer-name buf))))
;; Set up elfeed
(after! elfeed
(setq elfeed-use-curl t)
(setq elfeed-feeds (list
(list "fever+https://coolneng@rss.coolneng.duckdns.org"
:api-url "https://rss.coolneng.duckdns.org/fever/"
:password (auth-source-pass-get 'secret "api/miniflux"))))
(setq elfeed-sort-order 'ascending
elfeed-search-filter "@all +unread")
(elfeed-protocol-enable)
(add-hook! 'elfeed-search-mode-hook 'elfeed-update))

View File

@ -190,7 +190,7 @@
;;emms ;;emms
;;everywhere ; *leave* Emacs!? You must be joking ;;everywhere ; *leave* Emacs!? You must be joking
;;irc ; how neckbeards socialize ;;irc ; how neckbeards socialize
;;(rss +org) ; emacs as an RSS reader rss ; emacs as an RSS reader
;;twitter ; twitter client https://twitter.com/vnought ;;twitter ; twitter client https://twitter.com/vnought
:config :config

View File

@ -8,3 +8,4 @@
(package! org-super-agenda) (package! org-super-agenda)
(package! org-chef) (package! org-chef)
(package! wallabag :recipe (:host github :repo "chenyanming/wallabag.el" :files ("*.el" "*.alist" "*.css"))) (package! wallabag :recipe (:host github :repo "chenyanming/wallabag.el" :files ("*.el" "*.alist" "*.css")))
(package! elfeed-protocol)