Terminal on browser via websocket
- Linux
- Mac
- Build from source(Go v1.23.0 ~)
go install github.com/skanehira/rtty@latest
- Download from Releases
# Run server
$ rtty run zsh -p 8080 -v --font "Cica Regular" --font-size 20
2024/08/15 23:39:37 allowed origins [localhost:8080]
2024/08/15 23:39:37 running command: zsh
2024/08/15 23:39:37 running http://localhost:8080
# Help
$ rtty run -h
Run command
Usage:
rtty run [command] [flags]
Command
Execute specified command (default "/bin/zsh")
Flags:
-a, --addr string server address (default "localhost")
--allow-origin stringArray allow origin (default ["localhost:9999"])
--font string font
--font-size string font size
-h, --help help for run
-p, --port int server port (default 9999)
-v, --view open browser
skanehira