{"id":13409851,"url":"https://github.com/TreyBastian/colourize","last_synced_at":"2025-03-14T15:30:53.734Z","repository":{"id":31853454,"uuid":"35420738","full_name":"TreyBastian/colourize","owner":"TreyBastian","description":"An ANSI colour terminal package for Go","archived":true,"fork":false,"pushed_at":"2022-07-18T09:10:59.000Z","size":9,"stargazers_count":27,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-06T22:36:24.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TreyBastian.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}},"created_at":"2015-05-11T11:49:39.000Z","updated_at":"2024-09-09T07:01:23.000Z","dependencies_parsed_at":"2022-08-28T19:41:05.986Z","dependency_job_id":null,"html_url":"https://github.com/TreyBastian/colourize","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TreyBastian%2Fcolourize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TreyBastian%2Fcolourize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TreyBastian%2Fcolourize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TreyBastian%2Fcolourize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TreyBastian","download_url":"https://codeload.github.com/TreyBastian/colourize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243600528,"owners_count":20317291,"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","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-07-30T20:01:03.707Z","updated_at":"2025-03-14T15:30:53.458Z","avatar_url":"https://github.com/TreyBastian.png","language":"Go","funding_links":[],"categories":["命令行","Command Line","高级控制台UI","\u003cspan id=\"命令行-command-line\"\u003e命令行 Command Line\u003c/span\u003e","Build Automation","高级控制台UI`用于构建控制台应用程序和控制台用户界面的库.`"],"sub_categories":["Advanced Console UIs","高级控制台用户界面","标准 CLI","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","高级控制台界面","高級控制台界面"],"readme":"# colourize\n[![GoDoc](https://godoc.org/github.com/TreyBastian/colourize?status.svg)](https://godoc.org/github.com/TreyBastian/colourize) [![Build Status](https://travis-ci.org/TreyBastian/colourize.svg?branch=master)](https://travis-ci.org/TreyBastian/colourize) [![Coverage Status](https://coveralls.io/repos/TreyBastian/colourize/badge.svg?branch=master)](https://coveralls.io/r/TreyBastian/colourize?branch=master) [![Go Report\nCard](https://goreportcard.com/badge/github.com/TreyBastian/colourize)](https://goreportcard.com/report/github.com/TreyBastian/colourize)\n\nAn ANSI colour terminal package for Go.\nSupports all ANSI colours and emphasis. Not compatible with Windows systems.\n\n# Project is no longer maintained.\nThis project is no longer maintained. However it's also complete. It has not and will not be updated with new Go features.\n\n# Installation\n\n     go get github.com/TreyBastian/colourize \n\n# Usage\n\n    package main\n    import (\n        c \"github.com/TreyBastian/colourize\"\n        \"fmt\"\n    )\n    \n    func main() {\n      fmt.Println(c.Colourize(\"Hello World!\", c.Green, c.Whitebg, c.Bold))\n    }\n\n\n# Projects Using colourize\n*  [nettee](https://github.com/Manaphy91/nettee)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTreyBastian%2Fcolourize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTreyBastian%2Fcolourize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTreyBastian%2Fcolourize/lists"}