This is a small NodeJS web editor that runs on any Linux/MacOS device. It was originally built to run on a RaspberryPi, and use it from any other device on the same network to run quick and small scripts to test things.
To get started, clone this repository. Then cd
in it, and run the following commands. It is assumed you have Node installed.
npm install
cd files
npm install
cd ..
node server.js
You will see the port listed on the output, so go to your localhost on that port (http://localhost:<<PORT>>
). You will see the web editor appear. You can start creating files, and running your programs. The output of each program is shown on the right panel.
A few modules have been pre-installed by default, so that you don't need to configure anything. The list:
@hapi/joi
commander
gm
lodash
moment
nodemailer
request
socket.io
If you want to install more, then do the following from the main project directory:
cd files
npm i --save <<MODULE_NAME>>
cd ..