{"id":37140055,"url":"https://github.com/justtimmm/gocolor","last_synced_at":"2026-01-14T16:24:47.121Z","repository":{"id":254767697,"uuid":"847471795","full_name":"JustTimmm/GoColor","owner":"JustTimmm","description":"For better logs ✨","archived":false,"fork":false,"pushed_at":"2025-05-27T20:11:59.000Z","size":20,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-27T20:33:48.312Z","etag":null,"topics":["console-color","golang"],"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/JustTimmm.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}},"created_at":"2024-08-25T22:58:31.000Z","updated_at":"2025-05-27T20:12:02.000Z","dependencies_parsed_at":"2025-05-27T20:35:24.980Z","dependency_job_id":null,"html_url":"https://github.com/JustTimmm/GoColor","commit_stats":null,"previous_names":["justtimmm/gocolor"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/JustTimmm/GoColor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustTimmm%2FGoColor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustTimmm%2FGoColor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustTimmm%2FGoColor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustTimmm%2FGoColor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JustTimmm","download_url":"https://codeload.github.com/JustTimmm/GoColor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustTimmm%2FGoColor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28425738,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T15:24:48.085Z","status":"ssl_error","status_checked_at":"2026-01-14T15:23:41.940Z","response_time":107,"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":["console-color","golang"],"created_at":"2026-01-14T16:24:46.329Z","updated_at":"2026-01-14T16:24:47.115Z","avatar_url":"https://github.com/JustTimmm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e🎨 GoColor\u003c/h1\u003e \u003cp align=\"center\"\u003e \u003cstrong\u003eGoColor\u003c/strong\u003e is a lightweight Go library for adding \u003cem\u003ecolors\u003c/em\u003e and \u003cem\u003estyles\u003c/em\u003e to your terminal output.\u003cbr\u003e Instantly enhance the readability of your logs and CLI messages! \u003c/p\u003e\n\n## 🚀 Installation\n\nTo install GoColor, run:\n```bash\ngo get github.com/JustTimmm/GoColor\n```\n\nThen import it into your project:\n```go\nimport \"github.com/JustTimmm/GoColor\"\n```\n\n## ✨ Quick Example\n\nWith GoColor, you can apply text colors, background colors, and text styles (like bold, italic, etc.) to your strings. Here is a basic example:\n```go\npackage main\n\nimport \"github.com/JustTimmm/GoColor\"\n\nfunc main() {\n\t// Text color\n\tGoColor.ColorLog(GoColor.ColorOption{\n\t\tTextColor: GoColor.Red,\n\t}, \"GoColor on top!\\n\")\n\n\t// Background color\n\tGoColor.ColorLog(GoColor.ColorOption{\n\t\tBackgroundColor: GoColor.BackgroundBlue,\n\t}, \"GoColor on top!\\n\")\n\n\t// Text + Background color\n\tGoColor.ColorLog(GoColor.ColorOption{\n\t\tTextColor: GoColor.Red,\n\t\tBackgroundColor: GoColor.BackgroundBlue,\n\t}, \"GoColor on top!\\n\")\n}\n```\n\u003cimg src=\"doc/example.png\"\u003e\n\n\n## 🛠️ Predefined Logs\n\nGoColor includes several built-in styled logs:\n```go\nGoColor.ErrorLog(\"Error log!\\n\")\nGoColor.SuccessLog(\"Success log!\\n\")\nGoColor.InfoLog(\"Info log!\\n\")\nGoColor.DebugLog(\"Debug log!\\n\")\nGoColor.WarnLog(\"Warn log!\\n\")\nGoColor.RainbowLog(\"Rainbow Log!\\n\")\n```\n\u003cimg src=\"doc/example_2.png\"\u003e\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjusttimmm%2Fgocolor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjusttimmm%2Fgocolor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjusttimmm%2Fgocolor/lists"}