| Crates.io | aui-next-generator |
| lib.rs | aui-next-generator |
| version | 0.2.0 |
| created_at | 2025-08-27 07:06:48.328084+00 |
| updated_at | 2025-09-04 10:56:59.492597+00 |
| description | CLI tool to generate Next.js projects with Tailwind CSS, TypeScript, ESLint, and optional React Query integration |
| homepage | https://github.com/Zero1009/aui-next-generator |
| repository | https://github.com/Zero1009/aui-next-generator |
| max_upload_size | |
| id | 1812251 |
| size | 86,119 |
A fast CLI tool to generate Next.js projects with modern tooling and best practices.
cargo install aui-next-generator
git clone https://github.com/yourusername/aui-next-generator
cd aui-next-generator
cargo install --path .
# Interactive mode - prompts for project name
aui-next-gen
# Specify project name directly
aui-next-gen my-awesome-app
# Skip dependency installation
aui-next-gen my-app --skip-install
my-project/
├── src/
│ ├── app/ # Next.js App Router
│ │ ├── layout.tsx # Root layout
│ │ └── page.tsx # Home page
│ ├── components/ # Reusable UI components
│ │ └── Button.tsx # Example component
│ ├── constants/ # Application constants
│ ├── hooks/ # Custom React hooks
│ ├── libs/ # Utility libraries
│ ├── assets/ # Static assets
│ ├── types/ # TypeScript type definitions
│ ├── fonts/ # Custom fonts
│ └── styles/ # Global styles
│ └── globals.css # Tailwind imports & custom styles
├── public/ # Static files
├── next.config.ts # Next.js configuration
├── tsconfig.json # TypeScript configuration
├── postcss.config.mjs # PostCSS configuration
├── .eslintrc.json # ESLint rules
├── .gitignore # Git ignore rules
├── .npmrc # pnpm configuration
└── package.json # Project dependencies & scripts
The CLI validates your Node.js version and can automatically install pnpm if needed.
The generator provides interactive prompts for:
next/font/googleGenerated projects include these npm scripts:
{
"dev": "next dev", // or "next dev --turbo" if enabled
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint:fix": "next lint --fix"
}
MIT
Contributions are welcome! Please feel free to submit issues and pull requests.