maiden-remote-repl

1.1.1 • Public • Published

maiden-remote-repl

Remote REPL session for Norns Maiden.

Installation

npm install -g marden-remote-repl

Usage

  • maiden-remote-repl starts the remote repl, user input is sent to Norns, and messages are sent back to the CLI
  • maiden-remote-repl send [msg] sends msg as a one-off, useful for reloading script: 'maiden-remote-repl send "norns.script.load("code/APP/APP.lua")'
  • you can specify the norns url with --host, for example: maiden-remote-repl --host fates.local

Tips

You can combine maiden-remote-repl send with nodemon and rsync to get live-reload experience:

  1. create dev-sync.sh (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")'
  2. start file watching session, for example: nodemon -e lua -x ./dev-sync.sh

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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i maiden-remote-repl

    Weekly Downloads

    0

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    3.62 kB

    Total Files

    4

    Last publish

    Collaborators

    • szymon_k