{"id":25911422,"url":"https://github.com/copyleftdev/jsonviz","last_synced_at":"2025-03-03T09:17:30.504Z","repository":{"id":239516187,"uuid":"799697451","full_name":"copyleftdev/jsonviz","owner":"copyleftdev","description":"visualize json files in the terminal","archived":false,"fork":false,"pushed_at":"2024-05-13T03:45:15.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-19T15:08:54.056Z","etag":null,"topics":["cli","json","tool"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/copyleftdev.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}},"created_at":"2024-05-12T22:30:56.000Z","updated_at":"2024-05-14T01:08:39.000Z","dependencies_parsed_at":"2024-06-19T14:53:20.946Z","dependency_job_id":"2a7a201d-d808-4eda-aa86-87eb4366e779","html_url":"https://github.com/copyleftdev/jsonviz","commit_stats":null,"previous_names":["copyleftdev/jsonviz"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fjsonviz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fjsonviz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fjsonviz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fjsonviz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/copyleftdev","download_url":"https://codeload.github.com/copyleftdev/jsonviz/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241637272,"owners_count":19994946,"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":["cli","json","tool"],"created_at":"2025-03-03T09:17:29.888Z","updated_at":"2025-03-03T09:17:30.498Z","avatar_url":"https://github.com/copyleftdev.png","language":"Go","readme":"# jsonviz\n[![asciicast](https://asciinema.org/a/siC4wKCcVJUEEHhmirrVqJksZ.svg)](https://asciinema.org/a/siC4wKCcVJUEEHhmirrVqJksZ)\n`jsonviz` is a command-line tool built in Go that visualizes JSON file structures in a navigable tree format using the `termui` library. This tool is designed to help developers and data scientists quickly understand and explore the structure of complex JSON data from the terminal.\n\n## Features\n\n- **Interactive Tree View**: Display JSON files as expandable and collapsible trees.\n- **Color Coding**: Different colors for root, keys, and values to enhance readability.\n- **Keyboard Navigation**: Use keyboard shortcuts to navigate through the JSON structure.\n- **Resizable UI**: Adapt to terminal size changes dynamically.\n\n## Installation\n\nTo install `jsonviz`, clone this repository and build the tool using Go.\n\n```bash\ngit clone https://github.com/copyleftdev/jsonviz.git\ncd jsonviz\ngo build\n```\n\n## Usage\n\nAfter building the tool, you can run it by specifying the JSON file you want to visualize:\n\n```bash\n./jsonviz path/to/your/file.json\n```\n\n### Keyboard Shortcuts\n\n- **Arrow Up (`k`)**: Move up in the tree.\n- **Arrow Down (`j`)**: Move down in the tree.\n- **Enter**: Expand or collapse the selected node.\n- **CTRL+C**: Exit the application.\n\n## Requirements\n\n- Go 1.15 or higher\n- `termui` library (automatically installed with go get)\n\n## Contributing\n\nContributions are welcome! Feel free to submit pull requests, create issues for bugs you've found, or suggest new features.\n\n1. Fork the repository.\n2. Create your feature branch (`git checkout -b feature/fooBar`).\n3. Commit your changes (`git commit -am 'Add some fooBar'`).\n4. Push to the branch (`git push origin feature/fooBar`).\n5. Create a new Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details.\n\n## Contact\n\n- GitHub: [@copyleftdev](https://github.com/copyleftdev)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopyleftdev%2Fjsonviz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcopyleftdev%2Fjsonviz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopyleftdev%2Fjsonviz/lists"}