{"id":32197015,"url":"https://github.com/oriontvv/convfmt","last_synced_at":"2026-02-19T08:34:59.631Z","repository":{"id":41105163,"uuid":"508234026","full_name":"oriontvv/convfmt","owner":"oriontvv","description":"cli tool which can convert different formats","archived":false,"fork":false,"pushed_at":"2026-01-05T20:03:02.000Z","size":1712,"stargazers_count":28,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-09T00:32:26.438Z","etag":null,"topics":["cli","convert","json","toml","yaml"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/convfmt","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oriontvv.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-28T09:24:22.000Z","updated_at":"2026-01-05T19:59:27.000Z","dependencies_parsed_at":"2023-12-30T11:20:21.068Z","dependency_job_id":"a58fdbe5-1fc3-4e2b-a008-f5e2ac854438","html_url":"https://github.com/oriontvv/convfmt","commit_stats":{"total_commits":63,"total_committers":3,"mean_commits":21.0,"dds":0.5238095238095238,"last_synced_commit":"92aebcd4ebf4f4b5307790c138bacd046df8d7a1"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/oriontvv/convfmt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oriontvv%2Fconvfmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oriontvv%2Fconvfmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oriontvv%2Fconvfmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oriontvv%2Fconvfmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oriontvv","download_url":"https://codeload.github.com/oriontvv/convfmt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oriontvv%2Fconvfmt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29608562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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","toml","yaml"],"created_at":"2025-10-22T02:48:28.987Z","updated_at":"2026-02-19T08:34:59.626Z","avatar_url":"https://github.com/oriontvv.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# convfmt\n[![Actions Status](https://github.com/oriontvv/convfmt/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/oriontvv/convfmt/actions/workflows/ci.yml) [![Coverage badge](https://raw.githubusercontent.com/oriontvv/convfmt/coverage/htmlcov/badges/flat.svg)](https://htmlpreview.github.io/?https://github.com/oriontvv/convfmt/coverage/htmlcov/index.html) [![dependency status](https://deps.rs/repo/github/oriontvv/convfmt/status.svg)](https://deps.rs/repo/github/oriontvv/convfmt) [![Crates.io](https://img.shields.io/crates/v/convfmt.svg)](https://crates.io/crates/convfmt)\n\n\n[convfmt](https://github.com/oriontvv/convfmt) is a command line tool in rust which can convert between formats:\n* [bson](https://en.wikipedia.org/wiki/BSON)\n* [csv](https://en.wikipedia.org/wiki/Comma-separated_values)\n* [hjson](https://hjson.github.io/)\n* [hocon](https://github.com/lightbend/config/blob/main/HOCON.md)\n* [json](https://en.wikipedia.org/wiki/JSON)\n* [json5](https://en.wikipedia.org/wiki/JSON5)\n* [jsonl](https://jsonltools.com/what-is-jsonl)\n* [plist](https://en.wikipedia.org/wiki/Property_list)\n* [ron](https://github.com/ron-rs/ron)\n* [toml](https://en.wikipedia.org/wiki/TOML)\n* [toon](https://toonformat.dev/)\n* [xml](https://en.wikipedia.org/wiki/XML)\n* [yaml](https://en.wikipedia.org/wiki/YAML)\n\n## Usage:\n\n```\n$ convfmt --help\ncli tool which can convert different formats\n\nUsage: convfmt [OPTIONS] --from \u003cFROM\u003e --to \u003cTO\u003e\n\nOptions:\n  -f, --from \u003cFROM\u003e  [possible values: bson, csv, hjson, hocon, json, json5, jsonl, plist, ron, toml, toon, xml, yaml]\n  -t, --to \u003cTO\u003e      [possible values: bson, csv, hjson, hocon, json, json5, jsonl, plist, ron, toml, toon, xml, yaml]\n  -c, --compact      Compress output if possible (default = false)\n  -h, --help         Print help\n  -V, --version      Print version\n```\n\n```\n$ cat cfg.yml | convfmt -f yaml -t toml \u003e cfg.toml\n$ convfmt -f json -t json \u003c compact.json \u003e pretty.json\n$ curl https://api.github.com/users/oriontvv | convfmt -f json -t json5 \u003e api.json5\n```\n\nBy default `convfmt` tries to use `pretty` format. Enable `--compact` option for compression.\n\n**Beware of `null`s, some formats don't support them (e.g. toml)**\n\n## Installation:\nThere are few ways:\n* Download latest [binary](https://github.com/oriontvv/convfmt/releases)\n\n* Install binary using [cargo-binstall](https://github.com/cargo-bins/cargo-binstall)\n```\ncargo install cargo-binstall \u0026\u0026 cargo binstall convfmt\n```\n\n* Build local [crate](https://crates.io/crates/convfmt) with [rust](https://www.rust-lang.org/tools/install)\n```\ncargo install convfmt\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foriontvv%2Fconvfmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foriontvv%2Fconvfmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foriontvv%2Fconvfmt/lists"}