MCPcopy Index your code
hub / github.com/PaulJuliusMartinez/jless

github.com/PaulJuliusMartinez/jless @v0.9.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.9.0 ↗ · + Follow
410 symbols 1,515 edges 17 files 55 documented · 13%

Browse by type

Functions 365 Types & classes 45
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

jless logo and mascot

jless is a command-line JSON viewer. Use it as a replacement for whatever combination of less, jq, cat and your editor you currently use for viewing JSON files. It is written in Rust and can be installed as a single standalone binary.

jless is under active development. I often stream development live on Twitch.

ci

Features

  • Clean syntax highlighted display of JSON data, omitting quotes around object keys, closing object and array delimiters, and trailing commas.
  • Expand and collapse objects and arrays so you can see both the high- and low-level structure of the data.
  • A wealth of vim-inspired movement commands for efficiently moving around and viewing data.
  • Full regex-based search for finding exactly the data you're looking for.

jless currently supports macOS and Linux. Windows support is planned.

Installation

You can install jless using various package managers:

Operating System / Package Manager Command
macOS - HomeBrew brew install jless
macOS - MacPorts sudo port install jless
Linux - HomeBrew brew install jless
Arch Linux pacman -S jless
Void Linux sudo xbps-install jless
NetBSD pkgin install jless
FreeBSD pkg install jless

If you have a Rust toolchain installed, you can install jless from source by running cargo install jless.

The releases page also contains links to binaries for various architectures.

Dependencies

On Linux systems, X11 libraries are needed to build clipboard access if building from source. On Ubuntu you can install these using:

sudo apt-get install libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev

Website

jless.io is the official website for jless. Code for the website is contained separately on the website branch.

Logo

The mascot of the jless project is Jules the jellyfish.

jless mascot

Art for Jules was created by annatgraphics.

License

jless is released under the MIT License.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 258
Function 107
Class 23
Enum 21
Interface 1

Languages

Rust100%

Modules by API surface

src/viewer.rs75 symbols
src/flatjson.rs66 symbols
src/truncatedstrview.rs48 symbols
src/lineprinter.rs46 symbols
src/search.rs31 symbols
src/app.rs26 symbols
src/terminal.rs25 symbols
src/screenwriter.rs20 symbols
src/jsonparser.rs19 symbols
src/input.rs15 symbols
src/yamlparser.rs14 symbols
src/jsonstringunescaper.rs11 symbols

For agents

$ claude mcp add jless \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page