Currently, there are nearly 7 million developers in China, and desktop software is becoming mediocre due to learning barriers and mobile trends. However, in our daily work, desktop software is indispensable, so we hope to have a low learning threshold, support multi-platform software framework. Out of this need, the electron-egg was born.

Electron – Egg is a simple, fast, feature-rich JS cross-platform desktop software development framework that you only need to know the JS language to develop.

  • 🏆 code cloud most valuable open source project
  • Address: gitee.com/wallace5303…

features

  1. Cross-platform: a set of code that can be packaged as Windows, Mac, Linux, or a Web site
  2. Simple and efficient: Supports front-end technologies such as VUE, React, and EJS
  3. Engineering: you can use server-side development thinking to write desktop software
  4. High performance: Can start multiple worker processes
  5. Rich functions: The server can be used in all technical scenarios, such as routing, middleware, controllers, services, scheduled tasks, queues, and plug-ins
  6. Function Demo: common desktop software functions, which can be integrated and improved gradually or provided with demo
  7. See documentation for more

Recent updates

  1. Add chrome extensions
  2. Add Web (HTML) content embedding
  3. Added multiple Windows to open
  4. Adding Desktop Notifications
  5. Adding Power Monitoring
  6. Added obtaining display information
  7. Added system theme Settings
  8. Modifying function Categories

Usage scenarios

1. General desktop software

  • demo

2. Games (H5-related technology development)

  • Ninja 100 layers

3. Change any website into desktop software

  • Youtube

  • Discuz – q BBS

4. The web project

  • Website assistant: b.kaka996.com/

Begin to use

  1. download

    # gitee
    git clone https://gitee.com/wallace5303/electron-egg.git
    # github
    git clone https://github.com/wallace5303/electron-egg.git
    Copy the code
  2. The installation

    # Improve installation speed, use domestic mirror; NPM config set registry https://registry.npm.taobao.org # into the directory/electron - an egg/NPM installCopy the code
  3. Common commands

    Vue CD frontend && NPM install && NPM run serve # 2: / &&npm run dev # Prod) NPM run start # package - Windows version NPM run build-w (32-bit) NPM run build-w-64 (64-bit) # package - MAC version NPM run build-m NPM run Build m-arm64 (Apple M1 chip architecture) # package - Linux version NPM run build-l # Web run - development mode NPM run web-dev # Web run - producer mode -start NPM run web-start # Web Run - Producer mode - Stop NPM run web-stopCopy the code

I look forward to your try