{"id":42816166,"url":"https://github.com/hlcfan/fm","last_synced_at":"2026-01-30T06:28:52.756Z","repository":{"id":145740915,"uuid":"547821555","full_name":"hlcfan/fm","owner":"hlcfan","description":"Content agnostic formatter for JSON, XML string. Indent incomplete JSON.","archived":false,"fork":false,"pushed_at":"2025-04-19T07:00:19.000Z","size":38,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T14:19:48.243Z","etag":null,"topics":["json","xml"],"latest_commit_sha":null,"homepage":"","language":"Go","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/hlcfan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-10-08T11:06:08.000Z","updated_at":"2025-04-19T07:00:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d50f1d3-e36f-4812-85ae-5146358bbfee","html_url":"https://github.com/hlcfan/fm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hlcfan/fm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlcfan%2Ffm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlcfan%2Ffm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlcfan%2Ffm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlcfan%2Ffm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hlcfan","download_url":"https://codeload.github.com/hlcfan/fm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlcfan%2Ffm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28906539,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T04:02:34.702Z","status":"ssl_error","status_checked_at":"2026-01-30T04:02:33.562Z","response_time":66,"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":["json","xml"],"created_at":"2026-01-30T06:28:50.781Z","updated_at":"2026-01-30T06:28:52.750Z","avatar_url":"https://github.com/hlcfan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fm\n\nFormat JSON, XML string. I mainly use it in Vim buffers, so that I can format\nany JSON/XML string without knowing type.\n\nBefore:\n```\n# format JSON\n:%! jq .\n\n# format XML\n:%! xmllint --format -\n```\n\nAfter:\n```\n:%! fm\n```\n\n### Usage\n\n```\necho \"{\\\"key\\\":\\\"value\\\"}\" | fm\n{\n  \"key\": \"value\"\n}\n```\n\n### Note\n\nIf on MacOS, you'll need to codesign the binary file.\n```\ncodesign -s - fm\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhlcfan%2Ffm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhlcfan%2Ffm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhlcfan%2Ffm/lists"}