HN user

Maxence

131 karma

I’m a French developer who loves to play with new technologies. I mainly code with Golang, building fancy apps for work and pleasure.

Posts5
Comments18
View on HN

In a previous version, I was using HTML, but it was written as strings. This allowed interaction with Go, but debugging was challenging since the Go compiler does not check the content inside strings, and no editor provides syntax highlighting for HTML embedded in a Go string.

With the current approach, the compiler can validate the written code, making it easier to use other Go code and enabling auto-completion in editors since everything is defined in Go.

Additionally, it eliminates the need to parse HTML, as every node state is represented in a Go-based virtual DOM, with only updates being pushed directly to the actual HTML nodes.

The key point here is that the UI can integrate background mechanisms written in Go, making them easy to use within the interface.

I find that font very beautiful and pleasant to look at.

That said, the licensing seems completely out of touch from reality to me. Today we are living in the cloud area, where data and and workspace are replicated across devices. When I read that you need multiple licences to have it on more than 2 personal devices, that sounds too much of a hassle to consider buying it.

Some people work their ass to make a living and even if ads are annoying, for a lot it is what's keep them moving forward.

Maybe Google makes money by selling other people content but they provide all the infrastructure to allow content creators to have their business first.

Bypassing the ads is hurting mainly content creators, not Google...

Hi, go-app’s creator here.

I did it in previous version and since there is no code check/lint on HTML templates within strings, debugging HTML was a pain in the ass.

More clear is a matter of taste and you can do pretty clear code with this syntax.

Hey folks, just find this post, I’m go-app’s creator. Looks like a bunch of the discussion is about the wasm size. When its gzip it is not that big. People are talking about 15MB, none of my projects reached that size, and they are usually pretty liked by my users.

For the syntax, it is a matter of tastes but things that people like about it is that its full Go and everything is discoverable from your editor with auto completion.

At the end what’s matter is that it’s good enough to build beautiful UI only by using Go and it’s ecosystem.

A couple of years ago, I went to work in SF area and I switched my dev environment for MacOS.

On my free time I love to do some apps and when I started to learn Swift and Cocoa, I got tired of dealing with same things with platform specific complicated stuff.

I decided to build by own GUI tool, written with the Go programming language.

A couple of iteration later (years), it became a WebAssembly library for building progressive web apps.

It is named go-app and you can see how it look like with this dogfooded documentation website: https://go-app.dev

If you like lofi music when working, or you are a fan of World of Warcraft game, there is those 2 others ones built with this package: https://lofimusic.app and https://murlok.io

Hope you find it interesting :)

Hello there, I’m the creator of https://go-app.dev, a similar project based on Go and wasm.

Here are some thought of doing it with Go:

- The language itself is simple, clean and straightforward

- Compile time error checking

- Standard library that cover a lot of use-cases

- Testing and profiling tools out of the box with the language

- There is not that much extra limitations, just you can’t pop a server in the browser or access filesystem (same with other languages)

- When gzipped, wasm binaries are not that bigger than combined js resources on some other websites

- Wasm is supposed to be faster but that depends on the browser implementation and also the ui package you are using

Here is 2 other projects that I built with a Go wasm codebase: https://murlok.io and https://lofimusic.app. Can really do cool things with it.

I'm currently battling with the Microsoft Winrt driver but I'd love to see this happen on Linux too. I guess the driver would use Chromium Embedded Framework. Contributions on that would be more than welcome.

Thank you for the feedback :).

Thank you very much for the feedback.

Let see how things going and time available. Apple did a lot of deprecations between 10.11 and 10.12 which make things a little tricky for older versions. But it's something which will be needed to be addressed for the future. I don't want the package to be tied with the latest MacOS version.

Hello there, This is a package to build apps with Golang, HTML and CSS. For the moment it works only on MacOS but it's designed to be multiplatform.

Wanted to share this with you guys. It would be awesome if you have any feedbacks. Hope you will find it interesting.