{"id":13393189,"url":"https://github.com/simeji/jid","last_synced_at":"2025-05-13T17:03:08.507Z","repository":{"id":40642823,"uuid":"60534669","full_name":"simeji/jid","owner":"simeji","description":"json incremental digger","archived":false,"fork":false,"pushed_at":"2025-02-11T04:21:25.000Z","size":107,"stargazers_count":6960,"open_issues_count":19,"forks_count":156,"subscribers_count":69,"default_branch":"master","last_synced_at":"2025-05-06T16:10:43.737Z","etag":null,"topics":["cli","go","golang","jid","json","tool"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/simeji.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","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":"2016-06-06T14:28:53.000Z","updated_at":"2025-05-06T08:19:46.000Z","dependencies_parsed_at":"2022-07-21T04:34:58.050Z","dependency_job_id":"c0467b68-e978-4f99-b648-c9c1bb9ec267","html_url":"https://github.com/simeji/jid","commit_stats":{"total_commits":79,"total_committers":17,"mean_commits":4.647058823529412,"dds":0.2911392405063291,"last_synced_commit":"2968365762bde4427ad9bd120cc5efa3effb81da"},"previous_names":["simeji/jig"],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeji%2Fjid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeji%2Fjid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeji%2Fjid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeji%2Fjid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simeji","download_url":"https://codeload.github.com/simeji/jid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253990449,"owners_count":21995773,"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","go","golang","jid","json","tool"],"created_at":"2024-07-30T17:00:45.470Z","updated_at":"2025-05-13T17:03:08.453Z","avatar_url":"https://github.com/simeji.png","language":"Go","readme":"# jid\n\n[![Circle CI](https://circleci.com/gh/simeji/jid/tree/master.svg?style=shield)](https://circleci.com/gh/simeji/jid/tree/master)\n\nJson Incremental Digger\n\nIt's a very simple tool.  \nYou can drill down JSON interactively by using filtering queries like [jq](https://stedolan.github.io/jq/).\n\n**Suggestion** and **Auto completion** of this tool will provide you a very comfortable JSON drill down.\n\n## Demo\n\n![demo-jid-main](https://github.com/simeji/jid/wiki/images/demo-jid-main-640-colorize.gif)\n\n## Installation\n\n* [With HomeBrew (for macOS)](#with-homebrew-for-macos)  \n* [With MacPorts (for macOS)](#with-macports-for-macos)  \n* [With pkg (for FreeBSD)](#with-pkg-for-freebsd)\n* [With scoop (for Windows)](#with-scoop-for-windows)\n* [Other package management system](#other-package-management-systems)\n* [Simply use \"jid\" command](#simply-use-jid-command)  \n* [Build](#build)  \n\n### With HomeBrew (for macOS)\n\n```\nbrew install jid\n```\n\n### With MacPorts (for macOS)\n\n```\nsudo port install jid\n```\n\n### With pkg (for FreeBSD)\n\n```\npkg install jid\n```\n\n### With scoop (for Windows)\n\n```\nscoop install jid\n```\n\n### Other package management systems\n\nJid can install by package management systems of below OS.\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/jid.svg)](https://repology.org/metapackage/jid/versions)\n\n\n### Simply use \"jid\" command\n\nIf you simply want to use `jid` command, please download binary from below.\n\nhttps://github.com/simeji/jid/releases\n\n## Build\n\n```\ngo install github.com/simeji/jid/cmd/jid@latest\n```\n\n## Usage\n\n### Quick start\n\n* [simple json example](#simple-json-example)  \n* [simple json example2](#simple-json-example2)  \n* [with initial query](#with-initial-query)  \n* [with curl](#with-curl)  \n\n#### simple json example\n\nPlease execute the below command.\n\n```\necho '{\"aa\":\"2AA2\",\"bb\":{\"aaa\":[123,\"cccc\",[1,2]],\"c\":321}}'| jid\n```\n\nthen, jid will be running.\n\nYou can dig JSON data incrementally.\n\nWhen you enter `.bb.aaa[2]`, you will see the following.\n\n```\n[Filter]\u003e .bb.aaa[2]\n[\n  1,\n  2\n]\n```\n\nThen, you press Enter key and output `[1,2]` and exit.\n\n#### simple json example2\n\nThis json is used by [demo section](https://github.com/simeji/jid#demo).\n```\necho '{\"info\":{\"date\":\"2016-10-23\",\"version\":1.0},\"users\":[{\"name\":\"simeji\",\"uri\":\"https://github.com/simeji\",\"id\":1},{\"name\":\"simeji2\",\"uri\":\"https://example.com/simeji\",\"id\":2},{\"name\":\"simeji3\",\"uri\":\"https://example.com/simeji3\",\"id\":3}],\"userCount\":3}}'|jid\n```\n\n#### With a initial query\n\nFirst argument of `jid` is initial query.\n(Use JSON same as [Demo](#demo))\n\n![demo-jid-with-query](https://github.com/simeji/jid/wiki/images/demo-jid-with-query-640.gif)\n\n#### with curl\n\nSample for using [RDAP](https://datatracker.ietf.org/wg/weirds/documents/) data.\n\n```\ncurl -s http://rdg.afilias.info/rdap/domain/example.info | jid\n```\n\n#### Load JSON from a file\n\n```\njid \u003c file.json\n```\n\n## Keymaps\n\n|key|description|\n|:-----------|:----------|\n|`TAB` / `CTRL` + `I` |Show available items and choice them|\n|`CTRL` + `W` |Delete from the cursor to the start of the word|\n|`CTRL` + `U` |Delete whole query|\n|`CTRL` + `F` / Right Arrow (:arrow_right:)|Move cursor a character to the right|\n|`CTRL` + `B` / Left Arrow (:arrow_left:)|Move cursor a character to the left|\n|`CTRL` + `A`|To the first character of the 'Filter'|\n|`CTRL` + `E`|To the end of the 'Filter'|\n|`CTRL` + `J`|Scroll json buffer 1 line downwards|\n|`CTRL` + `K`|Scroll json buffer 1 line upwards|\n|`CTRL` + `G`|Scroll json buffer to bottom|\n|`CTRL` + `T`|Scroll json buffer to top|\n|`CTRL` + `N`|Scroll json buffer 'Page Down'|\n|`CTRL` + `P`|Scroll json buffer 'Page Up'|\n|`CTRL` + `L`|Change view mode whole json or keys (only object)|\n|`ESC`|Hide a candidate box|\n\n### Option\n\n|option|description|\n|:-----------|:----------|\n|First argument ($1) | Initial query|\n|-h | print a help|\n|-help | print a help|\n|-version | print the version and exit|\n|-q | Output query mode (for jq)|\n|-M | monochrome output mode|\n","funding_links":[],"categories":["Go","Popular","开源类库","Misc","Command-line tools","Open source library","HarmonyOS","json","CLI 项目","\u003ca name=\"data-management-json\"\u003e\u003c/a\u003eData management - JSON/YAML/etc.","CLIs","tools","CLI Utilities","Bash","Terminal","Repositories"],"sub_categories":["JSON","Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimeji%2Fjid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimeji%2Fjid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimeji%2Fjid/lists"}