energye / energy

Energy is a framework developed by Go language based on CEF (Chromium Embedded Framework) for developing cross-platform desktop applications for Windows, Mac OS X, and Linux
https://energye.github.io
Apache License 2.0
382 stars 29 forks source link
browser cef chromium desktop go gocef golang golang-chromium golangui gui linux linux-desktop macos macos-desktop macosx v8 windows windows-desktop

Energy is a GUI framework developed by Go, based on LCL and CEF

中文 | English


go-version github release Build Status repo Go Report Go Reference Discord codecov contributors license

Project Introduction

Characteristic

Built-in dependency&integration

Development Environment

Basic needs

Environmental installation

Automatic installation development environment using the energy command-line tool

Guide to Start - Link

Quick Start

Run a simple application by three steps

  1. Install development environment: energy install
  2. Initiate an Application: energy init
  3. Run the Application: go run main.go

sample code

main.go

package main

import (
    "github.com/energye/energy/v2/cef"
)

func main() {
     //Global initialization
     cef.GlobalInit(nil, nil)
     //Create an application
     app := cef.NewApplication()
     //Specify a URL address or local HTML file directory
     cef.BrowserWindow.Config.Url = "https://energye.github.io"
     //Run Application
     cef.Run(app)
}

Build

  1. Build:energy build
  2. Package:energy package
  3. Package Type:
    • windows: Using nsis create exe installation package
    • linux: Using dpkg create deb installation package
    • macos: Generate xxx.app

System support

Windows MacOS Linux

32 Bit 64 Bit Test System Version
Windows Windows Windows Windows XP SP3、 7、10、11
MacOSX MacOSX MacOSX MacOSX 10.15
MacOS M1 M2 MacOS MacOS MacOS M2
Linux Linux Linux Deepin20.8、Ubuntu18.04、LinuxMint21
Linux ARM Linux ARM Linux ARM Kylin-V10-SP1-2107

Related Projects


Welcome to join

join energy throwing in the process of construction, there are many things that cannot be completed alone, if there are interested students who want to participate in the realization or learning of energy, you can contact me through WeChat or QQ.

If this project is helpful to you, please give me a star


ENERGY QQ Group & WeChat

QQ Group: 541258627 WeChat: sniawmdf


Thanks Jetbrains

JetBrains Logo (Main) logo.


Project screenshot

Windows-10
Windows-7 32 & 64
Windows-XP-SP3
Linux - Deepin
Linux - Kylin ARM
Linux - Ubuntu
MacOSX

Public License

license

Contributors