ai-agent

Run Go with Wagon

Get a WebAssembly-based Go interpreter with Wagon, for Go developers.
901 stars149 forksGoGuide quality 9/10Updated 5/11/2020100% free · open source
What it does

Wagon is a WebAssembly-based Go interpreter that allows you to run Go code in web browsers and other environments that support WebAssembly.

When to use it
  • When you want to run Go code in a web browser without compiling it to JavaScript
  • When you need to test or prototype Go code in a WebAssembly environment
  • When you want to create web-based Go development tools or interactive tutorials
Ready-to-paste prompt
./wagon load examples/hello.go && ./wagon run hello
Heads up: Make sure you have Go 1.17 or later installed on your system, as wagon relies on the `go build` command to compile the Go code to WebAssembly
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/wagon && curl -fsSL https://workflowstacks.com/api/skills/wagon/claude-skill -o ~/.claude/skills/wagon/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Run Go with Wagon works
Codeflow
Free to inspect

Run Go with Wagon is a medium Go project (~12k lines across 98 code files, plus 2 test files). Expect some technical setup — comfortable with a terminal, or ask a developer. Last commit 77 months ago, BSD-3-Clause license, has a test suite.

Size
Medium codebase
~12k lines · 98 code files · ~2 h to skim
Setup
Some technical setup
Comfortable with a terminal? 20–40 min. Otherwise ask a dev.
Runs on
Go
No API keys detected
Go 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    cmd/wasm-run/main.go
    Where the program starts running
  3. 3
    go.mod
    Dependencies and the commands it exposes
  4. 4
    internal/stack/stack.go
    Inside internal/ — the main logic begins here
What's in each folder
internal/Core code — the actual logic1 files
cmd/Command-line entry points9 files
exec/Folder130 files
wasm/Folder54 files
validate/Folder6 files
wast/Folder6 files
disasm/Folder5 files
ci/Folder1 files
READMEHas testsDocumentedCI checksBSD-3-Clause licenseLast update 77 mo agoArchived — read only
Quick Actions
Details
Creator
go-interpreter
Language
Go
Category
ai-agent
Published
2/3/2017

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.