2.0.7 • Published 7 months ago

@ubaton/filegen v2.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

✨ 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:

  1. Select your preferred template
  2. Choose your package manager
  3. 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:

  1. 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
  1. Package Manager Selection
Choose a package manager to use:
ā–¶ bunx
  npx
  yarn
  pnpm
  1. 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
  1. 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:

  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

MIT


2.0.7

7 months ago

2.0.5

7 months ago

2.0.4

7 months ago

2.0.6

7 months ago

2.0.2

7 months ago

2.0.1

7 months ago

2.0.0

7 months ago

1.2.1

7 months ago

1.2.0

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago