{"id":23097055,"url":"https://github.com/alexcoder04/golored","last_synced_at":"2025-04-03T20:15:40.915Z","repository":{"id":64303075,"uuid":"495028040","full_name":"alexcoder04/golored","owner":"alexcoder04","description":"Color your shell scripts' output","archived":false,"fork":false,"pushed_at":"2022-12-27T14:20:55.000Z","size":95,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T08:23:12.779Z","etag":null,"topics":["bash","cli","color","colorization","colors","command-line","command-line-tool","go","golang","posix-sh","shell","shell-script","terminal","utility"],"latest_commit_sha":null,"homepage":"","language":"Go","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/alexcoder04.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":"2022-05-22T10:33:09.000Z","updated_at":"2025-01-05T06:26:13.000Z","dependencies_parsed_at":"2023-01-15T09:45:22.278Z","dependency_job_id":null,"html_url":"https://github.com/alexcoder04/golored","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fgolored","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fgolored/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fgolored/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcoder04%2Fgolored/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexcoder04","download_url":"https://codeload.github.com/alexcoder04/golored/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070927,"owners_count":20878586,"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":["bash","cli","color","colorization","colors","command-line","command-line-tool","go","golang","posix-sh","shell","shell-script","terminal","utility"],"created_at":"2024-12-16T22:50:38.807Z","updated_at":"2025-04-03T20:15:40.884Z","avatar_url":"https://github.com/alexcoder04.png","language":"Go","readme":"\n# golored\n\n[![Release](https://img.shields.io/github/v/release/alexcoder04/golored)](https://github.com/alexcoder04/golored/releases/latest)\n[![AUR](https://img.shields.io/aur/version/golored)](https://aur.archlinux.org/packages/golored)\n[![Top language](https://img.shields.io/github/languages/top/alexcoder04/golored)](https://github.com/alexcoder04/golored/search?l=go)\n[![License](https://img.shields.io/github/license/alexcoder04/golored)](https://github.com/alexcoder04/golored/blob/main/LICENSE)\n[![Issues](https://img.shields.io/github/issues/alexcoder04/golored)](https://github.com/alexcoder04/golored/issues)\n[![Pull requests](https://img.shields.io/github/issues-pr/alexcoder04/golored)](https://github.com/alexcoder04/golored/pulls)\n\nSimply color your shell scripts' output by piping it into this program.\n\nIf you are intereseted in a more lightweight but also less-features version written in Shell, see [alexcoder04/shclrz](https://github.com/alexcoder04/shclrz).\n\n\u003cimg style=\"width: 100%;\" alt=\"screenshot\" src=\"screenshots/golored-screenshot-01.png\"\u003e\n\n## Installation\n\n### Arch Linux\n\nGolored is available on the [AUR](https://aur.archlinux.org/packages/golored).\nEither install it manually or use an AUR helper of your choice.\n\n### Pre-built binaries\n\nDownload the corresponding binary for your system from the [releases page](https://github.com/alexcoder04/golored/releases/latest).\n\n### Build from source\n\n```sh\ngit clone https://github.com/alexcoder04/golored.git\ncd golored\nmake build   # to compile\nmake install # to install the binary to your $GOPATH\n```\n\n## Usage\n\n\u003e `golored [-s SOURCE_FILE] formatting...`\n\n\u003e `golored [-help / -i / -ii]`\n\n| argument         | function                           |\n|------------------|------------------------------------|\n| `-help`          | print help                         |\n| `-i`             | print color codes                  |\n| `-ii`            | print extended color codes (8-bit) |\n| `-s SOURCE_FILE` | read from file                     |\n\n### Examples:\n\n```sh\ngolored -s file.txt f:red underline\n```\n\nOutputs the content of `file.txt` underlined and with red foreground.\n\n```\nls | golored b:blue\n```\n\nColors the output of `ls` with blue background.\n\n### List of colors:\n\n`black`, `blue`, `red`, `magenta`, `green`, `cyan`, `yellow`, `white`\n\n`0`-`255` (8-bit, use `-ii` flag to see how they look)\n\nPrepend with `f:` to specify the foreground and with `b:` for background.\n\n### List of formatting options:\n\n`bold`, `dim`, `italic`, `underline`\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcoder04%2Fgolored","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexcoder04%2Fgolored","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcoder04%2Fgolored/lists"}