This commit is contained in:
opalvault
2022-01-06 00:06:04 -08:00
parent 9616eae7dd
commit 6f29d506ef
84 changed files with 6934 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
(define-command-global 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))