Automate your development workflow like a lazy pro 💤
A powerful, Bash-based command-line interface that simplifies your development and deployment workflow — from initializing projects to pushing code to GitHub — all in a single CLI tool.
Install globally with one command (macOS/Linux):
# Standard installation
curl -s https://lazycli.xyz/install.sh | bash
# Custom version installation
curl -s https://lazycli.xyz/install.sh | bash -s version_name💡 Windows users: Requires WSL or Git Bash — See installation guide →
lazy github init- Initialize a new Git repositorylazy github clone <repo-url>- Clone repository with auto-setuplazy github push "<message>"- Stage, commit, and push changeslazy github pull <base-branch> "<title>"- Create simple pull requestlazy github pr <base-branch> "<message>"- Full PR workflow (pull, build, commit, push, create PR)
lazy node-js init- Initialize Node.js + TypeScript projectlazy node-js structure- Create comprehensive Node.js project structure with templates- 6 Project Templates Available:
- Basic API - Express + TypeScript + Essential middleware
- Full-stack API - Express + TypeScript + Database integration
- Microservice - Express + TypeScript + Docker setup
- CLI Tool - TypeScript + Commander.js framework
- Library - TypeScript + Rollup bundling
- Custom - Manual structure selection
- Complete Project Structure:
src/ ├── controllers/ # Route controllers ├── models/ # Data models ├── routes/ # Route definitions ├── middleware/ # Custom middleware ├── services/ # Business logic ├── utils/ # Utility functions ├── config/ # Configuration files └── index.ts # Main server entry tests/ ├── unit/ # Unit tests └── integration/ # Integration tests docs/ # Documentation scripts/ # Build/deployment scripts - Built-in Features:
- ✅ Auto-detects package manager (bun > pnpm > yarn > npm)
- ✅ Complete TypeScript setup with all necessary type definitions
- ✅ Ready-to-run server with hot reloading (nodemon)
- ✅ Express.js with essential middleware (cors, helmet, morgan)
- ✅ Environment variables (.env) configuration
- ✅ Error handling middleware
- ✅ Health check endpoint
- ✅ Git ignore and TypeScript config
- ✅ NPM scripts: dev, build, start, test, lint
- ✅ All dependencies installed automatically
- 6 Project Templates Available:
curl -s https://lazycli.xyz/mahamudh472/lazy.sh | bash -s django_init <project_name>- Complete Django project initialization- Smart Virtual Environment Management:
- ✅ Auto-detects existing virtual environments
- ✅ Creates new venv only when needed (virtualenv or python3 -m venv)
- ✅ Activates environment automatically
- Complete Project Setup:
- ✅ Django installation and project creation
- ✅ Pre-configured project structure with essential directories
- ✅ Static files directory (
static/) - ✅ Templates directory (
templates/) - ✅ Media files directory (
media/)
- Auto-configured Settings:
- ✅ Static files configuration
- ✅ Templates directory setup
- ✅ Media files handling
- ✅ Ready-to-run Django project
- Smart Virtual Environment Management:
Contributed by: mahamudh472
lazy next-js create- Create Next.js app with modern defaults- TypeScript, Tailwind CSS, and ESLint pre-configured
- Optional packages: Zod, bcrypt, js-cookie, SWR, Lucide React, react-hot-toast
- shadcn/ui integration support
lazy vite-js create- Multi-framework Vite project creation- Supports: Vanilla JS, React, Vue, Svelte
- Optional packages: axios, clsx, zod, react-hot-toast, react-router-dom, lucide-react
- Modern Tailwind CSS integration with DaisyUI support
lazy react-native create- Cross-platform mobile app creation- Supports: Expo (beginner-friendly) and React Native CLI (advanced)
- Navigation: React Navigation with stack and tab navigation
- State management: Redux Toolkit, Zustand options
- UI libraries: NativeWind (Tailwind), React Native Elements
- Essential packages: Async Storage, Vector Icons, React Hook Form, Axios
lazy --version- Show current versionlazy upgrade- Auto-upgrade to latest versionlazy --help- Comprehensive help system- Smart package manager detection
- Cross-platform compatibility
These features are planned for future updates:
- Python project bootstrapping
- Docker containerization support
- Deployment via PM2 and SSH
- Flutter, Go, Rust, .NET support
- Environment and secret management
- Auto-updating CLI (
lazycli update)
Run commands globally from anywhere in your terminal:
# Initialize new repository
lazy github init
# Clone and setup project
lazy github clone https://github.com/iammhador/repo.git
# Quick commit and push
lazy github push "Add new feature"
# Create pull request with full workflow
lazy github pr main "Implement user authentication"# Node.js with TypeScript
lazy node-js init
# Node.js with comprehensive structure (6 templates)
lazy node-js structure
# Next.js with modern stack
lazy next-js create
# Vite + React with Tailwind
lazy vite-js create
# React Native mobile app
lazy react-native create| Platform | Status | Requirements |
|---|---|---|
| 🍎 macOS | ✅ Full Support | Bash 4.0+ |
| 🐧 Linux | ✅ Full Support | Bash 4.0+ |
| 🪟 Windows | WSL or Git Bash |
We welcome contributions! LazyCLI is an open-source project built for the developer community.
git clone https://github.com/iammhador//lazycli
cd lazycli- 📝 Follow existing code style and patterns
- 🧪 Test your changes thoroughly
- 📚 Update documentation for new features
- 🔍 Ensure cross-platform compatibility
For detailed guidelines, visit lazycli.xyz/contribute
- 🐍 Python project scaffolding
- 🐳 Docker containerization support
- 🚀 Deployment automation (PM2, SSH)
- 📱 Flutter mobile development support
- 🦀 Rust & Go project templates
- 🔐 Environment & secret management
- 🌐 Multi-language support
- Plugin system for custom commands
- GUI companion app
- Cloud integration (AWS, Vercel, Netlify)
- Team collaboration features
This project is licensed under the MIT License.
Built and maintained by iammhador. Inspired by the simplicity of automation.