A secure web-based, collaborative terminal。
Fast, collaborative live terminals in the browser, with real-time chat。
SSHX 基于网络的安全协作 终端 ,让您可以在多人无限画布上通过链接与任何人共享您的终端 。它具有实时协作、远程光标和聊天功能。它还具有快速且端到端加密的特点,并具有用 Rust 编写的轻量级服务器。sshx 使用单个命令安装,可将其用于教学、调试或云访问。sshx 具有如下功能特征:
协作性:通过共享安全、独特的浏览器链接来邀请其他人。
跨平台:在 macOS 和 Linux 上,不到一秒钟即可安装客户端。
无限画布:创建多个终端,然后实时排列它们并调整它们的大小。
现场直播:在其他人连接时查看他们的姓名和光标。
端到端加密:安全发送终端数据;服务器永远看不到您输入的内容。
超快速网状网络:从任何地方连接到全球网络中最近的分布式对等点。
sshx 使用非常简单,只需两步即可快速入门:
安装命令行界面
sshx 通过在终端中运行此命令来获取 CLI。它很小,只需几秒钟即可下载 (3 MB)。
curl -sSf https://sshx.io/get | sh
分享您的终端
在您最喜欢的终端中运行此命令:sshx,这将启动实时加密会话。在网络浏览器中打开链接即可加入。
值得一提的是,您可以基于源码,利用 Docker 将该服务在您的服务器进行部署,这将在您的计算机上并行编译并启动服务器、客户端实例和 Web 前端,从而保证您的隐私安全。 SSHX 在 Github 仓库开源: https://github.com/ekzhang/sshx ,如果您对其感兴趣,不妨移步从而了解更多。
-----------------------
Fast, collaborative live terminal sharing over the web.
Features:
- Run a single command to share your terminal with anyone.
- Resize, move windows, and freely zoom and pan on an infinite canvas.
- See other people's cursors moving in real time.
- Connect to the nearest server in a globally distributed mesh.
- End-to-end encryption with Argon2 and AES.
- Automatic reconnection and real-time latency estimates.
- Predictive echo for faster local editing (à la Mosh).
Installation
Just run this command to get the sshx
binary for your platform.
curl -sSf https://sshx.io/get | sh
Supports Linux and MacOS, on both x86_64 and arm64 architectures. The precompiled Linux binaries are statically linked.
CI/CD
You can also use sshx in continuous integration workflows to help debug tricky issues, like in GitHub Actions.
name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# ... other steps ...
- run: curl -sSf https://sshx.io/get | sh && sshx
# ^
# └ This will open a remote terminal session and print the URL. It
# should take under a second.
We don't have a prepackaged action because it's just a single command. It works anywhere: GitLab CI, CircleCI, Buildkite, CI on your Raspberry Pi, etc.
Be careful adding this to a public GitHub repository, as any user can view the logs of a CI job while it is running.
Development
Here's how to work on the project, if you want to contribute.
Building from source
To build the latest version of the client from source, clone this repository and run, with Rust installed:
cargo install --path crates/sshx
This will compile the sshx
binary and place it in your ~/.cargo/bin
folder.
Workflow
First, start service containers for development.
docker compose up -d
Install Rust 1.70+, Node v18, NPM v9, and mprocs. Then, run
npm install
mprocs
This will compile and start the server, an instance of the client, and the web frontend in parallel on your machine.
Deployment
The application servers are deployed on Fly.io.
fly deploy
from https://github.com/ekzhang/sshx
No comments:
Post a Comment