Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

go-blueprint

> 编程语言
Open source

Go-blueprint allows users to spin up a quick Go project using a popular framework

8.9K stars0 likes2 views
WebsiteGitHub

About

Go-blueprint allows users to spin up a quick Go project using a popular framework

Go Blueprint is a CLI tool that allows users to spin up a Go project with the corresponding structure seamlessly. It also gives the option to integrate with one of the more popular Go frameworks (and the list is growing with new features)!

Why Would I use this?

  • Easy to set up and install
  • Have the entire Go structure already established
  • Setting up a Go HTTP server (or Fasthttp with Fiber)
  • Integrate with a popular frameworks
  • Focus on the actual code of your application

Table of Contents

  • Install
  • Frameworks Supported
  • Database Support
  • Advanced Features
  • Blueprint UI
  • Usage Example
  • GitHub Stats
  • License

Install

Go Install

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

This installs a go binary that will automatically bind to your $GOPATH

if you’re using Zsh, you’ll need to add it manually to ~/.zshrc.

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

don't forget to update

bash
source ~/.zshrc

NPM Install

bash
npm install -g @melkeydev/go-blueprint

Homebrew Install

bash
brew install go-blueprint

Then in a new terminal run:

bash
go-blueprint create

You can also use the provided flags to set up a project without interacting with the UI.

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

See go-blueprint create -h for all the options and shorthands.

Frameworks Supported

  • Chi
  • Gin
  • Fiber
  • HttpRouter
  • Gorilla/mux
  • Echo

Database Support

Go Blueprint now offers enhanced database support, allowing you to choose your preferred database driver during project setup. Use the --driver or -d flag to specify the database driver you want to integrate into your project.

Supported Database Drivers

Choose from a variety of supported database drivers:

  • Mysql
  • Postgres
  • Sqlite
  • Mongo
  • Redis
  • ScyllaDB GoCQL

Advanced Features

Blueprint is focused on being as minimalistic as possible. That being said, we wanted to offer the ability to add other features people may want without bloating the overall experience.

You can now use the --advanced flag when running the create command to get access to the following features. This is a multi-option prompt; one or more features can be used at the same time:

  • HTMX support using Templ
  • CI/CD workflow setup using Github Actions
  • Websocket sets up a websocket endpoint
  • Tailwind css framework
  • Docker configuration for go project
  • React frontend written in TypeScript, including an example fetch request to the backend

Note: Selecting Tailwind option will automatically select HTMX unless React is explicitly selected

Blueprint UI

Blueprint UI is a web application that allows you to create commands for the CLI and preview the structure of your project. You will be able to see directories and files that will be created upon command execution. Check it out at go-blueprint.dev

Usage Example

Here's an example of setting up a project with a specific database driver:

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

Advanced features are accessible with the --advanced flag

bash
go-blueprint create --advanced

Advanced features can be enabled using the --feature flag along with the --advanced flag.

HTMX:

bash
go-blueprint create --advanced --feature htmx

CI/CD workflow:

bash
go-blueprint create --advanced --feature githubaction

Websocket:

bash
go-blueprint create --advanced --feature websocket

Tailwind:

bash
go-blueprint create --advanced --feature tailwind

Docker:

bash
go-blueprint create --advanced --feature docker

React:

bash
go-blueprint create --advanced --feature react

Or all features at once:

bash
go-blueprint create --name my-project --framework chi --driver mysql --advanced --feature htmx --feature githubaction --feature websocket --feature tailwind --feature docker --git commit --feature react

Visit documentation to learn more about blueprint and its features.

GitHub Stats

License

Licensed under MIT License

Issues· 40 open

View all issuesOpen on GitHub
  • #436

    [Feature Request] add tailwind4 support

    enhancementUpdated Mar 29, 2026
  • #435

    [Feature Request] Add webRPC support

    enhancementUpdated Feb 7, 2026
  • #434

    [BUG] Postgres Docker Compose incompatible with Postgres 18+ due to data directory change

    Updated Dec 26, 2025
  • #428

    [Feature Request] Add option to use folder name as module name when running create command

    enhancementUpdated Oct 26, 2025
  • #219

    [Feature Request] swagger ui support

    enhancementUpdated Oct 6, 2025
  • #426

    [Feature Request] Add template for CLI based applications without backend

    enhancementUpdated Oct 3, 2025
  • #424

    [Feature Request] Add OpenTelemetry instrumentation

    enhancementUpdated Sep 11, 2025
  • #416

    [Bug] Creating Project with Git Commit adds .env file too in repository

    Updated Aug 16, 2025
  • #421

    [Bug] Tailwind doesn't install correctly in React Vite app

    bugUpdated Jul 24, 2025
  • #419

    Incorrect variable naming in standard_library.go.tmpl

    Updated Jul 21, 2025

> Tags

Go

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言