{"id":27184206,"url":"https://github.com/dhanashripatil11/json-diff-viewer","last_synced_at":"2025-09-03T14:38:40.504Z","repository":{"id":286994583,"uuid":"963211113","full_name":"DhanashriPatil11/json-diff-viewer","owner":"DhanashriPatil11","description":"🧩 JSON Diff Viewer — A lightweight React + TypeScript tool to visually compare two JSON files side-by-side with color-coded differences, live updates, dark/light mode, and zero UI libraries.","archived":false,"fork":false,"pushed_at":"2025-04-09T11:39:48.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T11:46:34.761Z","etag":null,"topics":["dev","devtool","json","json-diff-viewer","opensource","react","reactjs","typescript","vite"],"latest_commit_sha":null,"homepage":"https://json-diff-viewer-omega.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DhanashriPatil11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-09T10:28:18.000Z","updated_at":"2025-04-09T11:39:52.000Z","dependencies_parsed_at":"2025-04-09T11:46:44.644Z","dependency_job_id":"52c6cb28-b0c2-4867-99c5-0bd2a58db24b","html_url":"https://github.com/DhanashriPatil11/json-diff-viewer","commit_stats":null,"previous_names":["dhanashripatil11/json-diff-viewer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhanashriPatil11%2Fjson-diff-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhanashriPatil11%2Fjson-diff-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhanashriPatil11%2Fjson-diff-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhanashriPatil11%2Fjson-diff-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DhanashriPatil11","download_url":"https://codeload.github.com/DhanashriPatil11/json-diff-viewer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248068561,"owners_count":21042516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dev","devtool","json","json-diff-viewer","opensource","react","reactjs","typescript","vite"],"created_at":"2025-04-09T16:38:18.580Z","updated_at":"2025-04-09T16:38:19.445Z","avatar_url":"https://github.com/DhanashriPatil11.png","language":"TypeScript","readme":"# 🔍 JSON Diff Viewer — React + TypeScript + Vite\n\nThis project is a powerful and user-friendly **JSON Diff Viewer** built with **React**, **TypeScript**, and **Vite**. It allows users to easily compare two JSON objects side-by-side and view the differences in a clean, syntax-highlighted, color-coded format. The tool is especially useful for developers, testers, and data analysts who need to analyze structural or data changes between JSON payloads.\n\n## 🚀 Features\n\n- 🧠 **Smart JSON Comparison** — Detects and highlights additions, deletions, and changes.\n- 🌈 **Color Coded Output** — \n  - 🟩 Added keys/values\n  - 🟥 Removed keys/values\n  - 🟨 Modified values\n- 🌓 **Dark/Light Mode Toggle** — Seamlessly switch themes to reduce eye strain.\n- 🧾 **Syntax Highlighting** — Powered by `react-syntax-highlighter`.\n- 🧩 **Side-by-Side Diff Layout** — Enhanced visual clarity of changes.\n- ♻️ **Live Updates** — Re-renders diff on input change in real-time.\n- 💡 **No Tailwind or UI Libraries** — Styled using clean, custom CSS.\n\n## 🌍 Deployment Ready\n\nYou can deploy this project across multiple platforms with CI/CD integration:\n- **Vercel** — Connect your GitHub repo and deploy instantly with zero config.\n- **Cloudflare Pages** — Edge-deployed for super-fast delivery.\n- **GitHub Pages** — Great for hosting fallback or demo versions.\n\n---\n\n# 📥 Getting Started\n\nFollow the steps below to clone and run this project locally:\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/your-username/json-diff-viewer.git\ncd json-diff-viewer\n\n### 2. Install Dependencies\n```bash\nnpm install\n\n### 3. Run the Development Server\nnpm run dev\n\n### The app will be available at http://localhost:5173.\n\n### 4. Build for Production\nnpm run build\n\n### 5. Preview the Production Build\nnpm run preview\n\n\n📦 Future Improvements\n🔁 Side-by-side visual diff layout — Enhanced comparison for better readability.\n\n🌐 Multilingual support for accessibility — Reach a wider global audience.\n\n💡 AI-based suggestion for JSON improvement — Smart hints to improve data quality and structure.\n\n\n# React + TypeScript + Vite\n\nThis template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.\n\nCurrently, two official plugins are available:\n\n- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh\n- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh\n\n## Expanding the ESLint configuration\n\nIf you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:\n\n```js\nexport default tseslint.config({\n  extends: [\n    // Remove ...tseslint.configs.recommended and replace with this\n    ...tseslint.configs.recommendedTypeChecked,\n    // Alternatively, use this for stricter rules\n    ...tseslint.configs.strictTypeChecked,\n    // Optionally, add this for stylistic rules\n    ...tseslint.configs.stylisticTypeChecked,\n  ],\n  languageOptions: {\n    // other options...\n    parserOptions: {\n      project: ['./tsconfig.node.json', './tsconfig.app.json'],\n      tsconfigRootDir: import.meta.dirname,\n    },\n  },\n})\n```\n\nYou can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:\n\n```js\n// eslint.config.js\nimport reactX from 'eslint-plugin-react-x'\nimport reactDom from 'eslint-plugin-react-dom'\n\nexport default tseslint.config({\n  plugins: {\n    // Add the react-x and react-dom plugins\n    'react-x': reactX,\n    'react-dom': reactDom,\n  },\n  rules: {\n    // other rules...\n    // Enable its recommended typescript rules\n    ...reactX.configs['recommended-typescript'].rules,\n    ...reactDom.configs.recommended.rules,\n  },\n})\n```\n## 🚀 Live Demo\n\n🔗 [Click here to view the deployed app on Vercel](https://json-diff-viewer-omega.vercel.app/)\n\n🧑‍🎓 Author\nMade with ❤️ by Dhanashri Patil\n\n📧 Email: patil.dhanashrik@gmail.com\n\n## 👩‍💻 Connect with Me\n\n[![LinkedIn](https://img.shields.io/badge/LinkedIn-blue?style=flat\u0026logo=linkedin)](https://www.linkedin.com/in/dhanashri-patil24/) \n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhanashripatil11%2Fjson-diff-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhanashripatil11%2Fjson-diff-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhanashripatil11%2Fjson-diff-viewer/lists"}