# billd-desk **Repository Path**: fork_copy/billd-desk ## Basic Information - **Project Name**: billd-desk - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: feat-19 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-07 - **Last Updated**: 2024-11-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
基于Electron + WebRTC搭建的远程桌面
## 简介 billd 远程桌面控制,目前实现了类似ToDesk、向日葵等远程桌面的功能。 ## 生态 | 名称 | 仓库 | star & fork | 线上地址 | | ------------ | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | | 直播间网页端 | [billd-live](https://github.com/galaxy-s10/billd-live) | [](https://github.com/galaxy-s10/billd-live) [](https://github.com/galaxy-s10/billd-live) | [https://live.hsslive.cn](https://live.hsslive.cn) | | 远程桌面 | [billd-desk](https://github.com/galaxy-s10/billd-desk) | [](https://github.com/galaxy-s10/billd-desk) [](https://github.com/galaxy-s10/billd-desk) | [https://live.hsslive.cn/remoteDeskTop](https://live.hsslive.cn/remoteDeskTop) | | 直播间移动端 | [billd-live-react-native](https://github.com/galaxy-s10/billd-live-react-native) | [](https://github.com/galaxy-s10/billd-live-react-native) [](https://github.com/galaxy-s10/billd-live-react-native) | | | 直播间移动端 | [billd-live-flutter](https://github.com/galaxy-s10/billd-live-flutter) | [](https://github.com/galaxy-s10/billd-live-flutter) [](https://github.com/galaxy-s10/billd-live-flutter) | | | 直播间移动端 | [billd-live-kotlin](https://github.com/galaxy-s10/billd-live-kotlin) | [](https://github.com/galaxy-s10/billd-live-kotlin) [](https://github.com/galaxy-s10/billd-live-kotlin) | | | 直播间后台 | [billd-live-admin](https://github.com/galaxy-s10/billd-live-admin) | [](https://github.com/galaxy-s10/billd-live-admin) [](https://github.com/galaxy-s10/billd-live-admin) | [https://live-admin.hsslive.cn](https://live-admin.hsslive.cn) | | 直播间后端 | [billd-live-server](https://github.com/galaxy-s10/billd-live-server) | [](https://github.com/galaxy-s10/billd-live-server) [](https://github.com/galaxy-s10/billd-live-server) | [https://live-api.hsslive.cn](https://live-api.hsslive.cn) | ## 功能 - [x] Web端发起远程控制 - [x] 客户端接收远程控制 - [ ] 客户端发起远程控制 - [ ] 文件传输 ## 常见问题 ### rebuild ```sh npm config set registry https://registry.npmmirror.com ``` ```sh ./node_modules/.bin/electron-rebuild ``` ### rebuild时cpu-feature报错 直接删了node_modules的cpu-feature ### pnpm安装electron时卡在postinstall 1. 直接ctrl+c退出npm安装 2. 进入node_modules/electron/install.js,将 ```js downloadArtifact({ version, artifactName: 'electron', force: process.env.force_no_cache === 'true', cacheRoot: process.env.electron_config_cache, checksums: process.env.electron_use_remote_checksums ?? process.env.npm_config_electron_use_remote_checksums ? undefined : require('./checksums.json'), platform, arch, }) .then(extractFile) .catch((err) => { console.error(err.stack); process.exit(1); }); ``` 修改为: ```js downloadArtifact({ version, artifactName: 'electron', force: process.env.force_no_cache === 'true', cacheRoot: process.env.electron_config_cache, checksums: process.env.electron_use_remote_checksums ?? process.env.npm_config_electron_use_remote_checksums ? undefined : require('./checksums.json'), platform, arch, mirrorOptions: { mirror: 'https://npmmirror.com/mirrors/electron/', platform, arch, }, }) .then(extractFile) .catch((err) => { console.error(err.stack); process.exit(1); }); ``` 3. 在node_modules/electron目录下执行node install ### robotjs 使用`https://github.com/hurdlegroup/robotjs`替换`robotjs`,原因:https://github.com/electron/rebuild/issues/1073#issuecomment-1910068444