An open API service indexing awesome lists of open source software.

https://github.com/shankardutta/codecraft-webapp

CodeCraft is a frontend code playground built with React, Next.js, CodeMirror, and shadcn/ui. It lets users write and preview HTML, CSS, and JavaScript in real time with a clean, responsive UIβ€”perfect for rapid prototyping, learning, and sharing code.
https://github.com/shankardutta/codecraft-webapp

bun css html javascript lucide-react magicui nextjs reacticons reactjs shadcn-ui swiper-js

Last synced: 2 months ago
JSON representation

CodeCraft is a frontend code playground built with React, Next.js, CodeMirror, and shadcn/ui. It lets users write and preview HTML, CSS, and JavaScript in real time with a clean, responsive UIβ€”perfect for rapid prototyping, learning, and sharing code.

Awesome Lists containing this project

README

          

# πŸš€ CodeCraft

**CodeCraft** is a modern web-based frontend playground that enables developers to write, edit, and preview HTML, CSS, and JavaScript code in real time. Built with cutting-edge technologies like **Next.js**, **React**, `@uiw/react-codemirror`, and **Tailwind CSS**, it offers a clean, responsive, and intuitive user experience for rapid prototyping, learning, and sharing.

---

## ✨ Features

- πŸ–Š **Live Code Editing** β€” Write HTML, CSS, and JS simultaneously with instant results.
- ⚑ **Real-Time Preview** β€” See your output update live as you type.
- 🎨 **Responsive UI** β€” Built with Tailwind CSS and `shadcn/ui` for a clean and accessible interface.
- 🧠 **@uiw/react-codemirror Integration** β€” Fast, lightweight code editor with syntax highlighting and customization support.
- πŸ“± **Mobile-Friendly Design** β€” Optimized layout for all screen sizes.
- 🌈 **Dark/Light Theme Support** β€” Seamless theme switching based on system preferences.
- πŸ’Ύ **Local Save Option** β€” Save your code to `localStorage` to persist work across sessions.
- πŸ”— **Rich UI Enhancements** β€” Includes icons and animations using `react-icons`, `swiper-js`.

---

## πŸ›  Tech Stack

- **Framework**: [Next.js](https://nextjs.org) + [React](https://reactjs.org)
- **Editor**: [`@uiw/react-codemirror`](https://github.com/uiwjs/react-codemirror)
- **Styling**: [Tailwind CSS](https://tailwindcss.com) + [shadcn/ui](https://ui.shadcn.com)
- **Icons & UI**: `react-icons`, `swiper-js`.

---

## πŸ“Œ Use Cases

- 🎯 Rapid prototyping of frontend components and layouts.
- πŸ“š Learning and experimenting with HTML, CSS, and JavaScript.
- πŸ”— Sharing live, interactive code snippets with others.
- πŸ’‘ Practicing and improving frontend development skills.

---

## 🚧 Future Improvements

- πŸ“ Code Export (Download as files or Gists)
- πŸ”— Shareable preview URLs
- πŸ’¬ Collaborative editing
- ☁️ Cloud saving and GitHub login
- πŸ“¦ Integration with code hosting services

Theming support (dark/light mode switch).

Multi-file editing.

Collaboration features (live sharing).