ekzhang / sshx
- четверг, 9 ноября 2023 г. в 00:00:04
Fast, collaborative live terminal sharing over the web
A secure web-based, collaborative terminal.
Features:
Visit sshx.io to learn more.
Just run this command to get the sshx binary for your platform.
curl -sSf https://sshx.io/get | shSupports Linux and MacOS, on both x86_64 and arm64 architectures. The precompiled Linux binaries are statically linked.
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, CI on your Raspberry Pi, etc.
Here's how to work on the project, if you want to contribute.
To build the latest version of the client from source, clone this repository and run, with Rust installed:
cargo install --path crates/sshxThis will compile the sshx binary and place it in your ~/.cargo/bin folder.
First, start service containers for development.
docker compose up -dInstall Rust 1.70+, Node v18, NPM v9, and mprocs. Then, run
npm install
mprocsThis will compile and start the server, an instance of the client, and the web frontend in parallel on your machine.
The application servers are deployed on Fly.io.
fly deploy