Giter Club home page Giter Club logo

billd-desk-electron's Introduction

Billd-Desk logo

Billd-Desk

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

简介

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

生态

名称 仓库 star & fork 线上地址
直播间网页端 billd-live github github https://live.hsslive.cn
远程桌面 billd-desk github github https://desk.hsslive.cn
直播间移动端 billd-live-react-native github github
直播间移动端 billd-live-flutter github github
直播间移动端 billd-live-kotlin github github
直播间后台 billd-live-admin github github https://live-admin.hsslive.cn
直播间后端 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-electron's People

Contributors

galaxy-s10 avatar

Stargazers

Woodenman avatar yang avatar

Watchers

 avatar

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.