emacs-with-nyxt
emacs-with-nyxt copied to clipboard
Some code to make Emacs interact with Nyxt
- Emacs with Nyxt :PROPERTIES: :CREATED: [2021-06-08 Tue 22:19] :ID: 555473fa-f3d6-452b-8bc2-06b8fa3c9b65 :END:
This is some little hack to make Emacs command [[https://nyxt.atlas.engineer/][Nyxt]]. In particular this provides a function to browse URLs via Nyxt run via Slime.
The dependencies are:
- Slime
- Nyxt ([[https://ag91.github.io/blog/2021/05/30/browsing-in-common-lisp-nyxt-and-emacs][ideally installed via Guix if you are on Linux]])
You can find here the blogs that explain in more detail how this works:
- https://ag91.github.io/blog/2021/06/08/emacs-nyxt-and-engine-mode-how-to-browse-urls-via-nyxt-and-slime/
- https://ag91.github.io/blog/2021/06/22/back-to-emacs-while-in-nyxt-how-to-edit-the-web-in-a-lispy-editor/
- https://ag91.github.io/blog/2021/06/29/extending-nyxt-via-emacs-how-to-leverage-common-lisp-wealth-to-get-your-links-as-qr-codes/
- https://ag91.github.io/blog/2021/07/09/org-capture-in-nyxt-taking-notes-while-browsing/
- https://ag91.github.io/blog/2021/07/22/nyxt-to-mold-html-the-first-mix-of-moldable-emacs-and-browsing/
- https://ag91.github.io/blog/2021/07/25/org-roam-and-nyxt-taking-zettelkasten-notes-from-the-web/
** For MacOS :PROPERTIES: :CREATED: [2021-10-25 Mon 09:51] :ID: C598D2A8-6815-42FB-963D-258341A0EE7B :END:
Please follow the instructions here: https://github.com/deddu/nyxt-docker
Then set =(setq shell-command-switch "-ic")= and add to your =.zshrc= file (substitute your user for =
#+begin_src sh :noeval
alias nyxt="xterm -e 'xhost +127.0.0.1; docker run -it -p 4006:4006 -v /Users/
After that you should have everything to run =emacs-with-nyxt=. [[https://github.com/deddu/nyxt-docker/issues/6][And make sure Swank or Sly use 0.0.0.0 instead of localhost]].