Stop Copy-Pasting Boilerplate: Scaffold Projects & Snippets Fast with BScaff A developer released BScaff, an open-source command-line tool that stores and scaffolds reusable developer resources as locally saved "snapshots" under ~/.bscaff. The tool can capture directory trees, Git repositories, snippets, templates and URLs, parse ASCII directory diagrams copied from AI coding assistants into real folder structures, and resolve Mustache-style {{ variable }} placeholders across file paths and contents. It is distributed via npm as @akashnag/bscaff. How many times have you started a new feature or microservice, only to spend the first 20 minutes copy-pasting .eslintrc , tsconfig.json , Dockerfiles, and boilerplate directory structures from an older project? Or worse—you find an awesome directory structure generated by Claude or ChatGPT, and you sit there manually mkdir -ing and touch -ing every single file? We've all been there: There has to be a better way to capture, store, and recreate developer resources without leaving the terminal. Enter BScaff . BScaff is a light, lightning-fast CLI tool designed to store, manage, and scaffold reusable developer resources. Think of it as a personal, command-line vault for: tree files snippet template url Everything in BScaff revolves around a snapshot —a uniquely named key -k storing your saved content locally under ~/.bscaff . Getting started takes seconds. Install BScaff globally via npm : npm install -g @akashnag/bscaff Verify the installation: bscaff --version Let's dive into three everyday workflows where BScaff instantly saves you time. Say you have a starter React or Node.js template configured just the way you like it. Instead of creating a GitHub template repository or manually zip-copying folders, save it as a directory snapshot: Save your base project as a snapshot named 'node-base' bscaff -k node-base --desc "Base Node.js Express setup" --tags node,express save tree ~/projects/my-node-starter When you are ready to start a new service, extract it anywhere: Extract the snapshot into a new folder bscaff -k node-base extract ./my-new-api Boom Your full directory structure and file contents are instantly created. AI coding assistants are great at generating project structures like this: my-service/ ├── src/ │ ├── controllers/ │ │ └── user.controller.ts │ ├── routes/ │ │ └── user.routes.ts │ └── index.ts ├── tests/ │ └── user.test.ts └── package.json Instead of manually creating these folders and files, copy that ASCII diagram directly to your clipboard and run: bscaff create tree ./my-service --prompt-for-content BScaff parses the tree diagram directly from your clipboard, constructs the complete directory hierarchy on disk, and interactively prompts you to supply content for each generated file. Need dynamic placeholders in your files? BScaff supports Mustache variable templates {{ variable }} . Suppose you have a component template containing: js // {{ componentName }}.tsx export const {{ componentName }} = = { return