A powerful web-based development environment that combines real-time code editing with AI assistance, built with Next.js, React, and WebContainer API.
- Live Code Editor: Built with Monaco Editor for a VS Code-like experience
- Real-time Preview: Instant preview of your React applications
- AI Integration: Powered by Pollinations AI for intelligent code suggestions
- WebContainer Integration: Run Node.js applications directly in the browser
- Modern UI: Built with Tailwind CSS and shadcn/ui components
- Dark/Light Mode: Full theme support with system preference detection
- Node.js 18+
- pnpm (recommended) or npm
- Clone the repository:
git clone https://github.com/amardeeplakshkar/DASH.git
cd DASH
- Install dependencies:
pnpm install
# or
npm install
- Start the development server:
pnpm dev
# or
npm run dev
- Open http://localhost:3000 in your browser
- Framework: Next.js 15
- UI Library: React 19
- Styling: Tailwind CSS
- Components: shadcn/ui
- Editor: Monaco Editor
- Runtime: WebContainer API
- AI Integration: Pollinations React
DASH/
├── app/ # Next.js app directory
│ ├── (routes)/ # Application routes
│ ├── globals.css # Global styles
│ └── layout.tsx # Root layout
├── components/ # React components
│ ├── ui/ # UI components
│ └── context/ # React context providers
├── lib/ # Utility functions
└── public/ # Static assets
- ChatComponent: AI-powered chat interface for code generation
- SdkComponent: WebContainer-based code editor and preview
- FileGroupContext: Manages file state across components
- ThemeProvider: Handles application theming
The project includes several configuration files:
next.config.ts
: Next.js configurationtailwind.config.ts
: Tailwind CSS configurationtsconfig.json
: TypeScript configurationpostcss.config.mjs
: PostCSS configuration
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Next.js team for the amazing framework
- Vercel for hosting and deployment
- shadcn for the beautiful UI components
- WebContainer team for the browser-based runtime
Project Link: https://github.com/amardeeplakshkar/DASH