Giter Site home page Giter Site logo

galaxy-s10 / billd-desk Goto Github PK

View Code? Open in Web Editor NEW
77.0 3.0 19.0 1.9 MB

基于Vue3 + WebRTC搭建的远程桌面

Home Page: https://desk.hsslive.cn

License: MIT License

JavaScript 6.14% TypeScript 79.83% HTML 0.90% Vue 12.03% SCSS 0.51% Shell 0.60%
electron vite4 vue3 webrtc

billd-desk's Introduction

Billd-Desk logo

Billd-Desk

基于Electron + Vite4 + Vue3 + WebRTC搭建的远程桌面

简介

billd 远程桌面控制,目前实现了类似ToDesk、向日葵等远程桌面的功能。

生态

直播生态

名称 仓库 star & fork 线上地址
直播间网页端 billd-live github github https://live.hsslive.cn
直播间移动端 billd-live-flutter github github
直播间移动端 billd-live-react-native github github
直播间移动端 billd-live-kotlin github github
直播间客户端 billd-live-electron github github
直播间后台 billd-live-admin github github https://live-admin.hsslive.cn
直播间后端 billd-live-server github github https://live-api.hsslive.cn

远程桌面生态

名称 仓库 star & fork 线上地址
远程桌面网页端 billd-desk github github https://desk.hsslive.cn
远程桌面移动端 billd-desk-flutter github github
远程桌面客户端 billd-desk-electron github github
远程桌面后端 billd-live-server github github https://live-api.hsslive.cn

功能

  • Web端发起远程控制
  • 客户端接收远程控制
  • 客户端发起远程控制
  • 文件传输

本地启动

  • 安装依赖(建议使用 node 版本:v18.19.0)
pnpm i

更新 billd 相关依赖:

pnpm i billd-utils@latest billd-scss@latest billd-html-webpack-plugin@latest
  • 运行
npm run dev
  • 打包
npm run build

兼容性

  • Windows
  • macOS

常见问题

rebuild

npm config set registry https://registry.npmmirror.com
./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,将
    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);
      });
    修改为:
    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

billd-desk's People

Contributors

galaxy-s10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

billd-desk's Issues

ice是怎么部署的

你好,一个很棒的项目,我想问一下,你的ice是基于coturn部署嘛,还有ssr在里面的作用是推流嘛,在投屏的场景可以使用ssr嘛,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.