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.
- Host: GitHub
- URL: https://github.com/shankardutta/codecraft-webapp
- Owner: ShankarDutta
- License: mit
- Created: 2025-07-14T03:25:37.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-29T07:37:29.000Z (11 months ago)
- Last Synced: 2025-07-29T09:39:20.217Z (11 months ago)
- Topics: bun, css, html, javascript, lucide-react, magicui, nextjs, reacticons, reactjs, shadcn-ui, swiper-js
- Language: TypeScript
- Homepage:
- Size: 7.87 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).