Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

vecty

> 前端框架
Open source

Vecty lets you build responsive and dynamic web frontends in Go using WebAssembly, competing with modern web frameworks like React & VueJS.

2.9K stars0 likes0 views
WebsiteGitHub

About

Vecty lets you build responsive and dynamic web frontends in Go using WebAssembly, competing with modern web frameworks like React & VueJS.

Vecty lets you build responsive and dynamic web frontends in Go using WebAssembly, competing with modern web frameworks like React & VueJS. [](https://pkg.go.dev/github.com/hexops/vecty) [](https://godoc.org/github.com/hexops/vecty) [](https://codecov.io/gh/hexops/vecty) Benefits ======== - Go developers can be competitive frontend developers. - Share Go code between your frontend & backend. - Reusability by sharing components via Go packages so that others can simply import them. Goals ===== - _Simple_ - Designed from the ground up to be easily mastered _by newcomers_ (like Go). - _Performant_ - Efficient & understandable performance, small bundle sizes, same performance as raw JS/HTML/CSS. - _Composable_ - Nest components to form your entire user interface, seperating them logically as you would any normal Go package. - _Designed for Go (implicit)_ - Written from the ground up asking the question _"What is the best way to solve this problem in Go?"_, not simply asking _"How do we translate $POPULAR_LIBRARY to Go?"_ Features ======== - Compiles to WebAssembly (via standard Go compiler). - Small bundle sizes: 0.5 MB hello world (see section below). - Fast expectation-based browser DOM diffing ('virtual DOM', but less resource usage). Vecty vs. Vugu ============== If you're wondering if you should use Vecty or [Vugu](https://www.vugu.org/), consider reading [this Twitter thread](https://twitter.com/JohanBrandhorst/status/1452393594283831297) for advice from both myself and the creator of Vugu. Current Status ============== **Vecty is currently considered to be an experimental work-in-progress.** Prior to widespread production use, we must meet our [v1.0.0 milestone](https://github.com/hexops/vecty/issues?q=is%3Aopen+is%3Aissue+milestone%3A1.0.0) goals, which are being completed slowly and steadily as contributors have time (Vecty is over 4 years in the making!). Early adopters may make use of it for real applications today as long as they are understanding and accepting of the fact that: - APIs will change (maybe extensively). - A number of important things are not ready: - Extensive documentation, examples and tutorials - URL-based component routing - Ready-to-use component libraries (e.g. material UI) - Server-side rendering - And more, see [milestone: v1.0.0 ](https://github.com/hexops/vecty/issues?q=is%3Aopen+is%3Aissue+milestone%3A1.0.0) - The scope of Vecty is only ~80% defined currently. - There are a number of important [open issues](https://github.com/hexops/vecty/issues). For a list of projects currently using Vecty, see the [doc/projects-using-vecty.md](doc/projects-using-vecty.md) file. Near-zero dependencies ====================== Vecty has nearly zero dependencies, it only relies on `reflect` from the Go stdlib. Through this, it is able to produce the smallest bundle sizes for Go frontend applications out there, limited only by the Go compiler itself: | Example binary | Compiler | uncompressed | `gzip --best` | `brotli` | |-------------------|-----------------|--------------|---------------|----------| | `hellovecty.wasm` | `tinygo 0.14.0` | 252K | 97K | 81K | | `hellovecty.wasm` | `go 1.15` | 2.1M | 587K | 443K | | `markdown.wasm` | `go 1.19` | 5.9M | 1.3M | 952K | | `todomvc.wasm` | `go 1.15` | 2.9M | 825K | 617K | You can find these examples under the [example](./example) directory along with a readme on how to go about running a vecty project. Note: Bundle sizes above do not scale linearly with more code/dependencies in your Vecty project. `hellovecty` is the smallest base-line bundle that the compiler can produce with just Vecty as a dependency, other examples above pull in more of the Go standard library and you would not e.g. have to pay that total cost again. Community ========= - Join us in the [#vecty](https://gophers.slack.com/messages/vecty/) channel on the [Gophers Slack](https://gophersinvite.herokuapp.com/)! - See what [projects use Vecty in the wild](https://github.com/hexops/vecty/blob/main/doc/projects-using-vecty.md) Changelog ========= See the [doc/CHANGELOG.md](doc/CHANGELOG.md) file.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Godynamicfrontendgogopherjs

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架