Maiden-remote-repl - cli utility for connecting to maiden

maiden-remote-repl is a simple CLI utility for node.js for connecting to Maiden remotely.

This was made so I can keep using my local vim, but also display logs in tmux split window, and reload the script on file change. Yes I could use maiden editor and click on the “run” button, but I prefer to code from my own editor, and to keep my tmux sessions so I can get back to them. Also writing UI code, and having Norns refresh on every change (so I can tweak values in almost real time) is pretty magical.

To get live-reload experience:

  1. npm install -g maiden-remote-repl
  2. create (assuming you’re working on APP.lua):
    rsync -azP . --exclude .git --delete we@norns.local:/home/we/dust/code/APP
    maiden-remote-repl send 'norns.script.load("code/APP/APP.lua")'
  3. start file watching session, for example: nodemon -e lua -x ./

Now, on every file change to lua the code is sent to Norns, and the script is restarted.


can’t wait to try this!

1 Like