{"id":13756382,"url":"https://github.com/mitchellh/colorstring","last_synced_at":"2025-05-10T03:31:31.848Z","repository":{"id":18568925,"uuid":"21771422","full_name":"mitchellh/colorstring","owner":"mitchellh","description":"Go (golang) library for colorizing strings for terminal output.","archived":true,"fork":false,"pushed_at":"2020-03-27T09:13:22.000Z","size":14,"stargazers_count":276,"open_issues_count":5,"forks_count":26,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-08-03T11:02:01.201Z","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/mitchellh.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":"2014-07-12T16:34:43.000Z","updated_at":"2024-07-22T20:43:47.000Z","dependencies_parsed_at":"2022-06-29T21:33:07.058Z","dependency_job_id":null,"html_url":"https://github.com/mitchellh/colorstring","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/mitchellh%2Fcolorstring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fcolorstring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fcolorstring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fcolorstring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitchellh","download_url":"https://codeload.github.com/mitchellh/colorstring/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224911485,"owners_count":17390840,"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-08-03T11:00:43.260Z","updated_at":"2024-11-16T11:31:33.783Z","avatar_url":"https://github.com/mitchellh.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# colorstring [![Build Status](https://travis-ci.org/mitchellh/colorstring.svg)](https://travis-ci.org/mitchellh/colorstring)\n\ncolorstring is a [Go](http://www.golang.org) library for outputting colored\nstrings to a console using a simple inline syntax in your string to specify\nthe color to print as.\n\nFor example, the string `[blue]hello [red]world` would output the text\n\"hello world\" in two colors. The API of colorstring allows for easily disabling\ncolors, adding aliases, etc.\n\n## Installation\n\nStandard `go get`:\n\n```\n$ go get github.com/mitchellh/colorstring\n```\n\n## Usage \u0026 Example\n\nFor usage and examples see the [Godoc](http://godoc.org/github.com/mitchellh/colorstring).\n\nUsage is easy enough:\n\n```go\ncolorstring.Println(\"[blue]Hello [red]World!\")\n```\n\nAdditionally, the `Colorize` struct can be used to set options such as\ncustom colors, color disabling, etc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Fcolorstring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitchellh%2Fcolorstring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Fcolorstring/lists"}