CGIJS is a all featured library to run any CGI mode / Interpreted language script files, or connect to any web application server proxies, or manage processes in the system.
CGIJS library:
CGI / Interpreted Language scripts using the nodejs process module in any OS that runs node.js. Needs the language interpretor to be installed in the systemCGI / Interpreted Language scripts using interpreters library module in any OS that runs node.js. Do not need the language interpretor to be installed in the systemCGI executables as well as proxy to localhost/ remote /embedded servers using proxying of multiple protocols (http, websockets, tcp, udp, socks, ssh, ftp).embedded server executables, embedded database executables, or any other embedded/ non-embedded executablesshell, json, ini, csv, yaml, and xml internally[Funding Invited]
General Note: The library is production ready. However, please be cautious of processes/executables permissions/security in your project using CGIJS
CGIJS was created with a motivation to allow creation of a Desktop executable/ application using Electron that can run any CGI / Interpreted language scripted files/ applications under the hood.

npm install cgijs --save
If you wish to run interpreted languages like php, perl, python, micropython, cpython, ruby, julia, cpp, golang, ocaml, lua, napi, wasm-run, r-lang, openssl with wasm files without having the language's binary present/ installed in your system then use the following package.
npm install bridge-wasm --save
Light weight, Flexible, Generic implementation. CGIJS is Nodejs Framework Independent / agnostic for application development.
There are three main modules inside CGIJS - file for CGI file execution, proxy for running proxies, and process for managing processes.
security risks based on your executable's/ script's security risks.package has a LAN or WAN network proxy module AND does not create any proxies by its own - unless specified by you. Please consider your custom created proxy's security risks.package does not use Telemetry, nor Collect data Remotely, nor has Telemetry/Remote based Error collection on its own.
py (for Python .py extension files. Needed for *nix systems)plc, pld, pl (for Perl .pl, .plc, .pld extension files)php (for .php extension files)rb (for Ruby .rb extension files)js (for Node.js .js extension files)cgi (for CGI .cgi extension files) [Todo Testing]php -S rails server [Todo - Testing] py -m http.server php -S rails server [Todo - Testing] py -m http.server php -S rails server [Todo - Testing] py -m http.server This library is in active development. Issues, and feedbacks as github ticket are welcome.
Environment and Library dependencies:
Extra needed dependencies to use language interpretors and libraries for php, perl, python, micropython, cpython, ruby, julia, cpp, golang, ocaml, lua, napi, wasm-run, r-lang, openssl with wasm files without having to install (or have) binaries in your system
Application Dependencies:
This project contains example that demonstrates working with ExpressJS.
cgijs library has been created to address following use cases:
any Node.js app framework... * Wiki links to be added
wasm` module
Check .todo file for latest TODO list
The MIT License (MIT) - See LICENSE for further details
Copyright © 2019 - till library works: Ganesh B [email protected]
- feature needs reporting,
- testing,
- issue reporting,
- contribution
Please use these styles for contributions