Skip to content

[roadmap] Interactive TUI explorer for the CLI #1

Description

@Cryptoteep

Goal

Add an interactive terminal UI to the jc CLI for exploring JSON data, similar to jq's interactive mode or jid.

Proposed UX

  • Arrow-key navigation through the JSON tree
  • Inline JSONPath building as the user navigates
  • Filter/search box
  • Copy current path to clipboard

Implementation notes

  • The core library stays dependency-free, so the TUI should live in the CLI only and may use a small TUI dependency (e.g. ink or blessed) gated behind an optional install.
  • Alternatively, implement a minimal raw-mode TUI with no dependencies (more work but keeps the zero-dep ethos).

Acceptance

  • jc explore data.json opens an interactive browser
  • Quitting returns the currently-selected JSONPath on stdout

Thoughts and PRs welcome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions