Skip to content

asidko/node-http-shell-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This service creates HTTP server to execute a shell script placed near to it in scripts folder.
No need to install any dependencies (except NodeJS itself).

Use the following command to start the server:

node run_sh_server.js

Run the default script via HTTP (scripts/default.sh):

curl http://localhost:3000

Or specify a required script name in url:

curl http://localhost:3000/hello.sh

Tips:

About

Provides HTTP endpoint to run your shell script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published