# msoap/shell2http

Executing shell commands via HTTP server

Repository: https://github.com/msoap/shell2http
Canonical: https://ross.abutalabs.com/products/shell2http
Language: Go
License: MIT
License Family: permissive
Topics: golang, cli, http, server, proxy, shell, docker, bash
Last push: 2026-08-08T14:36:02+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 8, longevity 100
- inputs: {"age_days": 4193, "days_push": 25, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1504, forks 148 (observed 2026-08-28T04:04:54.714690+00:00)

## What it is
shell2http is a lightweight Go CLI tool that runs an HTTP server where each URL path is mapped to a shell command, returning the command's stdout as the HTTP response. It supports form parsing, CGI mode, caching, and environment variable export, making it easy to expose shell scripts over HTTP.

## Use cases
- expose shell scripts as http endpoints
- turn bash commands into a rest api for prototyping
- remotely trigger shell commands on a server
- quickly mock an api backed by shell scripts
- run system commands from a webhook
- build a tiny dev tool server without writing code

## When to choose
- you need to expose shell commands over http with minimal setup
- prototyping or development where a quick http wrapper for scripts is enough
- remote control of a machine via simple http calls
- you want a single static binary or docker image with no dependencies

## When to avoid
- you need authentication, TLS, or fine-grained security controls for production
- you need complex request routing, middleware, or JSON request handling
- exposing arbitrary shell commands publicly is a security risk
- you need a full application framework rather than a simple command bridge

## Facets
- artifact type: cli-tool
- maturity: active
- function: http-server, cli
- domain: developer-tools, web-development
- platform: windows, go, cross-platform
- tags: shell-commands, http-api, remote-control, prototyping, cgi, command-line, automation, linux, macos, docker

## Member repositories
- msoap/shell2http (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:54.714690+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:46.078757+00:00, confidence not recorded.
  - readme: https://github.com/msoap/shell2http (fetched 2026-08-28T04:04:54.714690+00:00, sha 5a6f843c2f9f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
