{"id":18998600,"url":"https://github.com/israpps/diagbox","last_synced_at":"2026-06-30T10:31:45.798Z","repository":{"id":110912191,"uuid":"351982310","full_name":"israpps/DiagBox","owner":"israpps","description":"A command-line utility to change (partially) the color of windows command prompt","archived":false,"fork":false,"pushed_at":"2022-01-04T13:35:39.000Z","size":3533,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T12:45:58.801Z","etag":null,"topics":["batch-script","windows-cmd"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/israpps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":"https://www.paypal.com/paypalme/ElisraPS2"}},"created_at":"2021-03-27T04:34:58.000Z","updated_at":"2022-01-04T13:34:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f8846a7-db73-44e3-9782-ba9c35bf3f2c","html_url":"https://github.com/israpps/DiagBox","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/israpps/DiagBox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/israpps%2FDiagBox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/israpps%2FDiagBox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/israpps%2FDiagBox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/israpps%2FDiagBox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/israpps","download_url":"https://codeload.github.com/israpps/DiagBox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/israpps%2FDiagBox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34963633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"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":["batch-script","windows-cmd"],"created_at":"2024-11-08T17:46:35.334Z","updated_at":"2026-06-30T10:31:45.778Z","avatar_url":"https://github.com/israpps.png","language":"C++","funding_links":["https://www.paypal.com/paypalme/ElisraPS2"],"categories":[],"sub_categories":[],"readme":"# DiagBox\n\nthe purpose of this app is to change the text color in the windows command prompt partially (instead of changing all the text color like the command \"color\" does)\nthis can only be done by the CMD.EXE on it's own in windows 10 (its horrible since it makes the .BAT harder to read) \n\nUseful tip:\n\u003e Add a color macro at the beginning of the program to enforce a specific text color (in case the user changes the default color on program properties)\n\n## USAGE\n\n```bash\nDiagBox.EXE gd \u003cHEX_COLOR_CODE\u003e \n```\n \n\nthe \"HEX_COLOR_CODE' refers to a pair of HEX digits.\n    it works the same way that color command, you must pass two HEX digits, the first one will be the BG and the second one will be the Text color\n\n code | color\n ---- | -----\n0|Black\n1|blue \n2|green \n3|light blue  \n4|red   \n5|purple\n6|yellow \n7|white\n8|grey\n9|blue (bright)\nA|green (bright)\nB|light blue (bright)\nC|red (bright)\nD|purple (bright)\nE|yellow (bright)\nF|white (bright)\n\n\u003e If the table was not enough, see all the combinations in action!\n![Examples](https://github.com/israpps/DiagBox/blob/main/gitimages/CMD_COLORS.PNG)\n\n\n\n--- \n\nin adition:\nwith diagbox you can use the same foreground and background (`color` didn't allow this)\n# lib\n\nif you want to use this inside your program simply #include \"[__diagbox.h__](https://github.com/israpps/DiagBox/blob/main/diagbox.h)\" on your program and use one of the macros declared inside\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisrapps%2Fdiagbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisrapps%2Fdiagbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisrapps%2Fdiagbox/lists"}