opensourceprojects.dev

A broadsheet for software that doesn't ask for your email

Go Blueprint spins up a full Go project structure with your pick of framework an...
GitHub RepoImpressions3

Project Description

View on GitHub

Stop Copy-Pasting Your Go Project Setup: Let Go Blueprint Handle the Scaffolding

You know the drill: you've got a great idea for a Go service, but before you can write a single line of business logic, you're staring down the same setup tasks you've done a hundred times. Create the folder structure, pick an HTTP router, wire up a database driver, configure the server, and hope you didn't forget a boilerplate file somewhere. It's tedious, it's repetitive, and it's not why you wanted to build something in the first place. Go Blueprint is a CLI tool that takes that entire chore off your plate, spinning up a complete Go project structure with your choice of framework and database so you can get straight to the code that actually matters.

What It Does

Go Blueprint is a command-line tool that generates a ready-to-run Go project based on your selections. You run a single command, answer a few prompts (or pass flags to skip them), and you get a full directory structure with an HTTP server already configured and wired to the framework and database driver you picked.

The tool currently supports six popular Go frameworks: Chi, Gin, Fiber, HttpRouter, Gorilla/mux, and Echo. On the database side, you can integrate MySQL, Postgres, Sqlite, Mongo, Redis, or ScyllaDB GoCQL. The setup is minimal by design—the generated project focuses on giving you a working foundation without burying you in unnecessary abstraction layers.

Installation is straightforward through a few different channels. You can grab it with go install, npm install, or Homebrew, depending on your preference. Once it's installed, the basic usage looks like this:

go-blueprint create

That launches an interactive UI where you pick your options. If you'd rather skip the prompts, you can pass flags directly:

go-blueprint create --name my-project --framework gin --driver postgres --git commit

Why It's Cool

The value here is pretty immediate, but let me break down what makes it worth your time.

It kills the blank-page problem. Starting a new Go project shouldn't require remembering every file you need to create. Go Blueprint gives you a sensible structure right away, so you're never staring at an empty directory wondering where to begin. The README says it best: you get to "focus on the actual code of your application."

The framework and database choices are actually thoughtful. This isn't a one-size-fits-all generator that forces you into a particular stack. Six frameworks and six database drivers means you can match the tool to your existing preferences or experiment with something new without the setup friction. Whether you're a Gin loyalist or you want to try Fiber with Redis, the choice is yours at creation time.

It respects minimalism—but offers depth when you need it. The core tool is lean, but there's an --advanced flag that unlocks more features without bloating the default experience. You can opt into HTMX support with Templ, CI/CD workflows via GitHub Actions, a WebSocket endpoint, Tailwind CSS integration, or Docker configuration. It's a smart design decision: keep the base tool simple, but don't force power users to go elsewhere when they need more.

The non-interactive mode is a real workflow win. Being able to pass everything as flags means you can script project creation or integrate it into your own tooling. That's a small detail, but it shows the project was designed with actual developer workflows in mind, not just as a one-off wizard.

How to Try It

Getting started takes about two minutes. First, install the tool using whichever method fits your setup:

go install github.com/melkeydev/go-blueprint@latest

If you're on Zsh, you'll need to make sure your GOPATH is set up properly. Add this to your ~/.zshrc if it's not already there:

GOPATH=$HOME/go  PATH=$PATH:/usr/local/go/bin:$GOPATH/bin

Then update your shell:

source ~/.zshrc

Alternatively, you can install via npm or Homebrew:

npm install -g @melkeydev/go-blueprint
# or
brew install go-blueprint

Once it's installed, open a new terminal and run:

go-blueprint create

Follow the interactive prompts to pick your framework, database driver, and any advanced features you want. Or skip the prompts entirely with flags:

go-blueprint create --name my-project --framework gin --driver postgres --git commit

You can see all available options with go-blueprint create -h. The full repository with detailed documentation is over at github.com/Melkeydev/go-blueprint.

Final Thoughts

Go Blueprint is one of those tools that feels obvious once you see it—of course project scaffolding should be this easy. It's not trying to be a heavyweight code generator or impose a specific architecture on you. It's a focused utility that removes the repetitive parts of starting a Go project and lets you move on to the interesting work. If you find yourself creating Go services on a regular basis, or even if you're just exploring the language and want to see a well-structured project without building it by hand, this is worth adding to your toolbox. The framework and database options cover the mainstream choices, and the advanced features give you room to grow without cluttering the basics.


Follow @githubprojects for more developer tools and open source projects.

Back to Projects
Project ID: e081da7c-c15d-4629-8d24-e9335b7eb4faLast updated: August 7, 2026 at 10:53 AM