create-trix
v1.0.1
Published
Universal project scaffolding CLI for frontend and backend applications
Maintainers
Readme
Trix is a powerful, interactive CLI tool designed to help developers bootstrap full-stack and mobile applications in seconds. It provides a curated selection of frameworks, libraries, and modules, all perfectly configured to work together.
Key Features
- Framework Diversity: Choose from React, Vue 3, Svelte, Express, Fastify, NestJS, and more.
- Mobile Ready: Build React Native & Expo apps with NativeWind, React Navigation, and more.
- Modern Styling: Out-of-the-box support for Tailwind CSS, NativeWind, shadcn/ui, and more.
- Auth Ready: Integrated authentication with Clerk, Supabase, Firebase, Privy, or custom JWT.
- Data Power: Easily set up PostgreSQL, MySQL, or MongoDB with Prisma or Mongoose.
- TypeScript First: Every single template is built with TypeScript performance and safety in mind.
- Multi-Manager: Works seamlessly with npm, yarn, pnpm, and bun.
Supported Tech Stack
Frontend
- Frameworks: React, Vue 3, Svelte 4
- Styling: Tailwind CSS, shadcn/ui, DaisyUI
- State: Zustand, Redux Toolkit
- API: TanStack Query, Axios, SWR
Mobile
- Frameworks: Expo (Recommended), React Native CLI
- Navigation: React Navigation, Expo Router
- Styling: NativeWind (Tailwind), Tamagui, styled-components
- State: Zustand, Redux, Jotai, MobX, Recoil, Legend State
- API: TanStack Query, Axios, ky
- Auth: Clerk, Supabase, Firebase
Backend
- Runtimes: Node.js, Bun
- Frameworks: Express, Fastify, NestJS
- Database: PostgreSQL, MySQL, MongoDB
- ORM: Prisma, Drizzle, Mongoose
Quick Start
Get your project up and running in minutes:
# 1. Clone the repository
git clone https://github.com/JubrilKolade/trix.git
cd trix
# 2. Install and build
npm install
npm run build
# 3. Link globally
npm link
# 4. Generate your project!
create-trixUsage
Interactive Mode (Recommended)
Simply run create-trix and follow the beautiful terminal prompts to curate your stack.
create-trixQuick Project Creation
Skip the initial name prompt by providing it as an argument:
create-trix my-new-appProject Structure
src/core/- Core CLI logic & configuration builder.src/prompts/- Interactive user experience.templates/- Curated project templates (Handlebars).src/generators/- File generation and code injection logic.src/installers/- Dependency installation & package manager handling.
Development
Running Tests
npm testBuilding
npm run buildContributing
We welcome contributions! Whether it's a new template, a bug fix, or a feature request, feel free to open an issue or submit a PR.
- Fork the repo
- Clone your fork
- Commit your changes
- Push to your branch
- Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
