🚀 Live Demo: Next.js WebContainer
Welcome to the Next.js WebContainer! This project demonstrates the power of WebContainers by providing an interactive, in-browser development environment for Next.js applications.
- 📝 In-browser code editor with syntax highlighting
- 🖥️ Live preview of your Next.js application
- 📦 Real-time npm package installation
- 🚀 Instant server startup and hot reloading
- 💻 Fully functional terminal for command execution
- 🌓 Dark/Light mode toggle
- Next.js 14
- React
- TypeScript
- WebContainer API
- Xterm.js
- Tailwind CSS
- Shadcn UI
-
Clone the repository:
git clone https://github.com/xKevIsDev/nextjs-webcontainer.git
-
Install dependencies:
cd nextjs-webcontainer npm install
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser to see the result.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
This project is MIT licensed.
Project Link: [https://github.com/KevIsDev/nextjs-webcontainer]
Happy coding! 🎉