3

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

characteristic

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

This update

  1. View style refactoring
  2. demo add category
  3. Optimized demo interface, re-typesetting
  4. Add select folder directory
  5. Increase ipc communication module and apis module syntax unification
  6. Increase routing classification
  7. Increase ipc to support long communication, the server continues to send messages to the page
  8. Increase the operating system pop-up demo
  9. Remove non-essential code
  10. Fix the stretch window blank

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 ......