Why Boiler?
Stop copy-pasting code between projects. Boiler lets you store reusable code once and inject it anywhere with automatic versioning.
# Store your utility function
bl store ./utils/errorHandler.js
# Add it to any project instantly
bl add errorHandler
# Done. It's in your current directory.
Perfect for:
- API middleware you use in every project
- Database configs that never change
- Logging utilities
- Authentication helpers
- Project boilerplates (Express, Django, Next.js stacks)
Installation
Quick Install
Windows (PowerShell)
iwr -useb https://boiler.iamabhinav.dev/install | iex
Linux / macOS
curl -fsSL https://boiler.iamabhinav.dev/install | bash
Verify Installation
bl version
Usage
π¦ Snippets - Single Files
Store individual files with automatic versioning:
# Store a file from anywhere
bl store ./middleware/auth.js
# β Saved as auth@1.js
# Add it to current project
bl add auth
# β Copies auth@1.js to ./
# Store multiple versions
bl store ./middleware/auth-v2.js --name auth.js
# β Saved as auth@2.js
# List all snippets
bl ls --snippets
Supports all languages: .js, .py, .go, .java, .ts, .rb, etc.
π Stacks - Full Project Templates
Store entire directory structures as reusable templates:
# Store current directory as a stack
bl store
# Name: express-api β Saved as express-api@1
# Store specific directory
bl store ./my-nextjs-template
# β Saved as my-nextjs-template@1
# Add stack to new project folder
bl add express-api@1
# β Copies entire stack structure
# List all stacks
bl ls --stacks
Use cases: Express APIs, Next.js templates, microservice boilerplates, config folders
Commands
bl init # Initialize Boiler in current directory
bl store [path] # Store file (snippet) or folder (stack)
bl add <name> # Add snippet/stack to current directory
bl ls # List all snippets and stacks
bl search <query> # Search for resources by name
bl info <name> # Show detailed info about a resource
bl clean # Remove unused resources
bl path # Show Boiler storage paths
bl config # Edit configuration
bl self update # Update Boiler to latest version
bl self uninstall # Uninstall Boiler
Features
- β
Automatic Versioning - Store multiple versions of the same file
- β
Language Agnostic - Works with any programming language
- β
Stack Templates - Store entire project structures
- β
Smart Search - Find snippets and stacks by name
- β
Zero Config - Works out of the box
- β
Cross-Platform - Windows, Linux, macOS
- β
Lightweight - Single binary, no dependencies
- β
Secure - SHA256 checksum verification on install
Documentation
Full docs: boiler.iamabhinav.dev
License
MIT Β© Abhinav Prakash