sysrot-hub
Version:
CLI de nueva generaciΓ³n para proyectos Next.js 14+ con IA multi-modelo, Web3 integration, internacionalizaciΓ³n completa y roadmap realista 2025-2026
230 lines (183 loc) β’ 8.69 kB
Markdown
# π sysrot-hub
**Next-generation CLI for creating advanced Next.js 14+ projects with multi-AI, SaaS, e-commerce, chat, analytics, and more.**
[](https://badge.fury.io/js/sysrot-hub)
[](https://opensource.org/licenses/MIT)
[](https://nodejs.org/)
## π― What is sysrot-hub?
**sysrot-hub** is a CLI tool that scaffolds production-ready Next.js 14+ projects with a complete, enterprise-grade ecosystem. It provides not just a project starter, but a full suite of real-world, integrated business systems, modern UI/UX, multi-language support, and advanced developer tooling.
## π¦ Installation
```bash
npm install -g sysrot-hub
# or use npx
yarn create sysrot-hub my-project
npx sysrot-hub my-project
```
## π Repository & Documentation
- **GitHub repository:** [https://github.com/rotosaurio/sysrot](https://github.com/rotosaurio/sysrot)
- **Documentation (English):** [DOCUMENTACION.md](DOCUMENTACION.md)
- **Read this README in Spanish:** [README.es.md](README.es.md)
- **Other documentation:**
- [README-ECOMMERCE.md](https://github.com/rotosaurio/sysrot/blob/main/README-ECOMMERCE.md) β E-commerce system
- [README-SAAS.md](https://github.com/rotosaurio/sysrot/blob/main/README-SAAS.md) β SaaS multi-tenant
- [README-CHAT.md](https://github.com/rotosaurio/sysrot/blob/main/README-CHAT.md) β Real-time chat
- [README-CHATBOT.md](https://github.com/rotosaurio/sysrot/blob/main/README-CHATBOT.md) β AI chatbots
- [README-VIDEOS.md](https://github.com/rotosaurio/sysrot/blob/main/README-VIDEOS.md) β Video streaming
- [CHANGELOG-PHASES.md](https://github.com/rotosaurio/sysrot/blob/main/CHANGELOG-PHASES.md) β Roadmap & phases
## β¨ Key Features
- **Next.js 14+** with Pages Router, SSR/SSG, API routes
- **TypeScript** throughout the codebase
- **TailwindCSS** with dark/light mode and custom themes
- **Component library**: layouts, tables, forms, cards, toggles, loaders, badges, etc.
- **Form validation**: React Hook Form + Zod
- **Notifications**: react-hot-toast
- **Internationalization (i18n)**: React Intl, ES/EN, language switcher
- **Authentication**: NextAuth.js (Google, GitHub, email, Discord, Twitter, credentials)
- **Role-based access**: admin/user, route protection middleware
- **REST APIs**: for all business systems
- **Stripe integration**: payments, webhooks, billing
- **Cloudinary integration**: image/video uploads
- **AI integration**: OpenAI, Anthropic, Google, DeepSeek (multi-model, selectable)
- **Prisma**: for e-commerce, SaaS, chat, projects, video, courses, healthcare, etc.
- **MongoDB**: ready-to-use utilities
- **Zustand**: global state management (e.g. shopping cart)
- **Framer Motion**: animations and micro-interactions
- **Mobile optimization**: breakpoints, touch gestures, PWA
- **Complete documentation**: in English and Spanish
- **Ready for Vercel and Docker deployment**
## π’ Included Business Systems (Full Integration Examples)
| System | Status | Models | APIs | Users | Docs |
|----------------|----------|--------|------|-------|------|
| ποΈ E-commerce | β
Ready | 15+ | 8+ | 25+ | [README-ECOMMERCE.md](README-ECOMMERCE.md) |
| π’ SaaS | β
Ready | 8 | 6+ | 12+ | [README-SAAS.md](README-SAAS.md) |
| π¬ Chat | β
Ready | 8 | 5+ | 15+ | [README-CHAT.md](README-CHAT.md) |
| π€ Chatbots | β
Ready | 8 | 4+ | 8+ | [README-CHATBOT.md](README-CHATBOT.md) |
| π Projects | β
Ready | 16 | 2+ | 6+ | [README-PROJECTS.md](README-PROJECTS.md) |
| πΊ Video | β
Ready | 15 | 2+ | 8+ | [README-VIDEOS.md](README-VIDEOS.md) |
| πͺ Marketplace | β
Ready | 10+ | 3+ | 10+ | (see docs) |
| π¨βπΌ Portfolio | β
Ready | 5+ | 1+ | 1+ | (see docs) |
| π Landing Page| β
Ready | - | - | - | (see docs) |
| π Analytics | β
Ready | - | - | - | (see docs) |
| π Task App | β
Ready | 5+ | 1+ | 1+ | (see docs) |
**Total: 70+ database models, 35+ REST APIs, 74+ test users**
## π§© Example Pages & Features
- `/ejemplos/auth` - Authentication flows
- `/ejemplos/ai` - Multi-model AI chat
- `/ejemplos/upload` - Image upload (Cloudinary)
- `/ejemplos/ecommerce` - E-commerce demo
- `/ejemplos/marketplace` - Marketplace platform
- `/ejemplos/portfolio` - Personal portfolio
- `/ejemplos/saas` - SaaS multi-tenant
- `/ejemplos/chat` - Real-time chat (Socket.io)
- `/ejemplos/landing-page` - Modern landing page
- `/ejemplos/task-app` - Task management with drag & drop
- `/ejemplos/analytics-dashboard` - Analytics dashboard
- `/ejemplos/ui-temas` - Theme switching
- `/ejemplos/formularios` - Advanced forms
- `/ejemplos/notificaciones` - Toast notifications
- `/ejemplos/animaciones` - Animations (Framer Motion)
- `/ejemplos/database` - Database integration
- `/blog` - MDX blog system
## ποΈ Project Structure
```
my-project/
βββ components/ # Reusable UI components
β βββ ai/ # AI components
β βββ auth/ # Authentication
β βββ ui/ # UI library
β βββ upload/ # File/image upload
β βββ performance/ # Performance tools
β βββ providers/ # Context providers
β βββ theme-provider.tsx
βββ lib/ # Utilities, i18n, db, roles, mobile
βββ pages/ # Next.js pages
β βββ api/ # API routes
β βββ blog/ # Blog pages
β βββ ejemplos/ # Example pages
βββ prisma/ # Database schema & seeders
βββ public/ # Static assets
βββ styles/ # CSS (globals, mobile)
βββ locales/ # i18n translations
βββ posts/ # MDX blog posts
βββ README.md # Main documentation
βββ ...
```
## βοΈ Environment Variables
Copy `.env.example` to `.env.local` and fill in your values:
```env
# Database
DATABASE_URL=your_postgresql_connection_string
MONGODB_URI=your_mongodb_connection_string
# Authentication
NEXTAUTH_SECRET=your_secret_key
NEXTAUTH_URL=http://localhost:3000
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
GITHUB_ID=your_github_id
GITHUB_SECRET=your_github_secret
# AI Providers
OPENAI_API_KEY=your_openai_key
ANTHROPIC_API_KEY=your_anthropic_key
GOOGLE_API_KEY=your_google_key
# Cloudinary
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret
# Stripe
STRIPE_PUBLISHABLE_KEY=pk_test_...
STRIPE_SECRET_KEY=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
```
## π οΈ Developer Tooling
- **TypeScript**: type safety everywhere
- **ESLint**: code quality
- **Prettier**: code formatting
- **Prisma Studio**: DB admin UI
- **React Hot Toast**: notifications
- **Framer Motion**: animations
- **Zustand**: state management
- **Socket.io**: real-time chat
- **Chart.js, D3.js, recharts**: analytics
- **Testing ready**: structure for unit/integration/e2e tests
## π Documentation & Resources
- [DOCUMENTACION.md](DOCUMENTACION.md) β Full documentation (Spanish)
- [README.es.md](README.es.md) β Este README en espaΓ±ol
- [README-ECOMMERCE.md](README-ECOMMERCE.md) β E-commerce system
- [README-SAAS.md](README-SAAS.md) β SaaS multi-tenant
- [README-CHAT.md](README-CHAT.md) β Real-time chat
- [README-CHATBOT.md](README-CHATBOT.md) β AI chatbots
- [README-VIDEOS.md](README-VIDEOS.md) β Video streaming
- [CHANGELOG-PHASES.md](CHANGELOG-PHASES.md) β Roadmap & phases
## π¦ Roadmap (2025-2026)
### Planned Expansions
- CRM (customer management, pipeline, notes)
- LMS (courses, lessons, quizzes, progress)
- Ticket/support system (incidents, comments, assignment)
- Push notifications (web push, service worker)
- External integrations (webhooks, Slack, Zapier)
- Accessibility improvements (keyboard nav, ARIA roles, contrast)
- Expanded testing (unit, integration, e2e)
- Interactive onboarding (guided tours)
- Favorites/ratings (products, courses, projects)
- Visual documentation (diagrams, videos, tutorials)
- Performance improvements (caching, CDN, advanced lazy loading)
### What is NOT included (yet)
- Blockchain/NFTs/Web3 (not implemented)
- Mobile app (web only, mobile optimized)
- Microservices (monolithic Next.js)
- ERP/IoT (suggested, not implemented)
## π License
MIT
**Made with β€οΈ by the sysrot team**