boiler

command module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 5 Imported by: 0

README ΒΆ

⚑ Boiler

Your personal code library. Store once, reuse everywhere.

Go Version Release

Installation β€’ Usage β€’ Documentation


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


Made with ❀️ for developers who hate repeating themselves

⭐ Star on GitHub β€’ πŸ“– Read the Docs

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
internal
cli
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL