2.0.7 ⢠Published 7 months ago
@ubaton/filegen v2.0.7
⨠Features
- šÆ Interactive CLI interface for easy template selection
- š¦ Pre-configured Next.js + TypeScript + Tailwind CSS setup
- š Multiple project templates for different use cases
- ā” Quick setup with your preferred package manager
- šØ Modern and responsive design patterns
- š ļø Best practices and optimized project structure
š§ Prerequisites
- Node.js 16.x or later
- npm, yarn, pnpm, or bun package manager
- Basic knowledge of Next.js and React
š¦ Installation
You can install FileGen globally using any of these package managers:
# Using npm
npm install -g filegen
# Using yarn
yarn global add filegen
# Using pnpm
pnpm add -g filegen
# Using bun
bun add -g filegen
š Usage
Interactive Mode
Start the interactive CLI to choose your template:
filegen
Follow the prompts to:
- Select your preferred template
- Choose your package manager
- Configure project settings
Direct Template Selection
Generate a project with a specific template:
filegen --template <template-name>
# Example
filegen --template e-commerce
š Available Templates
1. E-commerce Store
A complete e-commerce solution featuring:
- šļø Product catalog with filtering and search
- š Shopping cart with persistent storage
- š³ Checkout process integration
- š± Responsive product galleries
- š User authentication and profiles
2. Blog Platform
Modern blogging platform with:
- āļø Markdown support for content
- š·ļø Categories and tags system
- š„ Multi-author capabilities
- š Full-text search
- š Analytics integration
3. Tech Website
Professional tech website template with:
- šØ Modern landing page design
- š± Responsive components
- š¬ Contact form integration
- š SEO optimization
4. Portfolio
Personal portfolio template featuring:
- š¼ļø Project showcase gallery
- šŖ Skills section
- š Blog integration
- š± Mobile-first design
5. SaaS Platform
Complete SaaS starter with:
- š Authentication system
- š¼ Admin dashboard
- š„ User management
- š³ Subscription handling
6. Community Forum
Interactive forum platform with:
- š¬ Discussion boards
- š¤ User profiles
- š Notification system
- š Advanced search
7. Learning Management
E-learning platform featuring:
- š Course organization
- š Progress tracking
- š Assessment tools
- šØāš« Instructor dashboard
8. News Portal
News website template with:
- š° Article layouts
- š·ļø Category system
- š Search functionality
- š± Responsive design
šÆ Interactive Selection
When you run filegen
without any arguments, you'll be presented with an interactive CLI interface:
- Template Selection
Select a template to generate:
ā¶ š E-commerce Store
āļø Blog Platform
š» Tech Website
š Portfolio
š SaaS Platform
š„ Community Forum
š Learning Management System
š° News Portal
[āā] Navigate
[Enter] Select template
- Package Manager Selection
Choose a package manager to use:
ā¶ bunx
npx
yarn
pnpm
- Project Setup
- Creates a new Next.js project with:
- TypeScript configuration
- Tailwind CSS setup
- ESLint integration
- Installs template-specific dependencies
- Generates the file structure based on your selected template
- Post-Installation Once completed, you can start your development server:
# Start the development server
bun dev
# or
npm run dev
# or
yarn dev
# or
pnpm dev
š¤ Contributing
We welcome contributions! Here's how you can help:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request