@entro314labs/create-at3-app
Version:
Scaffold new AT3 Stack projects with AI, edge, and modern tooling
202 lines (150 loc) ⢠5.66 kB
Markdown
# create-at3-app
<div align="center">

**Scaffold new AT3 Stack projects with AI, edge, and modern tooling**
[](https://badge.fury.io/js/@entro314-labs%2Fcreate-at3-app)
[](https://opensource.org/licenses/MIT)
[](https://nodejs.org/)
</div>
**create-at3-app** is the fastest way to get started with the AT3 Stack. Scaffold production-ready applications with AI integration, edge deployment, and modern development tools in seconds.
## About AT3 Stack
**AT3** (AIT3E) combines the proven T3 foundation with first-class AI integration and edge-first architecture:
- **š¤ AI** - First-class artificial intelligence integration with multiple providers
- **š T3** - The beloved Next.js + TypeScript + Tailwind foundation
- **ā” E** - Edge computing and serverless deployment
## Quick Start
```bash
# Create a new AT3 app
npx create-at3-app@latest my-app
# Or with pnpm (recommended)
pnpm create @entro314-labs/at3-app my-app
# Or with yarn
yarn create @entro314-labs/at3-app my-app
```
## Templates
Choose from carefully crafted templates to match your project needs:
### **T3 Base**
Classic T3 stack foundation - perfect for traditional web apps
- ā
Next.js 15 with App Router
- ā
TypeScript with strict configuration
- ā
Tailwind CSS 4.x
- ā
tRPC for type-safe APIs
### **T3 + Edge**
T3 stack enhanced with edge-first deployment
- ā
Everything in T3 Base
- ā
Supabase for database and auth
- ā
Edge Runtime optimization
- ā
Serverless deployment ready
### **T3 + AI (Custom)**
T3 + flexible AI integration with multiple providers
- ā
Everything in T3 Base
- ā
OpenAI, Anthropic, Google AI support
- ā
Custom AI provider configuration
- ā
Streaming AI responses
### **T3 + AI (Vercel SDK)**
T3 + Vercel AI SDK for streamlined AI features
- ā
Everything in T3 Base
- ā
Vercel AI SDK integration
- ā
Built-in streaming support
- ā
UI components for AI
### **T3 + AI (Both)**
T3 + comprehensive AI integration
- ā
Everything in T3 Base
- ā
Custom AI providers + Vercel SDK
- ā
Maximum AI flexibility
- ā
Production-ready streaming
### **AT3 Suggested** š
Complete AT3 stack with all features
- ā
Everything above
- ā
PWA support
- ā
Internationalization (i18n)
- ā
Comprehensive testing setup
- ā
Production optimizations
### **83 Flavor** ā
Signature entro314-labs stack configuration
- ā
T3 foundation
- ā
Supabase + Vercel Edge
- ā
Vercel AI SDK
- ā
Optimized for rapid deployment
## Interactive Mode
Run without arguments for the full interactive experience:
```bash
npx create-at3-app@latest
```
The CLI will guide you through:
- š Project name validation
- šÆ Template selection with descriptions
- š¦ Package manager detection
- āļø Feature configuration
- š Automatic setup
## Non-Interactive Mode
For automation and scripts:
```bash
# Create with specific options
npx create-at3-app@latest my-app \
--template 83-flavor \
--pm pnpm \
--no-git \
--no-supabase
```
### Options
- `--template, -t <template>` - Template to use (default: t3)
- `--pm <manager>` - Package manager: pnpm, npm, yarn (default: pnpm)
- `--no-install` - Skip dependency installation
- `--no-git` - Skip Git repository initialization
- `--no-supabase` - Skip Supabase project setup
## What's Created
Your new AT3 app includes:
```
my-app/
āāā src/
ā āāā app/ # Next.js 15 App Router
ā āāā components/ # Reusable UI components
ā āāā lib/ # Utilities and configurations
ā āāā server/ # Server-side code (tRPC, auth)
ā āāā styles/ # Global styles and Tailwind
āāā public/ # Static assets
āāā .env.example # Environment variables template
āāā next.config.js # Next.js configuration
āāā tailwind.config.js # Tailwind CSS configuration
āāā tsconfig.json # TypeScript configuration
āāā package.json # Dependencies and scripts
```
## Next Steps
After creating your app:
1. **š Navigate to your project**
```bash
cd my-app
```
2. **āļø Configure environment variables**
```bash
cp .env.example .env.local
# Add your API keys and database URLs
```
3. **š Start developing**
```bash
pnpm dev
```
4. **š Explore the documentation**
- [AT3 Stack Guide](https://at3-stack.dev/docs)
- [AI Integration](https://at3-stack.dev/docs/ai)
- [Edge Deployment](https://at3-stack.dev/docs/edge)
## AT3 Ecosystem
**create-at3-app** works seamlessly with other AT3 tools:
- **[at3-stack-kit](../at3-stack-kit)** - Upgrade existing projects to AT3 Stack
- **[@entro314-labs/at3-toolkit](../at3-toolkit)** - Advanced development tools and migration
## Examples
Check out example AT3 applications:
- [Basic AT3 App](../../examples/basic-at3)
- [AI Chat App](../../examples/ai-chat)
- [E-commerce Platform](../../examples/ecommerce)
- [SaaS Starter](../../examples/saas)
## Contributing
We welcome contributions! Please see our [Contributing Guide](../../CONTRIBUTING.md).
## Support
- š [Documentation](https://at3-stack.dev)
- š [Issues](https://github.com/entro314-labs/at3-stack-kit/issues)
- š¬ [Discord](https://discord.gg/at3-stack)
- š¦ [Twitter](https://twitter.com/at3stack)
## License
MIT Ā© [entro314-labs](https://github.com/entro314-labs)