{"id":20788916,"url":"https://github.com/tildearrow/mcformat","last_synced_at":"2025-10-05T05:12:46.181Z","repository":{"id":104361367,"uuid":"341660479","full_name":"tildearrow/mcformat","owner":"tildearrow","description":"`cat` for Minecraft formatting codes","archived":false,"fork":false,"pushed_at":"2021-02-23T19:28:12.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T00:26:05.418Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tildearrow.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}},"created_at":"2021-02-23T19:05:34.000Z","updated_at":"2024-03-26T05:30:01.000Z","dependencies_parsed_at":"2023-04-11T11:31:22.836Z","dependency_job_id":null,"html_url":"https://github.com/tildearrow/mcformat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tildearrow/mcformat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tildearrow%2Fmcformat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tildearrow%2Fmcformat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tildearrow%2Fmcformat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tildearrow%2Fmcformat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tildearrow","download_url":"https://codeload.github.com/tildearrow/mcformat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tildearrow%2Fmcformat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278411261,"owners_count":25982368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-17T15:18:10.662Z","updated_at":"2025-10-05T05:12:46.165Z","avatar_url":"https://github.com/tildearrow.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mcformat\n\na `cat`-like utility for parsing Minecraft formatting codes into ANSI escape codes for viewing on a terminal.\n\n## features\n\n- `cat`-like - supports reading from stdin or files as arguments\n- supports all 16 color codes\n- supports all 6 format codes\n- supports Minecraft 1.16 RGB color codes (§x)\n- supports 24-bit color terminals and converts RGB codes to 256-color otherwise\n- written in C for speed\n\n## building\n\nrequires CMake.\n\n```\nmkdir build\ncd build\ncmake ..\nmake\n```\n\nif you are on a rush and cannot use CMake, you may compile this using any compiler, e.g.:\n\n```\ngcc -o mcformat main.c\n```\n\n## usage\n\n```\n./mcformat [FILES ...]\n```\n\nFILES is optional.\n\nif FILES is not provided, reads from standard input; otherwise reads from the specified files.\n\n## FAQ\n\n\u003e supported encodings?\n\nUTF-8 only.\n\n\u003e does this support ampersand format codes too?\n\nno, it does not. it only supports Minecraft standard section sign (§) formatting codes.\n\n\u003e does this support raw JSON text?\n\nno, and it will not.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftildearrow%2Fmcformat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftildearrow%2Fmcformat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftildearrow%2Fmcformat/lists"}