gui/cmd/core-website/docs/index.md
Snider 032c426ac3 feat: initial Wails v3 desktop framework
GUI packages, examples, and documentation for building
desktop applications with Go and web technologies.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 08:44:23 +00:00

1.3 KiB
Raw Permalink Blame History

title
Core.Help

Overview

Core is an opinionated framework for building Go desktop apps with Wails, providing a small set of focused modules you can mix into your app. It ships with sensible defaults and a demo app that doubles as inapp help.

Modules

  • Core — framework bootstrap and service container
  • Core.Config — app and UI state persistence
  • Core.Crypt — keys, encrypt/decrypt, sign/verify
  • Core.Display — windows, tray, window state
  • Core.Docs — inapp help and deeplinks
  • Core.IO — local/remote filesystem helpers
  • Core.Workspace — projects and paths

Quick start


import (
    "github.com/wailsapp/wails/v3/pkg/application"
    "github.com/Snider/Core"
    "github.com/Snider/Core/display"
)

func main() {
    app := core.New(
        core.WithServiceLock(),
    )
    wailsApp := application.NewWithOptions(&application.Options{
        Bind: []interface{}{app},
    })
    wailsApp.Run()
}

Services


import (
    core "github.com/Snider/Core"
)

// Register your service
func Register(c *core.Core) error {
    return c.RegisterService("demo", &Demo{core: c})
}