Terminal in the browser based on xtermjs UI and pty4j backend. The server serving the websocket and endpoints bridging the xtermjs frontend and pty4j backend is a Spring Boot Web MVC app.
- Build with './mvnw clean package`
- Run with './mvnw spring-boot:run`
- Access URL http://localhost:8080/terminal/1
/terminal/{id}?cmd=<shell start command>&cwd=<folder>
- id - id of the terminal, usually an integer number
- cmd - command to start the shell, i.e.
powershell.exe,/bin/bash --login,zsh... - cwd - working folder