Marcode-AI is an AI-powered platform that enables users to generate, preview, and manage full-stack web applications by simply describing what they want to build. The platform leverages advanced AI, live sandboxed previews, and a modern dashboard to streamline the process of creating and exploring code projects!
Frontend:
- Next.js (App + Routing) - React framework for pages and routing
- TypeScript - Type-safe JavaScript for better DX and maintainability
- Tailwind CSS - Utility-first CSS framework for rapid UI styling
Backend:
- Next.js API Routes - Serverless functions for backend logic
- Prisma (PostgreSQL ORM) - Database access and modeling layer
- tRPC - Type-safe API layer for seamless client-server integration
- Inngest - Background jobs and async workflows
- OpenAI API - AI code generation from user prompts
- E2B - Secure sandbox for live code previews
- Neon - Hosted PostgreSQL database
Authentication:
- Clerk - Authentication and user management
Deployment:
- Vercel - Hosting and serverless deployment platform
- AI-powered project creation: Describe your app, and Marcode-AI generates the code
- Live sandboxed previews: Instantly preview generated apps in a secure iframe
- Project management: View, organize, and revisit all your generated projects
- Authentication: Secure sign-in/sign-up with Clerk
- Usage tracking: Free and Pro credit system for AI usage
- Responsive UI/UX: Modern, accessible, and dark/light mode
- Visit the app: https://marcode-ai.vercel.app/
- Sign up or log in with Clerk
- Describe your project in the prompt ("Build me a Netflix clone")
- Wait for the AI to generate your app
- Preview, copy, or open the generated code in a live sandbox
- Manage your projects from the dashboard
git clone https://github.com/your-username/marcode-ai.git
cd marcode-ai/marcodenpm installDATABASE_URL=...
NEXT_PUBLIC_API_URL="http://localhost:3000"
OPENAI_API_KEY=...
E2B_API_KEY=...
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=...
CLERK_SECRET_KEY=...
NEXT_PUBLIC_CLERK_SIGN_IN_URL="/sign-in"
NEXT_PUBLIC_CLERK_SIGN_UP_URL="/sign-up"
NEXT_PUBLIC_CLERK_SIGN_IN_FALLBACK_REDIRECT_URL="/"
NEXT_PUBLIC_CLERK_SIGN_UP_FALLBACK_REDIRECT_URL="/"npx prisma migrate deploy
npx prisma generatenpm run devnpx inngest-cli@latest dev- AI Handling: Uses Inngest to coordinate multi-step AI agent workflows for code generation and project setup
- Sandboxed Execution: E2B sandboxes run generated code securely and provide live previews via HTTPS
- Type Safety: End-to-end type safety with TypeScript, Prisma, and TRPC
- Modern UI: Built with shadcn/ui and Tailwind for a polished, accessible experience
- Usage Limits: Implements free and pro usage tiers with credit tracking and rate limiting
- Authentication: Clerk provides secure, production-ready auth flows
- Pull requests are welcomed! For major changes, please open an issue first to discuss what you would like to change or possible add onto this application.
For questions or support, open an issue or contact [[email protected]]