{"repo":"WhispPHP/whisp","free":true,"listed":false,"github":"https://github.com/WhispPHP/whisp","clone":"git clone https://github.com/WhispPHP/whisp.git","description":"Pure PHP SSH server - the simplest way to build PHP SSH apps","language":"PHP","stars":183,"topics":["php","ssh","tui"],"license":null,"category":"cli-tools","readme_excerpt":"Whisp Your pure PHP SSH server ∙ the simplest & best way to build PHP SSH apps [!NOTE] Quick example: sign our guestbook (See the code) Got a one-time secret to share? ssh secrets@whisp.fyi Explore the full docs at WhispPHP.com » Installation We recommend using our template project to get setup with Whisp & Laravel Prompts. You can also add Whisp to an existing project with composer. Coming soon: Laravel package, Laravel starter kit, and a Docker image. Requirements - PHP 8.2+ - FFI, pcntl, and libsodium modules Usage Run the server on the port & IP you'd like, with the apps you want to make available. Each connection is forked to its own process and runs independently. Once running you can test with: Default app Guestbook app Environment variables available to each app These are each available as environment variables. Variable Description Notes ---------- ------------- ------ WHISP APP The name of the app being requested WHISP CLIENT IP The IP address of the connecting client WHISP USER PUBLIC KEY Validated public key of the connecting user This has been checked against their private key and can be trusted WHISP TTY The TTY information for the connection e.g. /dev/ttys072 WHISP USERNAME The username used in the SSH connection Unavailable when no username passed, or when the username is a valid app WHISP COLS Requested terminal width in chars WHISP ROWS Requested terminal height WHISP WIDTH PX Requested terminal width in pixels WHISP HEIGHT PX Requested terminal height in pi","default_branch":null,"files":null,"tree":[],"storefront":"/r/WhispPHP","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/WhispPHP/whisp/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."}