wails README

The project's README from github.com/wailsapp/wails. As one markdown file: README.md.


Build desktop applications using Go & Web Technologies.

GitHub Go Reference CodeFactor Awesome Discord
Build GitHub tag (latest SemVer pre-release)

English · 简体中文 · 日本語 · 한국어 · Español · Português · Русский · Francais · Uzbek · Deutsch · Türkçe · Bahasa Indonesia

Table of Contents

Introduction

The traditional method of providing web interfaces to Go programs is via a built-in web server. Wails offers a different approach: it provides the ability to wrap both Go code and a web frontend into a single binary. Tools are provided to make this easy for you by handling project creation, compilation and bundling. All you have to do is get creative!

Features

Roadmap

The project roadmap may be found here. New functionality and public behaviour changes use a WEP (Wails Enhancement Proposal), submitted as a draft pull request rather than a feature-request issue.

Getting Started

Wails has two active versions:

Version Status Install Docs
v2 Stable go install github.com/wailsapp/wails/v2/cmd/wails@latest wails.io
v3 Beta go install github.com/wailsapp/wails/v3/cmd/wails3@latest v3.wails.io

Full installation instructions are available for v2 and v3.

Sponsors

This project is supported by these kind people / companies:

Powered By

JetBrains logo.

FAQ

Stargazers over time

Wails star history chart

Contributors

The contributors list is getting too big for the readme! All the amazing people who have contributed to this project have their own page here.

License

FOSSA Status

Inspiration

This project was mainly coded to the following albums:

wails (wailsapp/wails)

Searching Database…

36.6K ·GitHub
这是什么?Wails 是一个用 Go 构建桌面应用的框架:它把你的 Go 后端和网页前端打包成一个可执行文件,还提供创建、编译和打包项目的配套工具。
它是框架还是一个普通的库?是框架——它自带一个功能强大的命令行工具,可以生成新项目并处理编译和打包,而不只是供你导入的代码。
我必须用指定的前端技术来写界面吗?不用——你已经会的任何前端技术都能用,它还内置了 React、Vue、Svelte、Angular 等的现成模板。
它像 Electron 那样内置一个浏览器吗?不。它直接调用操作系统自带的网页引擎来渲染界面,而不是打包一个内嵌浏览器,所以应用很轻量。
它主要是给 Go 开发者用的吗?主要是:它面向想在自己应用里集成 HTML/JS/CSS 前端的 Go 程序员,不用另起服务器再打开浏览器查看。
同一个应用能同时在 Windows、macOS 和 Linux 上发布吗?可以——它是跨平台的,一个 Go 后端加一个网页前端就能覆盖 Windows、macOS 和 Linux。
它和 Electron 相比怎么样?作者称它是面向 Go 开发者的轻量级 Electron 替代品:它提供菜单、对话框这类原生功能,但到底适不适合你,还得看你的具体需求。
JavaScript 能调用我的 Go 代码吗?能——你可以从 JavaScript 直接调用 Go 方法,Wails 会自动为你的 Go 结构体和方法生成 Typescript 定义,而且两边的事件是统一互通的。
v2 和 v3 现在各自是什么状态?v2 已经稳定,文档在 wails.io;v3 还在测试阶段,安装后的命令是 'wails3',文档在 v3.wails.io。
为什么叫 Wails?它最初是 'Webview on Rails' 的双关语——像 Rails 服务于 Ruby 那样,为 webview 应用提供一套工具;恰好它也和作者祖国的国名同音。
Creator
wailsapp
Size
507.3 MB
Stars
36.6K
Age
7y
Commits · 90 Days