Terminal on browser via websocket

Related tags

Websockets rtty
Overview

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

rtty

Terminal on browser via websocket

Supportted OS

  • Linux
  • Mac

Installation

  • Build from source(Go v1.16 ~)
    go install github.com/skanehira/[email protected]
  • Download from Releases

Usage

# Run server
$ rtty run zsh -p 8080 -v
2021/05/10 14:08:11 running command: zsh
2021/05/10 14:08:11 running http://localhost:8080

# Help
$ rtty run -h
Run command

Usage:
  rtty run [command] [flags]

Flags:
  -h, --help          help for run
  -p, --port string   server port (default "9999")
  -v, --view bool     open browser (default false)

Author

skanehira

You might also like...
:notes: Minimalist websocket framework for Go
:notes: Minimalist websocket framework for Go

melody 🎶 Minimalist websocket framework for Go. Melody is websocket framework based on github.com/gorilla/websocket that abstracts away the tedious p

A modern, fast and scalable websocket framework with elegant API written in Go
A modern, fast and scalable websocket framework with elegant API written in Go

About neffos Neffos is a cross-platform real-time framework with expressive, elegant API written in Go. Neffos takes the pain out of development by ea

run shell scripts by websocket with go lauguage
run shell scripts by websocket with go lauguage

go_shell_socket run shell scripts by websocket with go lauguage Usage pull project get gin and websocket with go get config config.json file build it

simpleChatInGo - This is a simple chat that i made for fun asnd learn more about websocket
simpleChatInGo - This is a simple chat that i made for fun asnd learn more about websocket

simpleChatInGo This is a simple chat that i made for fun asnd learn more about websocket deploy For deploy this you only need to run the command : $ d

gatews - Gate.io WebSocket SDK

gatews - Gate.io WebSocket SDK gatews provides new Gate.io WebSocket V4 implementations. It is intended to work along with gateapi-* series to provide

WebSocket for fasthttp

websocket WebSocket library for fasthttp and net/http. Checkout examples to inspire yourself. Install go get github.com/dgrr/websocket Why another Web

A tiny command line websocket client written in Go

wsc A simplistic tool for sending and receiving websocket messages from a command line. Mainly useful to test websocket servers. Getting started: $ go

An online multiplayer, websocket based, interpretation of the Tic Tac Toe minigame from
An online multiplayer, websocket based, interpretation of the Tic Tac Toe minigame from "Machinarium" :D

Tik Tak Toe An interpretation of the tic tac toe minigame from Amanita Design's Machinarium, multiplayer, online, as a website. Here's a screenshot of

A websocket powered discord wrapper for Sugaroid written in golang

sg-discord A thin discord wrapper built on top of Sugaroid Websocket implementation. Build go build . Run export DISCORD_BOT_TOKEN="supersecrettoken"

Comments
  • Terminal is not working for 2 browser sessions simultaneously

    Terminal is not working for 2 browser sessions simultaneously

    We are trying to run this terminal session in two different browsers for different users. But, the first user's commands and outputs are showing in the second browser's session.

    It's not working separately for 2 browser sessions simultaneously.

    opened by baljeetsidhu 1
  • Customize font unique font

    Customize font unique font

    I'm customizing zsh. And I'm also changing the 'font'. The default font the browser displayed Tofu, so I want to customize the font unique to the this page.

    image

    enhancement 
    opened by TakumaNakagame 1
  • Cloud not decode a text frame as UTF-8 in websocket

    Cloud not decode a text frame as UTF-8 in websocket

    If I Running TUI(like lazygit, docui) tools, sometimes error was happen as bellow.

    (index):18 WebSocket connection to 'ws://localhost:9999/ws' failed: Could not decode a text frame as UTF-8.
    
    bug 
    opened by skanehira 1
Releases(v0.3.0)
Owner
skanehira
Like Vim, Go. Many CLI/TUI Tools, Vim plugin author.
skanehira
Encrypted-websocket-chat - Encrypted websocket chat using golang

Encrypted websocket chat First version written in python This version should be

Artyom Artamonov 13 Sep 15, 2022
Websocket-chat - A simple websocket chat application

WebSocket Chat App This is a simple chat app based on websockets. It allows user

null 1 Jan 25, 2022
A fast, well-tested and widely used WebSocket implementation for Go.

Gorilla WebSocket Gorilla WebSocket is a Go implementation of the WebSocket protocol. Documentation API Reference Chat example Command example Client

Gorilla Web Toolkit 18.6k Jan 2, 2023
Turn any program that uses STDIN/STDOUT into a WebSocket server. Like inetd, but for WebSockets.

websocketd websocketd is a small command-line tool that will wrap an existing command-line interface program, and allow it to be accessed via a WebSoc

Joe Walnes 16.6k Dec 31, 2022
WebSocket Command Line Client written in Go

ws-cli WebSocket Command Line Client written in Go Installation go get github.com/kseo/ws-cli Usage $ ws-cli -url ws://echo.websocket.org connected (

Kwang Yul Seo 17 Nov 12, 2021
proxy your traffic through CDN using websocket

go-cdn2proxy proxy your traffic through CDN using websocket what does it do example server client thanks what does it do you can use this as a library

jm33-ng 44 Dec 7, 2022
Chat bots (& more) for Zoom by figuring out their websocket protocol

zoomer - Bot library for Zoom meetings Good bot support is part of what makes Discord so nice to use. Unfortunately, the official Zoom API is basicall

Christopher Tarry 50 Dec 14, 2022
Tiny WebSocket library for Go.

RFC6455 WebSocket implementation in Go.

Sergey Kamardin 4.9k Dec 28, 2022
Simple example for using Turbos Streams in Go with the Gorilla WebSocket toolkit.

Go Example for TurboStreams over WebSockets Simple example for using Turbos Streams in Go with the Gorilla WebSocket toolkit.

Jan Stamer 24 Dec 22, 2022
Minimal and idiomatic WebSocket library for Go

websocket websocket is a minimal and idiomatic WebSocket library for Go. Install go get nhooyr.io/websocket Highlights Minimal and idiomatic API First

Anmol Sethi 2.5k Dec 31, 2022