v8go | bud | |
---|---|---|
10 | 34 | |
3,183 | 5,574 | |
- | 0.1% | |
0.0 | 4.3 | |
2 months ago | 11 months ago | |
Go | JavaScript | |
BSD 3-clause "New" or "Revised" License | MIT License |
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.
v8go
-
SSR React in Go
Firstly, I used rogchap/v8go to execute JavaScript in a Go environment. I listed other options below.
-
I built a local Laravel dev environment that doesn't require PHP at all
Now the only issue I see is that someone who can't be bothered to install PHP and composer will probably not want to install node and npm either. If you could somehow run WASM inside an executable file (maybe something written in Go with https://github.com/rogchap/v8go ? Or an Electron App ?), all you'd need to do is download the executable file on any computer and double click it to start serving a Laravel project.
-
Show HN: A Full-Stack Web Framework Written in Go
I only browsed for a wee bit, so take this with some salt, but it _looks_ like the framework is running a JS VM isolate alongside the Go server struct[1], which gets called with whatever script file is being rendered. Since it looks like the render files are, at least in the case of Svelte, individually compiled JS files that are SSR rendered via the V8 isolate, I _believe_ you're correct that there is no CSR (though there might still be JS-hydrated code if the Svelte component included something involving an interactive component).
I think the idea is to ingest a JS "template" and spit out the rendered HTML+JS, kind of like traditional SSR templates, but it could be possible to shoe-horn in an entire client-side router that gets initialized as a DOM object somewhere.
[1] https://github.com/rogchap/v8go
- QuickJS JavaScript Engine – Fabrice Bellard
-
Using Javascript plugins in Go
https://github.com/rogchap/v8go is a viable option these days as well.
- Execute JavaScript from Go - JS functions with Go callbacks, update JS objects from Go & more
- V8go v0.5.0 Execute JavaScript from Go
- v8go: JavaScript in Go - v0.5.0 released 🎉 Global Objects, Function Templates, Go callbacks and loads more!
-
Plenti — a Svelte SSG for people that don’t like web maintenance bullsh#t
Plenti is a simple open source Static Site Generator (SSG) with a Go backend and Svelte frontend. Jim picked Golang because it is simple, quick and has the ability to generate a binary that can be run on any machine; and Svelte, well, for one, “Svelte is so hot right now” and also because of the power it gives developers to write simple HTML and CSS to create websites. Merging these two technologies was not an easy task, but with V8Go binding the two together, it’s a marriage that works.
- Execute JavaScript from Go
bud
-
Sveltekit with golang
Yeah. It seems like Bud is the best option I have to get what I want: https://github.com/livebud/bud/
-
Is there a framework out for go that rivals Laravel as far as out of the box features and tools?
Hit me up if you have a longer time horizon and want to give https://github.com/livebud/bud a shot!
-
Purego – A library for calling C functions from Go without Cgo
Awesome!
This would be such a game-changer for server-side rendering Javascript in Go with V8.
I'd love to integrate this into Bud[1].
[1] https://github.com/livebud/bud
-
Best front-end stack for Golang backend
I've also been seeing updates on this project, which is kind of preferring Svelte https://github.com/livebud/bud
-
How to develop a Web app in go
https://github.com/livebud/bud - similar idea, but uses Svelte (a JS framework) to do the front end stuff. It’s smart enough to render the JS stuff on the server when possible, so you end up with the best of both worlds.
-
Anyone experienced in golang ssr?
https://github.com/livebud/bud this framework is achieving SSR in go. Not Vue specifically last I saw, but maybe you can draw inspiration from what they did https://www.reddit.com/r/golang/comments/uoxocj/bud_the_fullstack_web_framework_for_go_developers/i8ke92h/?utm_source=reddit&utm_medium=web2x&context=3
-
Does Go have an equivalent to Python's Flask and Django?
See https://github.com/livebud/bud to learn more.
-
Python Web Framework: Converting Svelte Code into HTML, CSS and JS with Python
Just to clarify: Fymo is taking the same approach as Bud. See: https://github.com/livebud/bud/discussions/248 for details 🙂
-
Converting Svelte Code into HTML, CSS and JS with Python
An open-source GoLang project also took the same approach, livebud/bud.
-
Modern Monolith Framework for Solo Developers?
I know how to create APIs. I actually don't wanna do an API link with the front end. You can check a framework built in GoLang, livebud/bud in Github. Seeking something like that, 'cause the project is still being developed.
What are some alternatives?
goja - ECMAScript/JavaScript engine in pure Go
Buffalo - Rapid Web Development w/ Go
deno - A modern runtime for JavaScript and TypeScript.
quickjs - Public repository of the QuickJS Javascript Engine.
gomarvin - Generate Go REST servers & http clients
txiki.js - A tiny JavaScript runtime
tetra - Tetra - A full stack component framework for Django using Alpine.js
quickjs-emscripten - Safely execute untrusted Javascript in your Javascript, and execute synchronous code that uses async functions
sqlc - Generate type-safe code from SQL
plenti - Static Site Generator with Go backend and Svelte frontend
live - Live views and components for golang