{"id":31021263,"url":"https://github.com/dtducas/data-viewer","last_synced_at":"2026-05-18T02:04:07.639Z","repository":{"id":313531405,"uuid":"1051751446","full_name":"DTDucas/data-viewer","owner":"DTDucas","description":"view data json","archived":false,"fork":false,"pushed_at":"2025-09-06T16:53:11.000Z","size":74,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-13T21:30:53.507Z","etag":null,"topics":["json","view","view-data"],"latest_commit_sha":null,"homepage":"https://dtducas.github.io/data-viewer/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DTDucas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-06T16:40:51.000Z","updated_at":"2025-09-06T16:56:17.000Z","dependencies_parsed_at":"2025-09-06T18:34:46.356Z","dependency_job_id":"425f59b9-d174-4db2-bab5-de29ddc30696","html_url":"https://github.com/DTDucas/data-viewer","commit_stats":null,"previous_names":["dtducas/data-viewer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DTDucas/data-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DTDucas%2Fdata-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DTDucas%2Fdata-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DTDucas%2Fdata-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DTDucas%2Fdata-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DTDucas","download_url":"https://codeload.github.com/DTDucas/data-viewer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DTDucas%2Fdata-viewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33162448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["json","view","view-data"],"created_at":"2025-09-13T11:13:28.091Z","updated_at":"2026-05-18T02:04:07.611Z","avatar_url":"https://github.com/DTDucas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON Data Viewer\n\nA powerful, real-time JSON data viewer with tree visualization and formatted display. Built with Next.js, React, and TypeScript.\n\n## 🚀 Features\n\n- **Real-time JSON Processing**: Instant parsing and validation as you type or paste\n- **Dual View Modes**:\n  - Tree View with collapsible folders and item counts\n  - Formatted JSON view with syntax highlighting\n- **Interactive Tree Navigation**:\n  - Click to expand/collapse JSON objects and arrays\n  - Visual hierarchy with proper indentation\n  - Item count display for arrays and objects\n  - Color-coded data types\n- **Dark Theme**: Optimized dark interface for comfortable viewing\n- **Resizable Panels**: Adjust input/output panel sizes to your preference\n- **Error Handling**: Clear error messages for invalid JSON\n- **Copy Functionality**: One-click copy of formatted JSON\n- **Responsive Design**: Works on desktop and mobile devices\n\n## 🎯 Live Demo\n\nVisit the live application: [JSON Data Viewer](https://dtducas.github.io/data-viewer/)\n\n## 🛠️ Technologies Used\n\n- **Next.js 15** - React framework with static export\n- **React 19** - UI library with modern hooks\n- **TypeScript** - Type-safe development\n- **Tailwind CSS** - Utility-first styling\n- **React Resizable Panels** - Interactive panel resizing\n\n## 🏃‍♂️ Local Development\n\n### Prerequisites\n\n- Node.js 18+\n- npm or yarn\n\n### Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/DTDucas/data-viewer.git\ncd data-viewer\n```\n\n2. Install dependencies:\n\n```bash\nnpm install\n```\n\n3. Start the development server:\n\n```bash\nnpm run dev\n```\n\n4. Open [http://localhost:3000](http://localhost:3000) in your browser\n\n### Build for Production\n\n```bash\nnpm run build\n```\n\nThis creates an optimized static export in the `out` directory.\n\n## 📖 Usage\n\n1. **Input JSON**: Paste or type your JSON data in the left panel\n2. **Real-time Validation**: See instant feedback on JSON validity\n3. **Choose View Mode**: Switch between Tree View and Formatted view\n4. **Navigate Data**:\n   - In Tree View: Click arrows to expand/collapse objects and arrays\n   - Use \"Expand All\" / \"Collapse All\" buttons for bulk operations\n5. **Copy Results**: Click the copy button to copy formatted JSON\n\n## 🎨 Tree View Features\n\n- **Color-coded Types**:\n  - 🟢 Strings (emerald)\n  - 🔵 Numbers (blue)\n  - 🟣 Booleans (purple)\n  - ⚫ Null values (gray)\n  - 🟠 Arrays (orange)\n  - 🔴 Objects (rose)\n\n- **Interactive Elements**:\n  - Expandable/collapsible nodes\n  - Item count indicators\n  - Hover effects\n  - Smooth animations\n\n## 🚀 Deployment\n\nThis project is configured for automatic deployment to GitHub Pages using GitHub Actions.\n\n### Setup GitHub Pages Deployment\n\n1. Push your code to GitHub\n2. Go to repository Settings → Pages\n3. Set Source to \"GitHub Actions\"\n4. The workflow will automatically deploy on push to main branch\n\n## 👨‍💻 Author\n\n**Duong Tran Quang (DTDucas)**\n\n- Email: \u003cbaymax.contact@gmail.com\u003e\n- GitHub: [@DTDucas](https://github.com/DTDucas)\n\n## 📄 License\n\nThis project is open source and available under the [MIT License](LICENSE).\n\n## 🤝 Contributing\n\nContributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/DTDucas/data-viewer/issues).\n\n## ⭐ Show Your Support\n\nGive a ⭐️ if this project helped you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtducas%2Fdata-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdtducas%2Fdata-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtducas%2Fdata-viewer/lists"}