# wk **Repository Path**: energye/wk ## Basic Information - **Project Name**: wk - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-08-12 - **Last Updated**: 2024-08-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

Go Webkit

是Go基于 LCL & Webkit 构建桌面应用的框架

--- ![go-version](https://img.shields.io/github/go-mod/go-version/energye/wk?logo=git&logoColor=green) [![github](https://img.shields.io/github/last-commit/energye/wk/main.svg?logo=github&logoColor=green&label=commit)](https://github.com/energye/wk) [![release](https://img.shields.io/github/v/release/energye/wk?logo=git&logoColor=green)](https://github.com/energye/wk/releases) ![repo](https://img.shields.io/github/repo-size/energye/wk.svg?logo=github&logoColor=green&label=repo-size) [![Go Report](https://goreportcard.com/badge/github.com/energye/wk)](https://goreportcard.com/report/github.com/energye/wk) [![Go Reference](https://pkg.go.dev/badge/github.com/energye/wk)](https://pkg.go.dev/github.com/energye/wk) [![license](https://img.shields.io/github/license/energye/wk.svg?logo=git&logoColor=red)](http://www.apache.org/licenses/LICENSE-2.0) --- ### 项目简介 > [Go Webkit(wk)](https://github.com/energye/wk) > 是 Go 基于 > [LCL](https://www.lazarus-ide.org/)、 > [Webkit](https://www.webkitgtk.org/) > 开发的框架 > >> LCL - 基础库, 图形用户界面(GUI)组件库, 提供了非常丰富的系统原生控件 >> >> Webkit - 浏览器组件库, 在LCL基础上封装的Webview2库 >> >> 使用 Go 和 Web 端技术 ( HTML + CSS + JavaScript ) 构建支持Windows平台桌面应用。 >> >> 将web内容无缝集成到应用程序中,并自定义内容交互以满足应用程序的需求。 > > 构建&使用 > >> LCL 单独使用, 开发原生图形用户界面(GUI)应用. 轻量级, 丰富的系统原生控件 > >> LCL + Webkit 混合使用, 开发原生图形用户界面(GUI)和浏览器应用. 轻量级 ### 特点 > - 开发环境简单, 编译速度快, 仅需Go和Webkit所需的动态链接库 > - 前端技术: 支持主流前端框架。例如:Vue、React、Angular 和 原生HTML+CSS+JS等 > - 事件驱动: 高性能事件驱动, 基于IPC通信,实现Go和Web端快速调用及数据交互 > - 资源加载: 可无需http服务支撑,直接读取本地资源或内置到执行文件的资源, 也支持http服务加载资源 ### 内置依赖&集成 - [![LCL](https://img.shields.io/badge/LCL-green)](https://github.com/energye/lcl) #### 基本需求 > - Golang >= 1.20 > - 动态链接库 `liblcl.dll` #### 开发环境 1. 安装 [Golang](https://golang.google.cn/dl/), Linux、Darwin版本 [https://golang.google.cn/dl](https://golang.google.cn/dl) 2. 下载 `LCL` 控件库动态链接库, [下载地址](https://github.com/energye/lcl/tree/main/bins/webkit) 3. 将动态链接库配置到环境变量 `ENERGY_HOME` 目录下, 或放置到和执行文件 `exe` 同一目录 4. 创建Go项目开始使用 `LCL` 构建桌面应用, 参考 `Go Webkit` 示例 [Webkit examples](https://github.com/energye/examples/tree/main/wk) ### 相关项目 * [Go LCL](https://github.com/energye/lcl) * [Go Webview2](https://github.com/energye/wv) * [Go CEF](https://github.com/energye/cef) * [Go Webkit](https://github.com/energye/wk) * [WebView4Delphi](https://github.com/salvadordf/WebView4Delphi) * [CEF](https://github.com/chromiumembedded/cef) * [CEF4Delphi](https://github.com/salvadordf/CEF4Delphi) * [CefSharp](https://github.com/cefsharp/CefSharp) * [Java-CEF](https://bitbucket.org/chromiumembedded/java-cef) * [cefpython](https://github.com/cztomczak/cefpython) * [Chromium](https://chromium.googlesource.com/chromium/src/) --- ### 欢迎加入 energy底层由多个项目模块组成, 因过于复杂扔处于建设的过程中,有很多的事情无法独自完成,如果有感兴趣的同学想参与energy的实现或学习,可通过微信或QQ联系我。 如果你觉得此项目对你有帮助,请点亮 Star --- ### ENERGY QQ交流群 & 微信

QQ交流群: 541258627 微信: sniawmdf

--- ### 鸣谢 Jetbrains

JetBrains Logo (Main) logo.

--- ### 项目截图 赞未提供编译动态链接库 ---- ### 开源协议 [![license](https://img.shields.io/github/license/energye/wk.svg?logo=git&logoColor=green)](http://www.apache.org/licenses/LICENSE-2.0)