Skip to content

Commit

Permalink
emacs: remove obsolete Reddit frontends
Browse files Browse the repository at this point in the history
Reddit changed the terms of its APIs which essentially killed all
third-party clients. As a result Libreddit cannot be used anymore. [0]

This is very unfortunate since Libreddit was working quite well in EWW.
Now I'm using old.reddit.com which is still better than the regular
Reddit website but still pretty bad in comparison to Libreddit.

[0]: libreddit/libreddit#840
  • Loading branch information
mzimnn committed Jan 23, 2024
1 parent ba0b652 commit 4535cf2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .config/emacs/lisp/init-eww.el
Expand Up @@ -11,10 +11,8 @@
(setq eww-search-prefix "https://www.google.com/search?q=")

;; use lightweight frontends which EWW can render better
(setq mz/url-replace-host-map '(("reddit.com" . "libreddit.de")
("old.reddit.com" . "libreddit.de")
("www.reddit.com" . "libreddit.de")
("teddit.net" . "libreddit.de")))
(setq mz/url-replace-host-map '(("reddit.com" . "old.reddit.com")
("www.reddit.com" . "old.reddit.com")))

(defun mz/url-replace-host (url)
"Replace host of URL according to `mz/url-replace-host-map'."
Expand Down

0 comments on commit 4535cf2

Please sign in to comment.