vecty
Vecty lets you build responsive and dynamic web frontends in Go using WebAssembly, competing with modern web frameworks like React & VueJS. (by hexops)
hlive
HLive is a server-side WebSocket based dynamic template-less view layer for Go. (by SamHennessy)
vecty | hlive | |
---|---|---|
8 | 7 | |
2,830 | 100 | |
0.0% | 0.0% | |
0.0 | 0.0 | |
over 2 years ago | over 1 year ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vecty
Posts with mentions or reviews of vecty.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-21.
-
Is there a Yew.rs like framework for Go?
Vecty
-
Projects without writing any of the front end.
It depends on how specifically you don't want to write HTML/CSS/JS and how broad your definition of "frontend" is. There are a handful of all-go frontend frameworks such as Vecty and Vugu of varying maturity and completeness. Then there's other libraries that more or less have you write HTML tags in go, such as go-app.
-
Is there any way to interop with JS in Zig/RS/C/C++?
It draws on Go's syscall/js library as inspiration, which is pretty powerful (I wrote a pretty popular React-like framework using it a while back.)
-
Migrating from NodeJS/Typescript into Golang. Any advise for big web application?
A note on wasm: I'm building a hobby project with it right now and have tried different frameworks, I tried vecty which is nice to compile but full of bugs and unexpected behavior. I'm now on vugu which works better but is still harder to work with than a JS framework.
-
What frontend libraries do exist in Go?
https://github.com/hexops/vecty/ is a framework for developing dynamic web frontends in Go. It's not production-ready, and will likely get some rewrites once generics drop, but it's pretty neat (I'm a contributor).
-
Go for web frontend
There's Vecty, though it's likely to get a bit of a redesign once generics drops.
-
go-app V8 release
How does it compare to https://github.com/hexops/vecty or https://github.com/bep/gr ?
-
Daz: Composable HTML components in golang
Reminds me of Vecty from the GopherJS project: https://github.com/hexops/vecty .
hlive
Posts with mentions or reviews of hlive.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-07.
- Any open source projects need help ?
-
What makes Go unsuitable for UI development?
I do a lot of wired stuff with server-side virtual DOM, and I've found Go a good fit. I don't think inheritance is a problem with designing a component library. I've used struct and interface embedding to share common functionality. (see Tag and Tagger, then Component and Componenter as sort of examples).
-
My experiment in creating a good-performing alternative to ReactJS in Go
Poking through the repo at https://github.com/SamHennessy/hlive now. It's particularly interesting to me because I wanted to write a virtual DOM for something that did serverside rendering and clientside via WASM. I wanted to be able to parse a template language much like jsx or Angular templates for a delcarative syntax. A friend of mine I worked with years ago and I set up a 3 day hackathon. We went through some design work, decided we didn't have time in our lives to take on a project like this, and settled on using Go's html templating. I tried to reuse a lot of the concepts using a two pass method (since you can't hook into the parsing but can always register DOM listeners) thinking I could accept a little inefficiency in exchange for a lot less work. Finally, the weekend was over. We had some interesting ideas collected with some innovative new thoughts on state management, but he dove into his next project using Vue instead, and I haven't had time to continue.
-
Side projects
I'd appreciate it if you tried to build something using this: https://github.com/SamHennessy/hlive
- HLive Update: Added Testing, Plugins, PubSub, and more. See comments for details
- What frontend libraries do exist in Go?
- Looking for early feedback on my new Phoenix LiveView inspired project.
What are some alternatives?
When comparing vecty and hlive you can also consider the following projects:
vugu - Vugu: A modern UI library for Go+WebAssembly (experimental)
live - Live views and components for golang
go-canvas - Library to use HTML5 Canvas from Go-WASM, with all drawing within go code
react - Super lightweight Go bindings for react.js
spago - SpaGo is toolkit for Single Page Application.
pulp - Dynamic, server-side web-applications.