HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Maxence

no profile record

Submissions

Go-App V8: Build SEO Friendly PWA with Golang and WASM

go-app.dev
1 points·by Maxence·hace 5 años·0 comments

comments

Maxence
·el año pasado·discuss
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.
Maxence
·el año pasado·discuss
Hey, I’m the creator of go-app. What a surprise to come across this post on HN! I’m really happy to see you folks built something that fits your needs with it. Wishing you continued success with your product!
Maxence
·hace 4 años·discuss
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.
Maxence
·hace 5 años·discuss
I do it, but the point is most of the people don't, they simply watch YouTube.

I'm also a content creator myself, guess what, most of my revenues come form ads, not Patreon.
Maxence
·hace 5 años·discuss
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...
Maxence
·hace 5 años·discuss
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.
Maxence
·hace 5 años·discuss
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.
Maxence
·hace 5 años·discuss
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 :)
Maxence
·hace 5 años·discuss
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.
Maxence
·hace 5 años·discuss
Hello there, I’m the guy who made https://lofimusic.app

Just wanted to tell you it looks good :), keep up the good work!