kellyjonbrazil/jc

CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This...

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 38 minutes ago
Added to GitGenius on September 7th, 2026
Created on October 15th, 2019
Open Issues & Pull Requests: 40 (+0)
GitHub issues: Enabled
Number of forks: 253
Total Stargazers: 8,671 (+0)
Total Subscribers: 30 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 6.2 hours
Mean response time: 30.8 days
90th percentile: 34.7 days
Tracked items: 94

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 86% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 7% of issues opened in the past year have been closed. Three people close 91% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

jc is a command-line tool and Python library that converts the output of popular CLI tools, file types, and common strings into JSON, YAML, or Python dictionaries.

The tool solves the problem of parsing unstructured command-line output by automatically converting it to structured data formats. This enables piping output to JSON query tools like jq for further processing, and simplifies automation scripts by eliminating manual parsing logic. The approach works through a collection of specialized parsers, each designed to handle specific commands or file formats, with support for both strict schema-based conversion and raw pre-processed output modes.

The tool suits developers and system administrators who write shell scripts, Ansible playbooks, or Python automation code and need to extract data from command output. It is particularly valuable in environments where multiple CLI tools are chained together, as it allows structured data to flow between them. The project integrates with existing ecosystems through an Ansible filter plugin and offers a web demo and REST API for experimentation. The README references related projects like libxo on FreeBSD and PowerShell's ConvertTo-Json, positioning jc as a Unix-philosophy approach to structured output.

The project maintains active development with regular releases documenting changes and improvements. The codebase includes comprehensive documentation for each parser with defined schemas, and the tool is available as both a command-line utility and a Python package with support for streaming parsers that return lazy iterables for memory-efficient processing of large datasets.