Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/machinebox/desktop
Go/HTML/CSS/JS Desktop application scaffold.
https://github.com/machinebox/desktop
app application desktop electron golang gui machinebox macos ui windows
Last synced: about 1 month ago
JSON representation
Go/HTML/CSS/JS Desktop application scaffold.
- Host: GitHub
- URL: https://github.com/machinebox/desktop
- Owner: machinebox
- License: apache-2.0
- Created: 2018-05-06T00:23:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-13T19:51:36.000Z (over 6 years ago)
- Last Synced: 2024-06-20T04:06:14.862Z (6 months ago)
- Topics: app, application, desktop, electron, golang, gui, machinebox, macos, ui, windows
- Language: Go
- Size: 436 KB
- Stars: 127
- Watchers: 9
- Forks: 18
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# desktop
Go/HTML/CSS/JS Desktop application scaffold.
[![Default icon which you can customize](misc/icon-small.png)](https://github.com/machinebox/desktop/blob/master/icon.png)
## 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
* https://github.com/machinebox/appify - macOS Application Builder
* https://github.com/zserge/webview - Web view
* https://github.com/gobuffalo/packr - Asset packaging (puts JS/CSS/HTML files into the Go binary)## 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](misc/preview.png)
## 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](https://github.com/machinebox/appify)
project.