metacatdud•

What is the diff between this and https://wails.app? It's not very clear to me, but does it support vanilla? Wails for instance it doesn't. Why not vanilla first, then templates?

5
HogynCymraeg•

Vanilla is coming for Wails v2 👍

3
metacatdud•

Heeere you are :)) This is great news!

2
HogynCymraeg•

Vanilla should be possible in V1. Just wrap your js code in the wails.Init method. This needs to happen to ensure the runtime is loaded before your code starts calling on it. I'll see if I can get a template done over the weekend.

For v2, we've got a highly optimised purpose built windowing library that has all the runtine and system assets preloaded before executing your app, so vanilla apps don't need to worry about runtime availability - it's guaranteed to be there. The startup time is 👌

2
HogynCymraeg•

FYI: Vanilla JS template just released in v1.6.0.

1
[deleted]•

[deleted]

2
dev0x0OP•

You’re welcome

1
hqz_•

I haven't looked at this in detail yet, but out of curiosity, can it render any WebGL content?

2
dev0x0OP•

it depends on your system built in webview, if it supported you can use it.

3
Viking_2012•

I was looking for exactly something like this! Will be sure to dig into your repo. Thanks for posting!

2
TylerDurdenJunior•

But it will still have Go as a installed requirement right?

2
dev0x0OP•

Yes Go and CGO enabled

2
TylerDurdenJunior•

Looks interesting, but the requirement of Go is a bit of a turn off for me, when it comes to things being cross platform. It sort of falls into the Java pit.

1
PaluMacil•

Every language needs its compiler installed to develop. If you're asking about a separate runtime, then no, Go doesn't work like that. The runtime is static linked inside the same binary. Nothing needs to be installed.

9
ajr901•

Ooooh I'm excited to play with this! Webview instead of Electron?! Sign me the hell up.

2
neoceejay•

too bad it requires JavaScript- electron clone

2
tobias-hochguertel•

sounds great, I will watch releases on github.

1
MarcelloHolland•

looks promising

0