my-costom
Version:
Advanced project template generator CLI with interactive selection and custom Hello World templates
207 lines (158 loc) โข 6.66 kB
Markdown
# mycostom CLI ๐
[](https://www.npmjs.com/package/my-costom)
[](https://opensource.org/licenses/MIT)
[](https://nodejs.org/)
> **Advanced project template generator CLI with interactive selection and custom Hello World templates**
A powerful, interactive command-line tool that helps you quickly scaffold new projects using popular frameworks and custom advanced templates. Whether you're building a simple React app or a full-stack application, mycostom has you covered!
## โจ Features
- ๐ฏ **Interactive Template Selection** - Choose from 25+ popular frameworks
- ๐๏ธ **Custom Advanced Templates** - Feature-rich Hello World applications
- ๐จ **Beautiful CLI Interface** - Gradient banners, spinners, and colors
- โก **Lightning Fast** - Quick project setup with zero configuration
- ๐ง **Production Ready** - Best practices and modern patterns included
- ๐ฑ **Framework Agnostic** - Support for React, Vue, Node.js, and more
## ๐ฆ Installation
### Global Installation (Recommended)
```bash
npm install -g my-costom
```
### Use without installing
```bash
npx my-costom
```
## ๐ Quick Start
Simply run the command and follow the interactive prompts:
```bash
mycostom
```
## ๐ Available Templates
### ๐ Standard Templates (25+)
- **React/Next.js**: Next.js, Remix, React Router, TanStack Start
- **Vue/Nuxt**: Astro, Modern.js, Vike
- **Build Tools**: Vite, Webpack, Parcel, ESBuild, Rspack
- **Meta Frameworks**: Blitz.js, RedwoodJS, Gatsby
- **Backend**: AdonisJS, Laravel, Meteor.js
- **Performance**: Bun, Farm (Rust-based), Rsbuild
### ๐ฏ Custom Advanced Templates
- **Hello World - React Advanced**: Router + State Management + Animations
- **Hello World - Vue Advanced**: Composition API + Pinia + Modern Vue
- **Hello World - Node.js Advanced**: Express + JWT + Security + Logging
- **Hello World - Full Stack Advanced**: Complete CRUD app with auth
## ๐ ๏ธ Template Features
### React Advanced Template Includes:
- โ๏ธ React 18 with modern hooks
- ๐ฆ React Router for navigation
- ๐ญ Framer Motion for animations
- ๐ Dark mode toggle
- ๐ฑ Responsive design
- โก Vite for lightning-fast development
### Node.js Advanced Template Includes:
- ๐ JWT Authentication system
- ๐ก๏ธ Security headers with Helmet
- โก Rate limiting middleware
- ๐ Comprehensive logging
- ๐ฅ Health check endpoints
- ๐ Error handling middleware
### Full Stack Template Includes:
- ๐ฏ React frontend with modern patterns
- ๐ Node.js backend with Express
- ๐๏ธ Database integration ready
- ๐ Complete authentication flow
- ๐ณ Docker configuration
- ๐ CI/CD pipeline setup
## ๐ Usage Examples
### Interactive Mode
```bash
mycostom
# Follow the prompts to select template and project name
```
### Quick Project Setup
After template selection:
```bash
cd your-project-name
npm install
npm run dev
```
### Custom Template Features
Each advanced template includes:
- ๐ Comprehensive README
- ๐ง Modern development setup
- ๐จ Beautiful UI components
- ๐ Performance optimizations
- ๐งช Testing setup ready
- ๐ฆ Production build configuration
## ๐จ Screenshots
```
โโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโ โโโโโโ โโโโโโโโโ โโโโโโโ โโโโโโโ
โโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโ โโโโโโโโโโ โโโโโโ โโโโโโโโโ โโโโโโโโโโโโโโโโ โโโ โโโ โโโโโโโโโโโ
โโโ โโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโ โโโ โโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโ โโโ โโโ โโโโโโโโโโโโ โโโ
โโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโ โโโ โโโ โโโโโโโ โโโ โโโ
๐ Advanced Project Template Generator
```
## ๐ง Development
### Prerequisites
- Node.js >= 14.0.0
- npm >= 6.0.0
### Local Development
```bash
# Clone the repository
git clone https://github.com/yourusername/mycostom.git
cd mycostom
# Install dependencies
npm install
# Test locally
npm start
# Test as global package
npm link
mycostom
```
### Testing
```bash
npm test
```
### Publishing
```bash
npm publish --access public
```
## ๐ Project Structure
```
mycostom/
โโโ index.js # Main CLI application
โโโ package.json # Package configuration
โโโ README.md # Documentation
โโโ LICENSE # MIT License
โโโ templates/ # Custom template files
โโโ react/
โโโ vue/
โโโ node/
โโโ fullstack/
```
## ๐ค Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
### Development Guidelines
1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request
## ๐ License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## ๐ Acknowledgments
- Inspired by create-react-app, create-next-app, and other scaffolding tools
- Built with love for the JavaScript community
- Special thanks to all framework maintainers
## ๐ Stats
- ๐ 25+ Templates supported
- โก Lightning fast setup
- ๐ง Zero configuration required
- ๐ฑ Modern development patterns
- ๐ Production ready
## ๐ Support
- ๐ซ **Issues**: [GitHub Issues](https://github.com/yourusername/mycostom/issues)
- ๐ฌ **Discussions**: [GitHub Discussions](https://github.com/yourusername/mycostom/discussions)
- ๐ง **Email**: your.email@example.com
---
Made with โค๏ธ by the JavaScript community
**Happy Coding!** ๐