Skip to content

machinebox/desktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

desktop

Go/HTML/CSS/JS Desktop application scaffold.

Default icon which you can customize

How it works

Build your application using Go APIs, and an HTML/CSS/JavaScript front-end inside the www folder, just like a normal web root.

Building the package will generate a .app mac application file that will host a simple web server serving the assets and any other endpoints you build.

When run, the application will open a web view into the www folder (and therefore the index.html page).

Usage

Build with: make build, run with: make run

  • See the Makefile for more commands

Dependencies

Install

Use make install to run:

& go get github.com/machinebox/appify
$ go get github.com/jteeuwen/go-bindata/...
$ go get github.com/elazarl/go-bindata-assetfs/...

Run

Run with make run.

To see log output open Console Application and search for My Go Desktop App (or whatever your app ends up being called).

Preview of the default application

Contribute?

We think this project could be much bigger. Got ideas? Get in touch.

What next?

If you want to build other kinds of Go application, and have them built into macOS applications, check out our machinebox/appify project.