One command turns any web site into desktop software

It used to take a lot of people and time to develop desktop software. Now with the advent of Electron, the development threshold has been greatly simplified. Today, I’m going to introduce you to a tool that allows you to turn a website into an installable desktop application in 5 minutes.

The tools required

  • Electron – Egg is a simple, fast, feature-rich cross-platform desktop software development framework.
  • Check out the electron- Egg tutorial

Results the following

Installation tools

  1. download

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

    # speed installation, the use of domestic mirror NPM config set registry https://registry.npm.taobao.org # into the directory/electron - an egg/NPM installCopy the code
  3. Configure your site

    RemoteUrl: {enable: true, // enable: true url: 'https://discuz.chat/' // any url},Copy the code
  4. Packaged as executable programs (Windows, macOS, Linux) all supported

    # 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 (M1 chip architecture) # Package (Linux version) NPM Run build-LCopy the code
  5. The installation package is here

    Exe (DMG, dep, etc.)Copy the code

6. Come and try the effect

More usage

Check out the electron- Egg tutorial