Skip to content

Latest commit

 

History

History
53 lines (43 loc) · 1.55 KB

README.md

File metadata and controls

53 lines (43 loc) · 1.55 KB

GitHub Repo stars GitHub GitHub go.mod Go version GitHub all releases GitHub CI Status GitHub Release Status

rtty

Terminal on browser via websocket

Supported OS

  • Linux
  • Mac

Installation

  • Build from source(Go v1.23.0 ~)
    go install github.com/skanehira/rtty@latest
  • Download from Releases

Usage

# 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

Author

skanehira