๐Ÿ“ฆ lichon / rustdesk-web-ts

rustdesk web terminal, support rustdesk terminal, ttyd backend, webtty, file transfer, view camera, screen on remote peer

โ˜… 4 stars โ‘‚ 0 forks ๐Ÿ‘ 4 watching
rustdeskrustdesk-clientrustdesk-web-clientttydwebrtc
๐Ÿ“ฅ Clone https://github.com/lichon/rustdesk-web-ts.git
HTTPS git clone https://github.com/lichon/rustdesk-web-ts.git
SSH git clone git@github.com:lichon/rustdesk-web-ts.git
CLI gh repo clone lichon/rustdesk-web-ts
lc lc minor fix 78b468c 1 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ public
๐Ÿ“ src
๐Ÿ“ worker
๐Ÿ“„ .gitignore
๐Ÿ“„ eslint.config.js
๐Ÿ“„ index.html
๐Ÿ“„ package.json
๐Ÿ“„ pnpm-lock.yaml
๐Ÿ“„ README.md
๐Ÿ“„ tsconfig.app.json
๐Ÿ“„ tsconfig.json
๐Ÿ“„ tsconfig.node.json
๐Ÿ“„ vite.config.ts
๐Ÿ“„ wrangler.jsonc
๐Ÿ“„ README.md

RustDesk Web Client

Features

  • Remote Desktop Access: Connect to RustDesk client from the web.
  • Remote Camera Access: View remote camera/desktop from the web.
  • File Transfers: Support for trzsz/ZMODEM file transfers.
  • Terminal Interface: Built with Xterm.js for a powerful and feature-rich terminal experience.
  • Modern Tech Stack: Utilizes React, Vite, and TypeScript for a fast and reliable development experience.
  • Deployable on the Edge: Designed to be deployed to Cloudflare Workers.
  • Built-in rustdesk server: rustdesk hbbs with websocket relay supported.

Ideas

  • Dockerfile for local deploy
  • ssh from web
  • keyboard mouse control
  • more handy cli utils

Getting Started

Follow these instructions to get a local copy up and running for development and testing purposes.

Prerequisites

Installation

  • Clone the repository:
git clone https://github.com/lichon/rustdesk-web-ts.git
    cd rustdesk-web-ts

  • Install the dependencies:
pnpm install

Development

To run the application in development mode:

pnpm dev

This will start a local development server, typically at http://localhost:80.

Building

To create a production build of the application:

pnpm build

The build artifacts will be stored in the dist/ directory.

Deployment

This project is configured for deployment to Cloudflare Workers.

To deploy the application, run:

pnpm deploy

This will build the project and deploy it using the Wrangler CLI.

Available Scripts

  • pnpm dev: Runs the app in development mode.
  • pnpm build: Builds the app for production.
  • pnpm lint: Lints the source code using ESLint.
  • pnpm preview: Serves the production build locally for preview.
  • pnpm deploy: Deploys the application to Cloudflare Workers.
  • pnpm cf-typegen: Generates types for Cloudflare Workers.

Technologies Used