- 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.
Follow these instructions to get a local copy up and running for development and testing purposes.
-
Clone the repository:
git clone https://github.com/lichon/rustdesk-web-ts.git cd rustdesk-web-ts -
Install the dependencies:
pnpm install
To run the application in development mode:
pnpm devThis will start a local development server, typically at http://localhost:80.
To create a production build of the application:
pnpm buildThe build artifacts will be stored in the dist/ directory.
This project is configured for deployment to Cloudflare Workers.
To deploy the application, run:
pnpm deployThis will build the project and deploy it using the Wrangler CLI.
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.
- React
- Vite
- TypeScript
- Xterm.js - Terminal UI component
- Hono - Web framework for the worker
- Tailwind CSS
- Protobuf-TS - Protocol Buffers for TypeScript
- Cloudflare Workers
