Project Scaffolding
Stop copy-pasting boilerplate. mine craft bootstraps projects with opinionated templates for Go, Node.js, Python, Rust, Docker, and GitHub Actions CI — and you can add your own.
Key Capabilities
Section titled “Key Capabilities”- Built-in recipes — Go, Node.js, Python, Rust, Docker, and GitHub Actions CI
- Custom recipes — drop template directories into
~/.config/mine/recipes/to add your own - Go templates — recipes use
text/templatewith{{.Dir}}for the project directory name - Git init — standalone
mine craft gitsets up git with a.gitignore - Discoverable —
mine craft listshows all available recipes with aliases
Quick Example
Section titled “Quick Example”# Bootstrap a Go projectmkdir myapi && cd myapimine craft dev go
# Add GitHub Actions CImine craft ci github
# List all available recipesmine craft listHow It Works
Section titled “How It Works”Recipes are data-driven templates embedded in the binary. Each recipe category (dev, ci, git) groups related templates. Run mine craft dev go and you get a Go module, main.go, and Makefile in the current directory. Run mine craft ci github to add a GitHub Actions workflow.
For custom templates, create a directory in ~/.config/mine/recipes/ following the <category>-<name>/ convention (e.g., dev-myframework/). Files inside are processed as Go templates. Then mine craft dev myframework just works.
Learn More
Section titled “Learn More”See the command reference for all recipes, custom recipe details, and usage examples.