nyxt being added

This commit is contained in:
Chris Cochrun 2021-05-24 20:47:05 -05:00
parent ae2ad7dd9d
commit f9228ee51d
8 changed files with 103 additions and 10 deletions

11
nyxt/my-slynk.lisp Normal file
View file

@ -0,0 +1,11 @@
(define-command start-slynk (&optional (slynk-port *swank-port*))
"Start a Slynk server that can be connected to, for instance, in
Emacs via SLY.
Warning: This allows Nyxt to be controlled remotely, that is, to execute
arbitrary code with the privileges of the user running Nyxt. Make sure
you understand the security risks associated with this before running
this command."
(slynk:create-server :port slynk-port :dont-close t)
(echo "Slynk server started at port ~a" slynk-port))