An application for visualising, sharing, and analyzing JSON data with multiple viewing modes and AI-powered explanations.
-
🎯 Multiple Visualisation Modes
- Raw Input: Edit and validate JSON with syntax highlighting

- Tree View: Hierarchical representation of JSON data

- Grid View: Tabular view for array-based JSON

-
AI Analysis: Get AI-powered explanations of your JSON structure
-
🔄 Real-time Validation
- Instant JSON syntax validation
- Clear error messages for debugging
-
🌓 Dark/Light Mode
- Automatic theme detection
- Manual theme toggle
-
📤 Sharing Capabilities
- Generate shareable links for JSON snippets
- View shared JSON with metadata


- Framework: Next.js 15
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: Shadcn UI
- Database: PostgreSQL
- Node.js 20+
- pnpm (recommended) or npm
- PostgreSQL database
- Clone the repository:
git clone https://github.com/thatbeautifuldream/json-visualizer.git --depth 1
cd json-visualizer
- Install dependencies:
pnpm install
# or
npm install
- Set up environment variables:
Create a .env
file in the root directory with the following variables:
# Database
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/json_visualizer"
ADMIN_KEY="your-super-secret-admin-key"
- Start the development server:
pnpm dev
# or
npm run dev
The application will be available at http://localhost:3000
.
- Ensure PostgreSQL is installed and running
- Create a new database:
CREATE DATABASE json_visualizer;
- To create the tables, run the following command:
pnpm db:push
- Build the application:
pnpm build
# or
npm run build
- Start the production server:
pnpm start
# or
npm start
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.