{"id":22412409,"url":"https://github.com/mandx/mungye","last_synced_at":"2026-05-02T23:36:41.273Z","repository":{"id":139429755,"uuid":"238564727","full_name":"mandx/mungye","owner":"mandx","description":"Merge JSONs/YAMLs together","archived":false,"fork":false,"pushed_at":"2021-07-08T20:51:25.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T21:34:33.842Z","etag":null,"topics":["cli","json","merger","stdin","yaml"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mandx.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-05T22:53:59.000Z","updated_at":"2021-07-08T20:51:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"29eb12c1-5267-40e4-8afd-25dde55fc68c","html_url":"https://github.com/mandx/mungye","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mandx/mungye","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandx%2Fmungye","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandx%2Fmungye/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandx%2Fmungye/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandx%2Fmungye/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mandx","download_url":"https://codeload.github.com/mandx/mungye/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandx%2Fmungye/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32553688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T22:28:24.418Z","status":"ssl_error","status_checked_at":"2026-05-02T22:28:14.225Z","response_time":132,"last_error":"SSL_read: 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","json","merger","stdin","yaml"],"created_at":"2024-12-05T14:08:42.479Z","updated_at":"2026-05-02T23:36:41.268Z","avatar_url":"https://github.com/mandx.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mungye\n\nMerge JSONs/YAMLs together!\n\n## Example:\n`file2.json` will be converted to YAML, then merged with `file1.yaml` and the result will be sent to STDOUT:\n\n```shell\n$ mungye file1.yaml file2.json\n```\n\nFiles are *always* open in read only mode. STDIN can be used as a source too, simply use a `-` (dash) to read from it. The only requirements (at the moment) when using STDIN is that the `--stdin-format` option is then required, because right now the tool can't guess the format of the data coming from STDIN.\n\nThere's also the `--force-format` option, to force the output to have a specific format, like (reusing the previous example):\n\n```shell\n$ mungye file1.yaml file2.json --force-format=json\n```\n\nThis will work exactly the same as the previous example except that the result will be JSON instead of YAML.\n\nSince the file arguments list must have a list of one filename, we can also use this tool to convert between formats, like:\n\n```shell\n# Convert JSON data to YAML data\n$ mungye file2.json --force-format=yaml\n\n# This is essentially the same, now this illustrates the usage with STDIN\n$ cat file2.json | mungye - --force-format=yaml\n```\n\n# TODO\n* Gather more test data\n* Add unit tests\n* Integration tests (at the command level, look into [assert_cmd](https://crates.io/crates/assert_cmd))\n* Add TOML support\n* Implement more array merging strategies (like `extend` and `zip`)\n* Look into different strategies when folding the argument list\n* Look into performance improvements\n* Look into `async-std` and see if can have better performance (and if it's worth the trouble)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmandx%2Fmungye","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmandx%2Fmungye","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmandx%2Fmungye/lists"}