Skip to content

korrect-ai/create-mf2-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

MF2 Stack

Move F*cking Fast

The full-stack web framework for developers who ship

Get started by running npx create mf2-app@latest

npm version Downloads License GitHub Stars

๐Ÿ“– Table of Contents

๐Ÿš€ Quick Start

npm create mf2-app@latest

๐Ÿ“ฆ Supports All Package Managers

npm npm create mf2-app@latest
yarn yarn create mf2-app
pnpm pnpm create mf2-app
bun bun create mf2-app

๐ŸŽฌ CLI Flow

โ—‡  What will your project be called?
โ”‚  my-startup
โ”‚
โ—‡  Which platform are you building for?
โ”‚  Web
โ”‚
โ—‡  What are you building?
โ”‚  โ— Full Stack (database, auth, payments, emails)
โ”‚  โ—‹ Full Stack + AI (agents, RAG, chat interface)
โ”‚  โ—‹ Frontend (landing pages, marketing sites)
โ”‚
โ—‡  Would you like to include documentation?
โ”‚  โ— Yes (powered by Mintlify)
โ”‚  โ—‹ No
โ”‚
โ—‡  Should we initialize a Git repository?
โ”‚  โ— Yes
โ”‚  โ—‹ No
โ”‚
โ—‡  Should we install dependencies?
โ”‚  โ— Yes
โ”‚  โ—‹ No
โ”‚
โ—†  Done! Here's how to get started...

๐ŸŽฏ What is the MF2 Stack?

The MF2 Stack is an opinionated, full-stack web development framework designed for speed. Created by Korrect, it's the stack that AI moves fast with.

๐Ÿ—๏ธ Core Philosophy

  • ๐Ÿš€ Ship Fast: Pre-configured with everything you need
  • ๐Ÿ”’ Type Safety: End-to-end TypeScript for confidence
  • ๐Ÿค– AI-Ready: Built for the AI era with streaming and real-time
  • ๐Ÿ“ฆ Batteries Included: Auth, payments, emails, analytics - it's all there
  • โค๏ธ Amazing DX: Tools that developers and LLMs love

๐Ÿ“ฆ Templates

Frontend Full Stack Full Stack + AI
Perfect for:
โ€ข Landing pages
โ€ข Marketing sites
โ€ข Documentation

Includes:
โœ… Next.js 15
โœ… TypeScript
โœ… Tailwind CSS v4
โœ… shadcn/ui
โœ… Dark mode
โœ… SEO ready
Perfect for:
โ€ข SaaS products
โ€ข Web apps
โ€ข Startups

Everything in Frontend plus:
โœ… Convex (database)
โœ… Clerk (auth)
โœ… Polar (payments)
โœ… Resend (email)
โœ… PostHog (analytics)
โœ… Production ready
Perfect for:
โ€ข AI applications
โ€ข Chatbots
โ€ข Smart features

Everything in Full Stack plus:
โœ… AI Agents
โœ… RAG System
โœ… Chat UI
โœ… Streaming
โœ… Usage tracking
โœ… Rate limiting

โœจ Features

๐ŸŽจ Frontend Excellence

โšก Next.js 15 Latest React framework with App Router
๐Ÿ”ท TypeScript Type-safe from database to UI
๐ŸŽจ Tailwind CSS v4 Modern styling with CSS variables
๐Ÿงฉ shadcn/ui Beautiful components ready to use
๐ŸŒ™ Dark Mode Automatic theme switching
๐Ÿ“ฑ Responsive Mobile-first design

๐Ÿ”ฅ Backend Power

๐Ÿ—„๏ธ Convex Real-time database with TypeScript
๐Ÿ” Clerk Complete auth with social logins
๐Ÿ’ณ Polar Modern payments and subscriptions
๐Ÿ“ง Resend Beautiful transactional emails
๐Ÿ“Š PostHog Analytics and feature flags
๐Ÿš€ Vercel One-click deployment

๐Ÿค– AI Features (Full Stack + AI)

๐Ÿค– AI Agents Pre-built assistant and support agents
๐Ÿ“š RAG System Knowledge base with vector search
๐Ÿ’ฌ Chat Interface Beautiful streaming chat UI
๐Ÿ“Š Usage Tracking Monitor tokens and costs
๐Ÿšฆ Rate Limiting Protect your API and wallet
๐ŸŽฎ Playground Test and debug AI agents

๐Ÿ› ๏ธ CLI Usage

Interactive Mode (Recommended)

npm create mf2-app@latest

With Options

# Create with project name
npm create mf2-app@latest my-startup

# Skip installation
npm create mf2-app@latest my-startup --no-install

# Use specific package manager
npm create mf2-app@latest my-startup --use-pnpm

# Skip git initialization  
npm create mf2-app@latest my-startup --no-git

CLI Options

Option Description
--use-npm Use npm as package manager
--use-yarn Use Yarn as package manager
--use-pnpm Use pnpm as package manager
--use-bun Use Bun as package manager
--no-git Skip Git repository initialization
--no-install Skip dependency installation

๐Ÿค” Why Choose MF2?

๐ŸŽฏ Built Different

๐Ÿง  AI-First Architecture

  • Streaming responses built-in
  • Type-safe AI interactions
  • Real-time data sync
  • Production-ready scaling

โšก Insane Developer Velocity

  • Hot reload everything
  • Type safety everywhere
  • Amazing error messages
  • One-command setup

๐Ÿ’ฐ Save Weeks of Setup

  • Auth system ready
  • Payments integrated
  • Email templates included
  • Analytics configured

๐Ÿ›ก๏ธ Production Ready

  • Security best practices
  • Error tracking setup
  • Performance optimized
  • Deployment ready

๐Ÿ“Š The Stack Comparison

Feature MF2 Stack T3 Stack Next.js Starter
Real-time Database โœ… Convex โŒ โŒ
Authentication โœ… Clerk โœ… NextAuth โŒ
Payments โœ… Polar โŒ โŒ
Email System โœ… Resend โŒ โŒ
AI Ready โœ… Built-in โŒ โŒ
Type Safety โœ… End-to-end โœ… โš ๏ธ Partial
Setup Time < 1 minute 5 minutes 10+ minutes

๐Ÿšข Deploy

Deploy your MF2 app with one click:

Deploy with Vercel

๐Ÿค Community & Support

Join our growing community of developers who ship fast:

Discord Twitter

  • ๐Ÿ’ฌ Discord - Get help and share your projects
  • ๐Ÿ› GitHub Issues - Report bugs
  • ๐Ÿฆ Twitter - Stay updated
  • ๐Ÿ“ง Email - Business inquiries

๐Ÿ‘ฅ Contributors

We love our contributors! Want to join them?

๐Ÿค How to Contribute

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing)
  5. Open a Pull Request

See CONTRIBUTING.md for detailed guidelines.

๐Ÿ† Success Stories

500+ Projects
Built with MF2
48 Hours
Average time to MVP
$2M+ Revenue
Generated by MF2 apps

๐Ÿ“„ License

MIT ยฉ Korrect



๐Ÿš€ Move F*cking Fast ๐Ÿš€

Built with โค๏ธ by Korrect and our amazing contributors


If you like MF2 Stack, give us a โญ on GitHub!

About

The stack AI moves fast with

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published