{"id":13413117,"url":"https://github.com/energye/energy","last_synced_at":"2025-05-15T20:03:33.940Z","repository":{"id":61618705,"uuid":"545016444","full_name":"energye/energy","owner":"energye","description":"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","archived":false,"fork":false,"pushed_at":"2025-03-24T13:06:59.000Z","size":35987,"stargazers_count":463,"open_issues_count":7,"forks_count":33,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-05-13T06:43:10.432Z","etag":null,"topics":["browser","cef","chromium","desktop","go","gocef","golang","golang-chromium","golangui","gui","linux","linux-desktop","macos","macos-desktop","macosx","v8","windows","windows-desktop"],"latest_commit_sha":null,"homepage":"https://energye.github.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/energye.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-03T16:30:08.000Z","updated_at":"2025-05-04T02:38:01.000Z","dependencies_parsed_at":"2023-10-15T07:59:43.105Z","dependency_job_id":"98629bfe-a5f8-4b7a-9304-2bcf3aa6bb71","html_url":"https://github.com/energye/energy","commit_stats":{"total_commits":1869,"total_committers":7,"mean_commits":267.0,"dds":0.05082932049224187,"last_synced_commit":"54d79de5b3125aa7e3814e9afb514ba0927c60f2"},"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/energye%2Fenergy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/energye%2Fenergy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/energye%2Fenergy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/energye%2Fenergy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/energye","download_url":"https://codeload.github.com/energye/energy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254414493,"owners_count":22067271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["browser","cef","chromium","desktop","go","gocef","golang","golang-chromium","golangui","gui","linux","linux-desktop","macos","macos-desktop","macosx","v8","windows","windows-desktop"],"created_at":"2024-07-30T20:01:33.720Z","updated_at":"2025-05-15T20:03:31.759Z","avatar_url":"https://github.com/energye.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://energye.github.io/imgs/energy.png\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\" style=\"font-size: 24px;\"\u003e\n    \u003cstrong\u003e\n        Energy is a GUI framework developed by Go, based on LCL and CEF\n    \u003c/strong\u003e\n\u003c/p\u003e\n\n[中文](README.zh_CN.md) |\nEnglish\n\n---\n\n![go-version](https://img.shields.io/github/go-mod/go-version/energye/energy?logo=git\u0026logoColor=green)\n[![github](https://img.shields.io/github/last-commit/energye/energy/main.svg?logo=github\u0026logoColor=green\u0026label=commit)](https://github.com/energye/energy)\n[![release](https://img.shields.io/github/v/release/energye/energy?logo=git\u0026logoColor=green)](https://github.com/energye/energy/releases)\n![Build Status](https://github.com/energye/energy/actions/workflows/build-test.yml/badge.svg)\n![repo](https://img.shields.io/github/repo-size/energye/energy.svg?logo=github\u0026logoColor=green\u0026label=repo-size)\n[![Go Report](https://goreportcard.com/badge/github.com/energye/energy)](https://goreportcard.com/report/github.com/energye/energy/v2)\n[![Go Reference](https://pkg.go.dev/badge/github.com/energye/energy)](https://pkg.go.dev/github.com/energye/energy/v2)\n[![Discord](https://img.shields.io/discord/1303173966747271209)](https://discord.gg/TejjxKz9)\n[![codecov](https://codecov.io/gh/energye/energy/graph/badge.svg?token=H370UFUF12)](https://codecov.io/gh/energye/energy)\n[![contributors](https://img.shields.io/github/contributors/energye/energy)](https://github.com/energye/energy/graphs/contributors)\n[![license](https://img.shields.io/github/license/energye/energy.svg?logo=git\u0026logoColor=red)](http://www.apache.org/licenses/LICENSE-2.0)\n---\n\n### [Project Introduction](https://energye.github.io/en/course/what-is-energy)\n\n- Energy is a GUI framework developed in Go, based on [LCL](https://gitlab.com/freepascal.org/lazarus/lazarus) and [CEF](https://bitbucket.org/chromiumembedded/cef)(Chromium Embedded Framework), which is used to develop cross-platform desktop applications for Windows, MacOS, and Linux.\n- LCL alone can create lightweight native applications, or can be combined with CEF to create more feature-complete applications.\n- Construct cross-platform desktop applications that support Windows, Linux, and MacOS using Go and web technologies (HTML + CSS + JavaScript).\n\n### Characteristic\n\n- Rich CEF API and LCL system native widgets\n- Development environment is simple and the compilation speed is fast. Only need Go and Energy.\n- Cross-Platform: You can package your code as Windows, domestic UOS, Deepin, Kylin, MacOS and Linux\n- Responsibilities\n  - Go: Go is responsible for creating Windows, configuring CEF and implementing functions, creating various UI components, calling the low level of the system and some functions that JS cannot handle, such as: file flow, security encryption, high-performance processing, etc.\n  - Web: HTML + CSS + JavaScript is responsible for the function of the client interface, you can make any interface you want.\n- Front-end technology: Support mainstream frameworks, such as Vue, React, Angular or pure HTML+CSS+JS.\n- Event driven: High performance event driven communication based on IPC allowing intercommunication between Go and Web.\n- Resource loading: You can either read local resources or resources built into execution files either with or without HTTP services.\n\n### Built-in dependency\u0026integration\n\n- [![LCL](https://img.shields.io/badge/LCL-green)](https://github.com/energye/golcl)\n- [![CEF-CEF4Delphi](https://img.shields.io/badge/CEF(Chromium%20Embedded%20Framework)%20CEF4Delphi-green)](https://github.com/salvadordf/CEF4Delphi)\n\n### [Development Environment](https://energye.github.io/en/course/getting-started)\n\n#### Basic needs\n\n- Golang \u003e= 1.18\n- Energy (CEF, liblcl)\n\n#### Environmental installation\n\nAutomatic installation development environment using the energy [command-line tool](https://energye.github.io/en/course/cli-use/)\n\n### Guide to Start - [Link](https://energye.github.io/en/course/getting-started)\n\n- [Guide](https://energye.github.io/en/course/getting-started)\n- [Example](https://energye.github.io/en/examples)\n- [Document](https://energye.github.io/en/document)\n\n### Quick Start\n\n- [Getting Started](https://energye.github.io/en/course/getting-started)\n\n### Run a simple application by three steps\n\n1. Install development environment: `energy install`\n2. Initiate an Application: `energy init`\n3. Run the Application: `go run main.go`\n\n### sample code\n\nmain.go\n\n```go\npackage main\n\nimport (\n    \"github.com/energye/energy/v2/cef\"\n)\n\nfunc main() {\n     //Global initialization\n     cef.GlobalInit(nil, nil)\n     //Create an application\n     app := cef.NewApplication()\n     //Specify a URL address or local HTML file directory\n     cef.BrowserWindow.Config.Url = \"https://energye.github.io\"\n     //Run Application\n     cef.Run(app)\n}\n```\n\n### Build\n\n1. Build：`energy build`\n2. Package：`energy package`\n3. Package Type：\n    - windows: Using `nsis` create exe installation package\n    - linux: Using `dpkg` create deb installation package\n    - macos: Generate `xxx.app`\n\n### [System support](https://energye.github.io/en/document/version-details)\n\n![Windows](https://img.shields.io/badge/Windows-✔️-success.svg?logo=Windows\u0026logoColor=blue)\n![MacOS](https://img.shields.io/badge/MacOS-✔️-success.svg?logo=MacOS)\n![Linux](https://img.shields.io/badge/Linux-✔️-success.svg?logo=Linux\u0026logoColor=red)\n\n| OS                    | 32-bit | 64-bit |\n|-----------------------|--------|--------|\n| Windows               | ️✔️    | ️✔️    |\n| MacOSX (Intel)        | ❌      | ️✔️    |\n| MacOS (Apple Silicon) | ❌      | ️✔️    |\n| Linux                 | ️✔️    | ️✔️    |\n| Linux ARM             | ️✔️    | ️✔️    |\n\n### v3.0 Related Projects\n- [LCL](https://github.com/energye/lcl)\n- [CEF](https://github.com/energye/cef)\n- [Webview2 Webkit2](https://github.com/energye/wv)\n\n### Other Projects\n\n- [CEF(Chromium Embedded Framework)](https://github.com/chromiumembedded/cef)\n- [CEF4Delphi](https://github.com/salvadordf/CEF4Delphi)\n- [CefSharp](https://github.com/cefsharp/CefSharp)\n- [Java-CEF](https://bitbucket.org/chromiumembedded/java-cef)\n- [cefpython](https://github.com/cztomczak/cefpython)\n- [Chromium](https://chromium.googlesource.com/chromium/src/)\n\n---\n\n### ENERGY QQ Group \u0026 WeChat\n\n**Innovative functions break through difficulties. Light up the `star` and strive forward together!**\n\n---\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://energye.github.io/imgs/assets/qq-group.jpg\" width=\"250\" title=\"QQ Group: 541258627\" alt=\"QQ Group: 541258627\"\u003e\n    \u003cimg src=\"https://energye.github.io/imgs/assets/we-chat.jpg\" width=\"250\" title=\"WeChat: sniawmdf\" alt=\"WeChat: sniawmdf\" style=\"margin-left: 30px;\"\u003e\n\u003c/p\u003e\n\n---\n\n### Thanks Jetbrains\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.jetbrains.com?from=energy\"\u003e\n        \u003cimg src=\"https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg\" alt=\"JetBrains Logo (Main) logo.\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n### Project screenshot\n\n##### Windows-10\n\n\u003cimg src=\"https://energye.github.io/imgs/readme/frameless-windows-10.png\"\u003e\n\n##### Windows-7 32 \u0026 64\n\n\u003cimg src=\"https://energye.github.io/imgs/readme/frameless-windows-7-64.png\"\u003e\n\u003cimg src=\"https://energye.github.io/imgs/readme/frameless-windows-7-32.png\"\u003e\n\n##### Windows-XP-SP3\n\n\u003cimg src=\"https://energye.github.io/imgs/readme/windows-xp-sp3.png\"\u003e\n\n##### Linux - Deepin\n\n\u003cimg src=\"https://energye.github.io/imgs/readme/frameless-deepin-20.8.png\"\u003e\n\u003cimg src=\"https://energye.github.io/imgs/readme/frameless-deepin-hide-20.8.png\"\u003e\n\n##### Linux - Kylin ARM\n\n\u003cimg src=\"https://energye.github.io/imgs/readme/frameless-kylin-arm-V10-SP1.png\"\u003e\n\u003cimg src=\"https://energye.github.io/imgs/readme/frameless-kylin-arm-hide-V10-SP1.png\"\u003e\n\n##### Linux - Ubuntu\n\n\u003cimg src=\"https://energye.github.io/imgs/readme/frameless-ubuntu-18.04.6.png\"\u003e\n\u003cimg src=\"https://energye.github.io/imgs/readme/frameless-ubuntu-hide-18.04.6.png\"\u003e\n\n##### MacOSX\n\n\u003cimg src=\"https://energye.github.io/imgs/readme/frameless-macos.png\"\u003e\n\n----\n\n### Public License\n\n[![license](https://img.shields.io/github/license/energye/energy.svg?logo=git\u0026logoColor=green)](http://www.apache.org/licenses/LICENSE-2.0)\n\n### Contributors\n\n\u003ca href=\"https://github.com/energye/energy/graphs/contributors\"\u003e\n    \u003cimg src=\"https://opencollective.com/energy/contributors.svg?width=890\u0026button=false\" /\u003e\n\u003c/a\u003e\n","funding_links":[],"categories":["GUI","Go"],"sub_categories":["Search and Analytic Databases","检索及分析资料库"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenergye%2Fenergy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenergye%2Fenergy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenergye%2Fenergy/lists"}