
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.