shell2http
Shell script based HTTP server.
shell2http is a lightweight HTTP server that maps URL paths to shell commands. When a request matches a configured path, the server executes the associated command and returns its standard output as the HTTP response. The tool can be started with a minimal invocation—specifying one or more path‑command pairs—while additional options control host binding, port selection, SSL certificates, basic authentication, and logging.
The server supports form handling, allowing query parameters and uploaded files to be exposed as environment variables for the executed scripts. It can operate in CGI mode, export selected or all environment variables, enforce input validation with regular expressions, and configure caching, timeouts, and error handling such as returning a 500 status on non‑zero exit codes. Optional flags let users include stderr in the response, run commands in a single thread, or add a built‑in `/exit` endpoint.
Designed for development, prototyping, and remote control scenarios, shell2http runs on macOS, Linux, Windows, and Raspberry Pi, and is available packaged Homebrew, binary releases, Docker, and Snap. It provides a simple, script‑driven way to expose shell functionality over HTTP without requiring a full web framework.
Reviews
Loading reviews…
Similar apps

Version Control & Git
HTTPie
A user-friendly HTTP client.

Medical Records & Telehealth
OliveTin
Web interface for running Linux shell commands.

DevOps & Infrastructure
RapidForge
Lightweight platform for building webhooks, scheduled tasks and pages. Implement your logic with Bash or Lua.
Terminals & CLI
gotty
Share your terminal as a web application.
Terminals & CLI
simplehttp
Easily serve a local directory over HTTP.
API & Network Testing
tunnelmole
tunnelmole - listed on awesome-cli-apps.