# DevBoost 🚀

<div align="center">

[![npm version](https://img.shields.io/npm/v/@happyvibess/dev-boost.svg)](https://www.npmjs.com/package/@happyvibess/dev-boost)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Downloads](https://img.shields.io/npm/dt/@happyvibess/dev-boost.svg)](https://www.npmjs.com/package/@happyvibess/dev-boost)

```
  _____             ____                  _   
 |  __ \           |  _ \                | |  
 | |  | | _____   _| |_) | ___   ___  ___| |_ 
 | |  | |/ _ \ \ / /  _ < / _ \ / _ \/ __| __|
 | |__| |  __/\ V /| |_) | (_) | (_) \__ \ |_ 
 |_____/ \___| \_/ |____/ \___/ \___/|___/\__|
```

🌟 A modern CLI toolkit to supercharge your development workflow with smart automation, project scaffolding, and optimization tools.

[Installation](#installation) •
[Features](#features) •
[Usage](#usage) •
[Commands](#commands) •
[Configuration](#configuration) •
[Contributing](#contributing)

</div>

## ✨ Features

- 📦 **Project Scaffolding**: Generate new projects with modern best practices
- 🛠️ **Development Setup**: Automate development environment configuration
- ⚡ **Performance Optimization**: Optimize your project's performance
- 🔍 **Code Quality**: Run comprehensive code quality checks
- 🔄 **Workflow Automation**: Streamline your development workflow

## 🚀 Quick Demo

```bash
# Create a new React project
$ devboost scaffold react-app -n my-awesome-app
✨ Creating new React app...
📦 Installing dependencies...
🎉 Project ready!

# Set up development environment
$ devboost setup node-env
🔧 Configuring Node.js environment...
✅ Environment ready!

# Optimize your project
$ devboost optimize bundle
📊 Analyzing bundle...
🚀 Optimization complete!
```

## 💻 Installation

```bash
npm install -g @happyvibess/dev-boost
```

## 🎮 Commands

### scaffold
Create new projects from templates:
```bash
devboost scaffold <template> [options]

Options:
  -n, --name <name>    Project name
  -p, --path <path>    Project path
```

Available templates:
- 🔥 `react-app`: Modern React application
- 🌐 `node-api`: RESTful Node.js API
- ⚡ `next-app`: Next.js application

### setup
Configure development environments:
```bash
devboost setup <environment> [options]

Options:
  -f, --force          Force setup even if already exists
  -c, --config <path>  Custom config path
```

Available environments:
- 📦 `node-env`: Node.js development environment
- 🐍 `python-env`: Python development environment
- 🐳 `docker-env`: Docker development environment

### optimize
Optimize project performance:
```bash
devboost optimize <target> [options]

Options:
  -l, --level <level>  Optimization level
```

Available targets:
- 📦 `bundle`: Optimize JavaScript bundles
- 🖼️ `images`: Compress and optimize images
- 🎨 `css`: Minimize and optimize CSS

### check
Run code quality checks:
```bash
devboost check <type> [options]

Options:
  -f, --fix           Attempt to fix issues
```

Available check types:
- 🔍 `lint`: Run linting checks
- 🧪 `test`: Run test suite
- 🔒 `security`: Run security audit

### workflow
Manage development workflows:
```bash
devboost workflow <action> [options]

Options:
  -e, --env <environment>  Target environment
```

Available actions:
- 🔄 `ci-setup`: Configure CI/CD pipeline
- 🚀 `deploy`: Deploy application
- 💾 `backup`: Backup project assets

## ⚙️ Configuration

DevBoost can be configured using:
- Command line options
- Configuration file (.devboostrc)
- Environment variables

Example `.devboostrc`:
```json
{
  "defaultTemplate": "react-app",
  "optimization": {
    "level": "aggressive",
    "targets": ["bundle", "images"]
  },
  "check": {
    "autoFix": true,
    "strict": true
  }
}
```

## 🤝 Contributing

We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.

## 📝 License

MIT © [@happyvibess](https://github.com/happyvibess)

## 💖 Support

If you find this tool helpful, you can:

<a href="https://www.buymeacoffee.com/happyvibess" target="_blank">
  <img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;">
</a>
