| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
BootstrapCLI is a CLI tool that scaffolds production-ready Golang projects — no dependency headaches, no manual setup.
Just run a command and get a fully configured project with linters, routers, and structure ready to code.
Note: This is my first OSS project, I want to make a CLI tool(maybe webUI) which is not just generator tool which only generate go code, but it will help developers to follow best practices, and assist during the project development. In future versions of the project i will add AI which will help developer to assist during their development and help in debugging + fixing error. I am adding AI not to generate code in there project but for assisting purpose only.
Install globally using go install:
go install github.com/upsaurav12/bootstrap@latest
Once installed, confirm the installation:
bootstrap --help
bootstrap new myapp --type=rest --router=gin --port=8080 --db=postgres
cd myapp && make tidy
docker compose up -d
Before running make run make sure that you have running 'db' in docker, running with the same credentials as in .env file.
make run
myapp/
├── cmd
│ └── main.go
├── docker-compose.yml
├── go.mod
├── go.sum
├── internal
│ ├── config
│ │ ├── config.go
│ │ └── config_test.go
│ ├── db
│ │ └── database.go
│ ├── handler
│ │ └── user_handler.go
│ ├── model
│ │ ├── registory.go
│ │ └── user_model.go
│ ├── repository
│ │ └── user_repo.go
│ ├── server
│ │ ├── routes.go
│ │ └── server.go
│ └── service
│ └── user_service.go
├── Makefile
├── project.yaml
└── README.md
Creates a new project with the specified configuration options.
| Flag | Description | Example |
|---|---|---|
| --type | Type of project (e.g., rest) | --type=rest |
| --router | Router framework (gin, chi, echo, fiber) | --router=gin |
| --port | Application port | --port=8080 |
| --db | Database integration | --db=postgres |
| --entities | Add entities | --entities=user |
Create a new project using yaml file configurations
| Flag | Description | Example |
|---|---|---|
| --yaml | unique file name for the yaml file | --yaml=project.yaml |
BootstrapCLI automates all that.
You focus on business logic — it handles the rest.
Contributions, feedback, and ideas are welcome.
If you would like to contribute:
Open an issue to report bugs or suggest features
Submit a pull request with clear context and rationale
Please ensure that:
Code changes are well-structured and documented
New features include appropriate tests where applicable
Existing functionality is not broken
You can get started by visiting the project repository on GitHub: https://github.com/upsaurav12/bootstrap
If you find this project useful, consider giving it a star ⭐ — it helps with visibility and continued development.
This project is licensed under the MIT License.
© 2026 Saurav Upadhyay
See the LICENSE file for full license details.
| Back | FazBrowse Home | New Git URL |