|
| 1 | +# JSON Viewer 🔧 |
| 2 | + |
| 3 | +A modern, interactive JSON viewer and editor built with React, TypeScript, and ACE Editor. Parse, format, validate, and explore your JSON data with an intuitive tree view and powerful search functionality. |
| 4 | + |
| 5 | +## ✨ Features |
| 6 | + |
| 7 | +- **Professional Code Editor**: Powered by ACE Editor with syntax highlighting and error detection |
| 8 | +- **Interactive Tree View**: Explore JSON structure with expandable/collapsible nodes |
| 9 | +- **Real-time Search**: Search through JSON content with match highlighting and navigation |
| 10 | +- **JSON Validation**: Instant validation with detailed error messages and line numbers |
| 11 | +- **Format & Minify**: Beautify or compress JSON with one click |
| 12 | +- **Live Preview**: Real-time JSON parsing and tree visualization |
| 13 | +- **Responsive Design**: Works seamlessly on desktop and mobile devices |
| 14 | +- **Dark/Light Theme Support**: Built-in theme support via Tailwind CSS |
| 15 | +- **TypeScript**: Fully typed for better developer experience |
| 16 | + |
| 17 | +## 🚀 Live Demo |
| 18 | + |
| 19 | +[**👀 View Live Demo**](https://your-app-url.vercel.app) ← Click here to try it out! |
| 20 | + |
| 21 | +## 📸 Screenshots |
| 22 | + |
| 23 | +### Main Interface |
| 24 | + |
| 25 | + |
| 26 | +### Tree View |
| 27 | + |
| 28 | + |
| 29 | +### Search Functionality |
| 30 | + |
| 31 | + |
| 32 | +## 🛠️ Tech Stack |
| 33 | + |
| 34 | +- **Frontend**: React 18, TypeScript |
| 35 | +- **Editor**: ACE Editor (ace-builds) |
| 36 | +- **Styling**: Tailwind CSS |
| 37 | +- **Icons**: Lucide React |
| 38 | +- **Build Tool**: Vite |
| 39 | +- **Linting**: ESLint |
| 40 | + |
| 41 | +## 🏃♂️ Quick Start |
| 42 | + |
| 43 | +### Prerequisites |
| 44 | + |
| 45 | +- Node.js (v18 or higher) |
| 46 | +- npm or yarn |
| 47 | + |
| 48 | +### Installation |
| 49 | + |
| 50 | +1. **Clone the repository** |
| 51 | + ```bash |
| 52 | + git clone https://github.com/killcod3/json-viewer.git |
| 53 | + cd json-viewer |
| 54 | + ``` |
| 55 | + |
| 56 | +2. **Install dependencies** |
| 57 | + ```bash |
| 58 | + npm install |
| 59 | + ``` |
| 60 | + |
| 61 | +3. **Start the development server** |
| 62 | + ```bash |
| 63 | + npm run dev |
| 64 | + ``` |
| 65 | + |
| 66 | +4. **Open your browser** |
| 67 | + ``` |
| 68 | + http://localhost:5173 |
| 69 | + ``` |
| 70 | + |
| 71 | +## 🤝 Contributing |
| 72 | + |
| 73 | +Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change. |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | +## 🐛 Bug Reports |
| 78 | + |
| 79 | +If you find a bug, please create an issue with: |
| 80 | +- Bug description |
| 81 | +- Steps to reproduce |
| 82 | +- Expected behavior |
| 83 | +- Screenshots (if applicable) |
| 84 | +- Browser/OS information |
| 85 | + |
| 86 | +## 💡 Feature Requests |
| 87 | + |
| 88 | +Have an idea for a new feature? Open an issue with: |
| 89 | +- Feature description |
| 90 | +- Use case/motivation |
| 91 | +- Proposed implementation (optional) |
| 92 | + |
| 93 | +## 📄 License |
| 94 | + |
| 95 | +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. |
| 96 | + |
| 97 | +## 👨💻 Author |
| 98 | + |
| 99 | +[Jawad Shafique](https://github.com/killcod3) |
| 100 | + |
| 101 | +## 📊 Stats |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | +--- |
| 109 | + |
| 110 | +⭐ **Star this repository if you found it helpful!** |
0 commit comments