Member-only story
Wails, a cross-platform framework enables you to write desktop apps using Go
Wails is a cross-platform framework and some people even call it an Electron alternative for Go which enables you to write desktop apps.
if you are not a Medium premium member, you can read it for free here.
Few days ago I came across Wails and built a simple app with it and I was like, “Man, this is so cool”. The cool thing about it is the varity of templates and support for the top frontend libs out there. They support Svelte, React, Vue, Preact, Lit, and even though there’s no template for Angular, but you can use Wails with Angular as well, plus you can use it in Vanilla Javascript.
Getting Started
Before installing Wails, you need to have the following already insatallled in your machine:
- Go 1.20+
Install it from https://go.dev/dl/ and once installed, run this in your terminal:echo $PATH | grep ~/go/binIf this command returns nothing, it means~/go/binis not currently in yourPATHand you need to add it. You can do so by runningexport PATH=$PATH:~/go/binin your terminal and reload the config file, ex. for Zshsource ~/.zshrc( or just close and open your terminal ). You can verify the pat by runningecho $PATH | grep ~/go/binagain and rungo versionto verify your Go instllation.










