https://github.com/marcus-crane/wails-mint-template
A template for using Mint Lang with Wails
https://github.com/marcus-crane/wails-mint-template
crystal-lang mint-lang wails wails-app
Last synced: about 1 month ago
JSON representation
A template for using Mint Lang with Wails
- Host: GitHub
- URL: https://github.com/marcus-crane/wails-mint-template
- Owner: marcus-crane
- Created: 2021-12-28T09:19:59.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-29T10:37:03.000Z (over 4 years ago)
- Last Synced: 2025-07-04T21:06:54.368Z (12 months ago)
- Topics: crystal-lang, mint-lang, wails, wails-app
- Language: Go
- Homepage:
- Size: 55.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wails-mint-template
> 🏗 UNDER CONSTRUCTION
## About
A basic template that allows you to develop a Wails application using [Mint Lang](https://www.mint-lang.com/), a [Crystal](https://crystal-lang.org/)-powered programming language designed specifically for creating SPAs.
## Live Development
To run in live development mode, run `wails dev`. This will invoke `mint start` behind the scenes.
Your application will appear in a window but if you prefer to use a browser, you can navigate to http://localhost:34115.
The Mint server runs on http://localhost:3000 but it won't be able to talk to your Go backend unless you use the address above.
Initially, you may get an error about `frontend/dist` not being found. Run `wails build` once to generate it and you should be good to go.
## Building
To build a redistributable, production mode package, use `wails build`.
## Issues
Unfortunately I don't know very much about Mint. I came across it recently and thought it would be interesting test to make a Wails template.
My intention is to replace the stock Mint start screen with a recreation of the Wails screen to demonstrate how to use Mint with Wails.
[Javascript Interoperability](https://www.mint-lang.com/guide/reference/javascript-interop) is supposed so it's possible in theory to use Mint with the Wails runtime but I haven't got a working example just yet.
With that said, use this template at your own risk and don't assume anything works until proven.