{"id":30606585,"url":"https://github.com/0xshariq/package-installer-cli","last_synced_at":"2025-08-30T03:03:04.702Z","repository":{"id":306932065,"uuid":"1027590208","full_name":"0xshariq/package-installer-cli","owner":"0xshariq","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-24T18:02:40.000Z","size":2464,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-24T21:45:42.739Z","etag":null,"topics":["angularjs","auth","clerk","cli","cli-tool","javascript","mcp-server","next-auth","nextjs","project","react","reactjs","remix","rust","shadcn-ui","templates","typescript","vue","vuejs"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@0xshariq/package-installer","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xshariq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-28T08:36:40.000Z","updated_at":"2025-08-24T18:02:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"2947fcda-5434-43f7-9c90-2c2a08bd45e5","html_url":"https://github.com/0xshariq/package-installer-cli","commit_stats":null,"previous_names":["0xshariq/package-installer-cli"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/0xshariq/package-installer-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xshariq%2Fpackage-installer-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xshariq%2Fpackage-installer-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xshariq%2Fpackage-installer-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xshariq%2Fpackage-installer-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xshariq","download_url":"https://codeload.github.com/0xshariq/package-installer-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xshariq%2Fpackage-installer-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272797077,"owners_count":24994521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angularjs","auth","clerk","cli","cli-tool","javascript","mcp-server","next-auth","nextjs","project","react","reactjs","remix","rust","shadcn-ui","templates","typescript","vue","vuejs"],"created_at":"2025-08-30T03:01:44.943Z","updated_at":"2025-08-30T03:03:04.660Z","avatar_url":"https://github.com/0xshariq.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📦 Package Installer CLI\n\n[![npm version](https://img.shields.io/npm/v/@0xshariq/package-installer.svg)](https://www.npmjs.com/package/@0xshariq/package-installer)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Node.js](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg)](https://nodejs.org/)\n\nA **cross-platform, interactive CLI** to scaffold modern web application templates with support for multiple frameworks, languages, and development tools. Create production-ready projects in seconds!\n\n## 🚀 Features\n\n- **🎨 Multiple Frameworks**: React, Next.js, Express, Angular, Vue, Rust\n- **🔤 Language Support**: TypeScript \u0026 JavaScript variants\n- **🎭 UI Libraries**: Tailwind CSS, Material-UI, shadcn/ui\n- **📦 Smart Bundlers**: Vite, built-in framework bundlers\n- ** Auto-Installation**: Automatic dependency installation\n- **🎯 Interactive Prompts**: Guided project setup experience\n- **⚡ Lightning Fast**: Optimized template generation\n- **🌈 Beautiful CLI**: Gorgeous terminal interface\n\n## 📥 Installation\n\n### Global Installation (Recommended)\n\n```bash\n# Using npm\nnpm install -g @0xshariq/package-installer\n\n# Using yarn\nyarn global add @0xshariq/package-installer\n\n# Using pnpm (recommended)\npnpm add -g @0xshariq/package-installer\n```\n\n### One-Time Usage\n\n```bash\n# Using npx\nnpx @0xshariq/package-installer create my-app\n```\n\n## 🎯 Quick Start\n\n```bash\n# Create new project interactively\npi create\n\n# Create with specific name\npi create my-awesome-app\n\n# Analyze current project\npi analyze\n\n# Update project dependencies\npi update\n```\n\n## 📋 Commands Overview\n\n| Command | Description | Status |\n|---------|-------------|--------|\n| `pi create` | Create new project from templates | ✅ Available |\n| `pi analyze` | Analyze project structure and dependencies | ✅ Available |\n| `pi update` | Update project dependencies to latest versions | ✅ Available |\n| `pi add` | Add features to existing projects | ✅ Available |\n| `pi check` | Check project health and dependencies | ✅ Available |\n| `pi clone` | Clone and setup repositories | ✅ Available |\n| `pi doctor` | Diagnose and fix project issues | ✅ Available |\n| `pi env` | Analyze development environment | ✅ Available |\n| `pi clean` | Clean development artifacts | ✅ Available |\n| `pi cache` | Manage CLI cache system | ✅ Available |\n| `pi upgrade-cli` | Upgrade CLI to latest version | ✅ Available |\n| `pi deploy` | Deploy projects to platforms | 🚧 Coming Soon |\n| `pi --help` | Show help information | ✅ Available |\n| `pi --version` | Display CLI version | ✅ Available |\n\nFor detailed command documentation, see [docs/commands.md](docs/commands.md).\n\n## ⚡ Intelligent Caching System\n\nPackage Installer CLI includes a comprehensive caching system for lightning-fast performance:\n\n### 🗄️ Cache Features\n- **Project Analysis Caching** - Stores project metadata and analysis results\n- **Template Usage Tracking** - Recommends popular templates based on usage\n- **Package Version Caching** - Caches npm package version checks\n- **Template File Caching** - Caches frequently used templates for instant creation\n- **System Environment Caching** - Stores development tool information\n\n### 📊 Cache Management\n```bash\n# View cache statistics and info\npi cache\n\n# Clear specific cache types\npi cache clear projects    # Clear project analysis cache\npi cache clear packages    # Clear package version cache\npi cache clear templates   # Clear template file cache\npi cache clear all         # Clear all caches\n\n# View detailed cache stats\npi cache stats\n\n# Show cache configuration\npi cache info\n```\n\n### 🎯 Performance Benefits\n- **5-10x faster** project creation with cached templates\n- **2-3x faster** project analysis with cached data\n- **Instant template recommendations** based on usage patterns\n- **Reduced API calls** for package version checks\n- **Smart cache invalidation** ensures data freshness\n\n## 🎨 Supported Templates\n\n### Frontend Frameworks\n- **React (Vite)** - TypeScript/JavaScript with modern tooling\n- **Next.js** - App Router, Tailwind CSS, shadcn/ui, src directory options\n- **Angular** - Material-UI, Tailwind CSS, modern CLI setup\n- **Vue.js** - Composition API, Vite, modern tooling\n\n### Backend Frameworks\n- **Express** - TypeScript/JavaScript RESTful APIs with middleware\n\n### System Programming\n- **Rust** - Basic \u0026 Advanced project templates\n\n## 🛠️ Template Features\n\n- **UI \u0026 Styling**: Tailwind CSS, Material-UI, shadcn/ui\n- **Project Structure**: Source directory or root level organization\n- **Development Tools**: ESLint, Prettier, TypeScript support\n- **Build Tools**: Vite, framework-specific bundlers\n\n## 🏗️ Project Structure\n\nAfter creating a project, you'll get a modern, well-organized structure:\n\n```\nmy-awesome-app/\n├── src/                    # Source code\n│   ├── components/         # Reusable components\n│   ├── pages/              # Route components\n│   └── utils/              # Utility functions\n├── public/                 # Static assets\n├── .env.example            # Environment variables template\n├── package.json            # Dependencies and scripts\n├── README.md               # Project documentation\n└── tailwind.config.js      # Tailwind CSS config (if selected)\n```\n\n## 🔄 Auto-Installation Features\n\nPackage Installer CLI automatically:\n\n- **Installs dependencies** using your preferred package manager (npm/yarn/pnpm)\n- **Sets up Git repository** with initial commit\n- **Configures development scripts** and build processes\n- **Creates well-structured project layout**\n\n## 🐛 Troubleshooting\n\n### Common Issues\n\n**Installation Issues:**\n```bash\n# Clear npm cache and reinstall\nnpm cache clean --force\nnpm install -g @0xshariq/package-installer\n```\n\n**Command Not Found:**\n```bash\n# Alternative: use npx\nnpx @0xshariq/package-installer create my-app\n```\n\n## 🤝 Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.\n\n##  License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🔗 Links\n\n- **NPM Package**: [@0xshariq/package-installer](https://www.npmjs.com/package/@0xshariq/package-installer)\n- **GitHub Repository**: [package-installer-cli](https://github.com/0xshariq/package-installer-cli)\n- **Issues \u0026 Feedback**: [GitHub Issues](https://github.com/0xshariq/package-installer-cli/issues)\n\n---\n\n**Happy coding! 🚀** Create something amazing with Package Installer CLI.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xshariq%2Fpackage-installer-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xshariq%2Fpackage-installer-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xshariq%2Fpackage-installer-cli/lists"}