1

A simple, fast, and feature-rich JS cross-platform desktop software development framework.

characteristic

  1. Cross-platform: a set of code, which can be packaged into windows version, Mac version, Linux version or run on web site
  2. Simple and efficient: support front-end technologies such as vue, react, ejs, etc.
  3. Engineering: You can use server-side development thinking to write desktop software
  4. High performance: multiple work processes can be started
  5. Rich functions: all technical scenarios on the server side can be used, such as routing, middleware, controllers, services, timing tasks, queues, plug-ins, etc.
  6. Function demo: common functions of desktop software, follow-up to gradually integrate and improve or provide demo
  7. See the documentation for more functions

This update

  1. Add chrome extension (emphasis)
  2. Increase web (html) content embedding
  3. Add multiple windows to open
  4. Add desktop notification
  5. Increase power monitoring
  6. Increase access to display information
  7. Increase system theme settings
  8. Modify function classification

scenes to be used

1. Regular Desktop Software

  • demo


2. Game (h5 related technology development)

  • Ninja 100 layers

3. Turn any website into desktop software

  • Youtube

  • discuz-q forum

4. Web Project

start using

  1. download

    # gitee
    git clone https://gitee.com/wallace5303/electron-egg.git
    # github
    git clone https://github.com/wallace5303/electron-egg.git
  2. Install

    # 提升安装速度,使用国内镜像;
    npm config set registry https://registry.npm.taobao.org
    # 进入目录 ./electron-egg/
    npm install
  3. Common commands

    # 开发者模式
        # 1:【进入前端目录】,启动vue
        cd frontend && npm install && npm run serve
        
        # 2:【根目录】,启动后端服务
        cd ../ && npm run dev
    
    # 预发布模式(环境变量为:prod)
    npm run start
    
    # 打包-windows版本
    npm run build-w (32位)
    npm run build-w-64 (64位)
    
    # 打包-mac版本
    npm run build-m
    npm run build-m-arm64 (苹果M1芯片架构)
    
    # 打包-linux版本
    npm run build-l
    
    # web运行-开发模式
    npm run web-dev
    
    # web运行-生产者模式-启动
    npm run web-start
    
    # web运行-生产者模式-停止
    npm run web-stop

哆啦好梦
370 声望403 粉丝

electron-egg框架作者,喜欢唱、跳、rap、篮球,music ......