go-webview-svelte

Go Webview Svelte

Starter desktop app using go and svelte

go-webview-svelte

Starter repo that wraps svelte with webview. Frontend assets are embedded into the go binary using pkger.

building

Webview has certain depedencies (details in their readme). I've only setup this up on my linux laptop running elementry OS.

sudo apt install pkg-config libgtk-3-dev libwebkit2gtk-4.0-dev
make deps build

running

./go-webview-svelte

after cloning

You probably want to delete .git and change the project name in go.mod and frontend/package.json

Top categories

Loading Svelte Themes