Awesome Go

BunGo

CategoryWeb Frameworks
SubcategoryWeb Frameworks
Stars3

Full-stack framework pairing Go handlers with React (JSX/TSX) views compiled by an embedded esbuild, with no Node.js toolchain required

About BunGo

BunGo logo

BunGo (Bundler 4 Go)

CI codecov Go Reference Go Report Card License: MIT

BunGo is a high-performance, fullstack, and idiomatic Go web framework designed to seamlessly bridge backend Go logic with frontend React (JSX) views. It eliminates the need for Node.js, npm, package.json, and complex external build pipelines by embedding everything you need right into your Go binary.

If you love the simplicity of Go backends but want the rich interactivity of React without the headache of managing a separate frontend ecosystem, BunGo is the framework for you.


📚 Documentation

For complete guides, usage patterns, and best practices, please refer to our new docs directory:

  1. Introduction to BunGo
  2. Installation & Setup
  3. Routing and Pages
  4. Templates and Layouts
  5. React Integration
  6. Security Layers
  7. WebSockets
  8. CLI and Dev Tools
  9. Deployment Options
  10. AI-Assisted Development Guide

📦 Quick Start & Installation

You can instantly scaffold a fresh BunGo application using our dedicated CLI tool.

Important Note: To use the bungo CLI, your Go bin directory must be in your system's PATH. If you encounter a "command not found" error after installation, add $HOME/go/bin to your PATH (e.g., export PATH=$PATH:$HOME/go/bin in your .zshrc or .bashrc). For specific OS instructions, see the Installation Guide.

  1. Install the CLI once:

    go install github.com/piotr-nierobisz/BunGo/cmd/bungo@latest
    
  2. Scaffold a project and run the live-reload dev server:

    bungo init my-project
    cd my-project
    go mod tidy
    
    # Starts your server and continuously hot-reloads on changes!
    bungo dev
    
    # Builds a portable production binary in ./bin/
    bungo build
    

(For a native TypeScript integration, add --typescript to the init command).

For manual project setups without the CLI, refer to the Installation Guide.

Frequently Asked Questions

What is BunGo?

BunGo is a Web Frameworks library for the Go programming language. Full-stack framework pairing Go handlers with React (JSX/TSX) views compiled by an embedded esbuild, with no Node.js toolchain required

How do I install BunGo?

Install BunGo with the Go module system using `go get piotr-nierobisz/BunGo`. Check the repository for the current installation instructions.

What category does BunGo belong to?

BunGo is listed under Web Frameworks, specifically Web Frameworks.

← Back to Web Frameworks