{"id":24205018,"url":"https://github.com/vieitesss/colorize-java","last_synced_at":"2025-09-22T03:30:54.772Z","repository":{"id":211300435,"uuid":"728757063","full_name":"vieitesss/colorize-Java","owner":"vieitesss","description":"A minimal library to print colored text in Java console","archived":false,"fork":false,"pushed_at":"2023-12-11T17:20:23.000Z","size":7,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T13:52:49.652Z","etag":null,"topics":["color","console","java","library","text"],"latest_commit_sha":null,"homepage":"","language":"Java","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/vieitesss.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}},"created_at":"2023-12-07T16:17:09.000Z","updated_at":"2025-03-28T00:26:29.000Z","dependencies_parsed_at":"2023-12-07T17:59:50.011Z","dependency_job_id":null,"html_url":"https://github.com/vieitesss/colorize-Java","commit_stats":null,"previous_names":["vieitesss/colorize-java"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vieitesss/colorize-Java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vieitesss%2Fcolorize-Java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vieitesss%2Fcolorize-Java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vieitesss%2Fcolorize-Java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vieitesss%2Fcolorize-Java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vieitesss","download_url":"https://codeload.github.com/vieitesss/colorize-Java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vieitesss%2Fcolorize-Java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276341206,"owners_count":25625433,"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-09-22T02:00:08.972Z","response_time":79,"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":["color","console","java","library","text"],"created_at":"2025-01-13T23:19:40.807Z","updated_at":"2025-09-22T03:30:54.376Z","avatar_url":"https://github.com/vieitesss.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Colorized Java\n\nThis is a really simple library that I developed to print colored text whitin the Java console.\n\nThe need appears while I was working on an assigment and I wanted to print colored text. I did not find any library that does this in the first searches on the Internet, so I decided to create it myself.\n\nSo know, instead of surfing the web for ANSI codes every time I need colored text for Java, I have got this library ready to go. Keeping it stored is a no-brainer, no need spend time searching for ANSI codes online.\n\n## Usage\n\n1. Download the .jar\n\n```shell\nwget https://github.com/vieitesss/colorize-Java/blob/main/Color.jar\n```\n\n2. Add the library to your classpath.\n3. Import it like this:\n\n```java\nimport color.Color;\n```\n\n4. Now you can print colored text in your console:\n\n```java\npublic class Example{\n    public static void main(String[] args) {\n        System.out.prinln(Color.colorize(COLOR_RED, \"Hello world in red!\"));\n        System.out.prinln(\"This is \" + Color.colorize(COLOR_YELLOW, \"yellow\"));\n        System.out.prinln(Color.colorize(COLOR_GREEN, \"Green\") + \" is also available\");\n    }\n}\n```\n\n## More\n\nFeel free to download even the .jar or the source code.\n\nIf you like it leave a ⭐️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvieitesss%2Fcolorize-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvieitesss%2Fcolorize-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvieitesss%2Fcolorize-java/lists"}