GV is a blazing-fast, browser-native development server and build tool written in Go. Itβs inspired by Vite but designed to run without Node.js, using the power of native ESM in modern browsers and CDN-based dependency resolution.
β‘ Powered by Go. π Plugin-friendly. π§ Node-free.
We should be able to use JavaScript frameworks, without 'node' or any runtime, just your browser.
esm.sh
, skypack
)esbuild
-based transpilationbabel
-based transpilationFor Linux, MacOS and Windows
curl -fsSL https://raw.githubusercontent.com/struckchure/gv/main/scripts/install.sh | bash
For Windows
irm https://raw.githubusercontent.com/struckchure/gv/main/scripts/install.ps1 | iex
git clone https://github.com/struckchure/gv
cd gv/examples/react
go run .
Then open your browser to http://localhost:3000.
babel
internally for .ts
, .jsx
, .tsx
, etc.react
) are rewritten to point to https://esm.sh/react
and cached locally.transform
, resolveId
, and load
.Well, your project structure can be anyhow you want, but here's a sample react project
.
βββ index.html
βββ main.go
βββ main.jsx
βββ router.js
βββ routes
βββ layout.jsx
βββ login
β βββ page.jsx
βββ page.jsx
βββ register
βββ page.jsx
Import from CDNs or local files directly:
import { createRoot } from "https://esm.sh/[email protected]/client";
import { RouterProvider } from "https://esm.sh/[email protected]";
import React from "https://esm.sh/[email protected]";
import { router } from "./router.js";
createRoot(document.getElementById("root")).render(
<RouterProvider router={router} />
);
Check here.
MIT Β© 2025 Mohammed Al-Ameen