中文文档 | English Documents
Managing & runing your shell scripts on web!
remote-sh
provides a friendly way for managing your shell scripts on your server. you can add, edit, remove, run your scripts easily.
Each script can be triggered by a UNIQUE URL so you can use it anywhere like:
$ curl https://YOUR_REMOTE_SH_HOST/script/run/example.sh/UNIQUE_SIGN_FOR_THIS_SCRIPT
The system use Access Key policy to identify yourself.
$ npm ci
All you need is keeping this running:
$ npm start
Set port at file ./configs.js
( default: 3020 ).
We strongly recommend that enabling the HTTPS feature.
To start your web server with HTTPS, you must set useHttps: true
and port: 443
at file ./configs.js
, then copy your certificate files to ./https/server.key
and ./https/server.crt
.
You can also use other ways for HTTPS ( for me, i'd like to try steveltn/https-portal ).
pm2, screen, docker
will help you doing that.
pm2 start pm2.json
pm2 save
pm2 startup