{"repo":"heroku/shaas","free":true,"listed":false,"github":"https://github.com/heroku/shaas","clone":"git clone https://github.com/heroku/shaas.git","description":"Shell as a Service: API to inspect and execute scripts in a server's environment via HTTP and WebSockets","language":"Go","stars":82,"topics":["testing","http","rest","shell","bash","websockets"],"license":"MIT","category":"cli-tools","readme_excerpt":"shaas Shell as a Service Overview API to inspect and execute scripts in a server's environment via HTTP and WebSockets. This is obviously a really bad idea on a server that you care about, but this is a convenience for testing purposes only. This offers no protection whatsoever for the server. This makes the server's entire file system accessible to clients. Please use with great caution. Running Because this application gives clients full access to the server, it is highly recommended to run it inside of some kind of containerized environment, such as Heroku or Docker. Even in a containerized environment, you may wish to set a username and password, for use via HTTP basic authentication, by setting BASIC AUTH=user:password in the environment before starting. To only allow GET requests and disallow websockets, set READ ONLY in the environment. To only allow downloading slug.tgz and checksum files, set SLUG ONLY in the environment. Heroku Docker Running with Docker Compose: $ docker-compose up -d $ curl http://localhost:5000/ Usage Summary of endpoint behavior for all path, method, and protocol combinations: POST GET PUT/APPEND WebSocket ----------- --------------------------------------- --------------------- ----------------------- ----------------------------------------------------- File runs path in context of its directory downloads path uploads body to path interactively runs path in context of its directory Directory runs body in context of path lists files in path n/a","default_branch":null,"files":null,"tree":[],"storefront":"/r/heroku","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/heroku/shaas/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}