A simple HTTP server to wrap around shell executions.
See the example config and the config.Config structure
-
Go version >= 1.16
-
export PATH="$(go env GOPATH)/bin:$PATH"
-
go install github.com/tblyler/httpwrap@latest
-
Set
CONFIG_FILE_PATH
environment variable to the path for your config file. See reference example config -
Execute
httpwrap
-
Allow execution of httpwrap to wrap around another command execution like...
httpwrap /bin/my-non-http-program
. Forwardingkill
signals,STDOUT
, andSTDERR
appropriately. -
Add proper logging & error handling
-
Add support for more config formats
-
Add Makefile
-
Add CI pipeline
-
Make artifacts available for download in "Releases"
-
Add unit tests
-
Stop judging me, I wrote this for my Raspberry Pi