Static Go Playground: the Go Compiler running on your browser
Go Sandbox: A full-featured, IDE-level Go playground β now live and free to use
Go Sandbox: A full-featured, IDE-level Go playground β now live and free to use - Releases - Go Forum
A better version of Go Playground
Videos
https://github.com/Yeicor/static-go-playground/
I wanted to share this project I made that lets you run the Go Compiler completely inside your browser. I also built a Go Playground around it with support for dependencies, cross-compiling, a code editor, etc. Check out the README for more features, demos and testing the app.
The original idea was just to learn how the Go Compiler works. However, I realized it can be used to provide editable examples for most Go projects from any device with a modern browser. No deployment or server backend needed (only a static hosting service like GitHub Pages).
In order to build it, I had to connect a complete file system abstraction on WebAssembly that implements node's fs module using memory. Hence, I also released the modified wasm_exec.js with file system support, if anyone is interested in it.
Feel free to leave comments and suggestions, or tell me if it works for your projects.
Hi all, just wanted to share a tool I built for Go developers:
π https://go-sandbox.org
Go Sandbox is a web-based Go programming environment delivering a nearly native development experience enhanced with LSP-powered features:
Go-to-definition, reference lookup, autocompletion (via LSP)
Real-time code execution over WebSocket
Shareable, runnable Go code snippets
Code structure outline, multiple sandboxes
Vim/Emacs-style keybindings and dark mode
Free, zero-registration and setup
It was inspired by the official Go Playground and Better Go Playground, but built with a more IDE-like experience in mind.
Would love to hear your thoughts β feedback and bug reports are very welcome π
https://goplay.tools/ with syntax highlighting and autocomplete. https://github.com/x1unix/go-playground