RTERM is a web-based remote control application that allows you to control your terminal remotely.
Inspired by GoTTY
-
Import as package to existing project.
go get github.com/dev6699/rterm
import ( "github.com/dev6699/rterm" "github.com/dev6699/rterm/command" ) func main() { rterm.SetPrefix("/") mux := http.NewServeMux() rterm.Register( mux, rterm.Command{ Name: "bash", Description: "Bash (Unix shell)", Writable: true, AuthCheck: auth.NewBasic("123456"), }, ) addr := ":5000" server := &http.Server{ Addr: addr, Handler: mux, } server.ListenAndServe() }
Please check example for more information.
-
Prebuilt binary.
- Grab the latest binary from the releases page.
-
From sources:
# Clone the Repository git clone https://github.com/dev6699/rterm.git cd rterm # Build make build
- Start the binary
./rterm
. - Open web browser and navigate to
http://<remote_ip>:5000
. - Get control of your terminal!
This project is licensed under the MIT License - see the LICENSE file for details.