Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/roccomuso/rtc-shell

WebRTC-based Shell.
https://github.com/roccomuso/rtc-shell

browser p2p peer rtc shell term tty web-rtc

Last synced: 16 days ago
JSON representation

WebRTC-based Shell.

Awesome Lists containing this project

README

        

# rtc-shell Patreon donate button [![NPM Version](https://img.shields.io/npm/v/rtc-shell.svg)](https://www.npmjs.com/package/rtc-shell) [![Dependency Status](https://david-dm.org/roccomuso/rtc-shell.png)](https://david-dm.org/roccomuso/rtc-shell)

> WebRTC-based Shell.

Works well with the [rtc-web-term](https://github.com/roccomuso/rtc-web-term).

## Usage

```
rtc-shell -l -x /bin/sh

Initiate a webrtc connection, printing the base64 introducer blob to stdout.
Paste the introducer from the other node as the first line on stdin.
The -x /bin/sh param will execute a shell script and pipe incoming on stdin and output on stdout.

rt-shell

Connect to an initiated webrtc connection.
Paste the introducer from the other node as the first line on stdin.
After pasting the introducer, another introducer will be printed to stdout for
the remote node to use.

After the introductions, stdin is forwarded to the remote connection and data
from the remote connection goes to stdout.
```

# Author

Rocco Musolino, inspired by substack/rtcat.