https://github.com/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 allows piping of output to tools like jq and simplifying automation scripts.
https://github.com/kellyjonbrazil/jc
bash bash-scripting cli command-line command-line-interface command-line-tool convert json linux parsers python python-library scripting serialize shell-scripting yaml
Last synced: 7 months ago
JSON representation
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 allows piping of output to tools like jq and simplifying automation scripts.
- Host: GitHub
- URL: https://github.com/kellyjonbrazil/jc
- Owner: kellyjonbrazil
- License: mit
- Created: 2019-10-15T22:04:52.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-05-10T18:41:14.000Z (7 months ago)
- Last Synced: 2025-05-11T20:02:10.751Z (7 months ago)
- Topics: bash, bash-scripting, cli, command-line, command-line-interface, command-line-tool, convert, json, linux, parsers, python, python-library, scripting, serialize, shell-scripting, yaml
- Language: Python
- Homepage:
- Size: 14.8 MB
- Stars: 8,168
- Watchers: 27
- Forks: 220
- Open Issues: 40
-
Metadata Files:
- Readme: README-snap.md
- Changelog: CHANGELOG
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-shell - jc - Convert command output, file-types, and common strings to JSON or YAML for easier use in scripts. (Multimedia and File Formats / Directory Navigation)
- my-awesome-github-stars - 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 allows piping of output to tools like jq and sim (Python)
- awesome-tools - kellyjonbrazil/jc - CLI tool and python library that converts the output of popular command-line tools and file-types to JSON or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts. (Command Line / Dependency Management)
- awesome-nu - jc
- awesome-github-repos - 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 allows piping of output to tools like jq and sim (Python)
- awesome-json - jc - Converts the output of many CLI tools, file-types, and common strings into JSON (Command-line tools)
- awesome-cli-tui-software - kellyjonbrazil/jc - CLI tool and python library that converts the output of popular command-line tools and file-types to JSON or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts. (<a name="data"></a>data)
- awesome-repositories - 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 allows piping of output to tools like jq and sim (Python)
- jimsghstars - 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 allows piping of output to tools like jq and sim (Python)
- my-awesome - kellyjonbrazil/jc - scripting,cli,command-line,command-line-interface,command-line-tool,convert,json,linux,parsers,python,python-library,scripting,serialize,shell-scripting,yaml pushed_at:2025-10 star:8.4k fork:0.2k 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 allows piping of output to tools like jq and simplifying automation scripts. (Python)
- awesome-ops - kellyjonbrazil/jc - 10-15|2025-10-13 | jc 命令可以将常用的 Linux 命令的输出转为 JSON 格式,以便于你再结合 jq 命令进行二次的过滤或处理。 | (命令行工具)
- command-line-tools - jc - Serializes the output of popular gnu linux command line tools and file types to structured JSON output. This allows piping of output to tools like jq. (Other)
- awesome-starred - 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 allows piping of output to tools like jq and sim (cli)
- awesome-cli-apps-in-a-csv - jc - Serializes the output of command line tools to JSON. (<a name="data-management-json"></a>Data management - JSON/YAML/etc.)
- awesome-cli-apps - jc - Serializes the output of command line tools to JSON. (<a name="data-management-json"></a>Data management - JSON/YAML/etc.)
- fucking-awesome-shell - jc - Convert command output, file-types, and common strings to JSON or YAML for easier use in scripts. (Multimedia and File Formats / Directory Navigation)
README
# How to use `jc` with `snap`
## How to build `snap` package
- Install `snapd`. [One](https://snapcraft.io/docs/installing-snapd) or [two](https://github.com/don-rumata/ansible-role-install-snap).
- Install `snapcraft`:
```bash
$ sudo snap install snapcraft --classic
```
- Update snapd:
```bash
$ sudo snap refresh snapcraft --edge
```
- Clone the repo:
```bash
$ git clone https://github.com/kellyjonbrazil/jc
```
- Change the directory:
```bash
$ cd ./jc
```
- Select branch:
```bash
$ git checkout snap-support
```
- Initialize LXD:
```bash
$ lxd init --auto
```
- Build `.snap` file:
```bash
$ snapcraft
```
## How to install local snap file
```bash
$ snap install --dangerous ./jc_*_amd64.snap
```
## How to use `jc` with plugins
- Put your plugin in the `"$HOME/.local/share/jc"` directory.
- To connect the directory, run:
```bash
snap connect jc:dot-jc-plugins snapd
```
## Urls
-
-
-
-
-