{"id":24532780,"url":"https://github.com/clearfeld/rjc","last_synced_at":"2026-05-08T11:33:50.080Z","repository":{"id":178378908,"uuid":"589039279","full_name":"clearfeld/rjc","owner":"clearfeld","description":"CLI tool that converts the output of various command-line tools, file-types, and common string formats into JSON, YAML, or TOML. Allowing for further piping to tools like jq and simplifying automation scripts.","archived":false,"fork":false,"pushed_at":"2023-08-26T01:24:28.000Z","size":233,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T21:18:11.224Z","etag":null,"topics":["cli","convert","json","parsers","rust-library","text-processing","toml","yaml"],"latest_commit_sha":null,"homepage":"https://rjc.vercel.app","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clearfeld.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-01-14T21:24:02.000Z","updated_at":"2023-07-18T12:58:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"0c7962a7-8a84-47f9-bf5d-205ee612a986","html_url":"https://github.com/clearfeld/rjc","commit_stats":null,"previous_names":["clearfeld/rjc"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/clearfeld/rjc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clearfeld%2Frjc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clearfeld%2Frjc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clearfeld%2Frjc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clearfeld%2Frjc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clearfeld","download_url":"https://codeload.github.com/clearfeld/rjc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clearfeld%2Frjc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32778635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","convert","json","parsers","rust-library","text-processing","toml","yaml"],"created_at":"2025-01-22T10:18:19.066Z","updated_at":"2026-05-08T11:33:50.074Z","avatar_url":"https://github.com/clearfeld.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rjc\n\n```bash\ndir | rjc dir\n```\n\n```json\n{\"meta\":{\"drive\":\"F\",\"serial\":\"38EC-3395\",\"directory\":\"F:\\\\Dev\\\\rjc\",\"files\":3,\"directories\":4},\"resources\":[{\"date\":\"01/15/2023\",\"time\":\"04:14 PM\",\"is_dir\":true,\"size\":null,\"name\":\".\"},{\"date\":\"01/15/2023\",\"time\":\"04:14 PM\",\"is_dir\":true,\"size\":null,\"name\":\"..\"},{\"date\":\"01/14/2023\",\"time\":\"04:25 PM\",\"is_dir\":false,\"size\":8,\"name\":\".gitignore\"},{\"date\":\"01/15/2023\",\"time\":\"10:38 PM\",\"is_dir\":false,\"size\":11117,\"name\":\"Cargo.lock\"},{\"date\":\"01/20/2023\",\"time\":\"12:53 AM\",\"is_dir\":false,\"size\":437,\"name\":\"Cargo.toml\"},{\"date\":\"01/21/2023\",\"time\":\"02:18 PM\",\"is_dir\":true,\"size\":null,\"name\":\"src\"},{\"date\":\"01/20/2023\",\"time\":\"12:53 AM\",\"is_dir\":true,\"size\":null,\"name\":\"target\"}]}\n```\n\n## Installation\n\n### Cargo Install (MacOS, Linux, Windows)\n\n\u003cp\u003e\n    \u003ca href=\"https://crates.io/crates/rjc\"\u003e\n        \u003cimg src=\"https://img.shields.io/crates/v/rjc.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://docs.rs/rjc\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/docs.rs-rjc-green\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n```bash\ncargo install rjc\n```\n\n### Binaries\n\nFor precompiled binaries, check the [releases](https://github.com/clearfeld/rjc/releases) in this repo.\n\n## Library\n\n`rjc` can also be used as a library.\n\n```rust\nuse rjc::win32::dir::{DirData, parse};\nuse std::process::Command;\n\nfn main() {\n    let output = Command::new(\"cmd\").args([\"/C\", \"dir\"]).output().expect(\"Failed to execute process.\");\n\n    let dir_data: DirData = parse(Some(String::from_utf8_lossy(\u0026output.stdout).to_string()));\n\n    println!(\"{}\", dir_data.meta.drive);\n}\n```\n\n## Parsers\n\n### Win32\n\n| Commands  | Documentation                                            |\n| --------- | -------------------------------------------------------- |\n| assoc     | [details](https://rjc.vercel.app/parsers/win32/assoc)    |\n| dir       | [details](https://rjc.vercel.app/parsers/win32/dir)      |\n| netstat   | [details](https://rjc.vercel.app/parsers/win32/netstat)  |\n| tasklist  | [details](https://rjc.vercel.app/parsers/win32/tasklist) |\n\n### Unix\n\n| Commands     | Documentation                                                |\n| ------------ | ------------------------------------------------------------ |\n| acpi         | [details](https://rjc.vercel.app/parsers/unix/acpi)          |\n| arp          | [details](https://rjc.vercel.app/parsers/unix/arp)           |\n| chage        | [details](https://rjc.vercel.app/parsers/unix/chage)         |\n| cksum        | [details](https://rjc.vercel.app/parsers/unix/cksum)         |\n| date         | [details](https://rjc.vercel.app/parsers/unix/date)          |\n| du           | [details](https://rjc.vercel.app/parsers/unix/du)            |\n| env          | [details](https://rjc.vercel.app/parsers/unix/env)           |\n| file         | [details](https://rjc.vercel.app/parsers/unix/file)          |\n| ls           | [details](https://rjc.vercel.app/parsers/unix/ls)            |\n| passwd       | [details](https://rjc.vercel.app/parsers/unix/passwd)        |\n| time         | [details](https://rjc.vercel.app/parsers/unix/time)          |\n| timedatectl  | [details](https://rjc.vercel.app/parsers/unix/timedatectl)   |\n| shadow       | [details](https://rjc.vercel.app/parsers/unix/shadow)        |\n| sysctl       | [details](https://rjc.vercel.app/parsers/unix/sysctl)        |\n| w            | [details](https://rjc.vercel.app/parsers/unix/w)             |\n| wc           | [details](https://rjc.vercel.app/parsers/unix/wc)            |\n\n### Darwin\n\n| Commands    | Documentation                                            |\n| ----------- | -------------------------------------------------------- |\n| airport     | [details](https://rjc.vercel.app/parsers/darwin/airport) |\n\n### External\n\n| Commands                                     | Documentation                                         |\n| -------------------------------------------- | ----------------------------------------------------- |\n| [lsd](https://github.com/Peltoche/lsd)       | [details](https://rjc.vercel.app/parsers/common/lsd)  |\n| ping                                         | [details](https://rjc.vercel.app/parsers/common/ping) |\n\n### Formats\n\n| Commands          | Documentation                                               |\n| ----------------- | ----------------------------------------------------------- |\n| email-address     | [details](https://rjc.vercel.app/parsers/formats/email)     |\n| semver            | [details](https://rjc.vercel.app/parsers/formats/semver)    |\n| timestamp         | [details](https://rjc.vercel.app/parsers/formats/timestamp) |\n| version           | [details](https://rjc.vercel.app/parsers/formats/version)   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclearfeld%2Frjc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclearfeld%2Frjc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclearfeld%2Frjc/lists"}