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

https://github.com/lichon/hbbs-worker

rustdesk hbbs/hbbr implement with cloudflare worker durable object
https://github.com/lichon/hbbs-worker

rustdesk rustdesk-server

Last synced: 4 months ago
JSON representation

rustdesk hbbs/hbbr implement with cloudflare worker durable object

Awesome Lists containing this project

README

          

# Rustdesk serverless server

This is a rustdesk HBBS/HBBR websocket implement with [Durable Object](https://developers.cloudflare.com/durable-objects/)

Setup worker secret HBBS_RELAY_URL = 'wss://your-worker-url' on cloudflare dashboard

Enable 'Use Websocket' on rustdesk Network setting, set ID/Relay Server to your-worker-url,

Set Api Server to https://localhost or https://your-worker-url to enable wss connection

Goto https://rustdesk.com/web/ set Network setting to your-worker-url, control your desk by web

[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/lichon/hbbs-worker)

## Getting Started

First, run:

```bash
npm install
# or
yarn install
# or
pnpm install
# or
bun install
```

Then run the development server (using the package manager of your choice):

```bash
npm run dev
```
## Deploying To Production

| Command | Action |
| :------------------ | :------------------------------------ |
| `npm run deploy` | Deploy your application to Cloudflare |
| `npm wrangler tail` | View real-time logs for all Workers |