{"id":16162053,"url":"https://github.com/peterdavehello/colorechoforshell","last_synced_at":"2025-08-07T00:34:58.683Z","repository":{"id":33449511,"uuid":"37094904","full_name":"PeterDaveHello/ColorEchoForShell","owner":"PeterDaveHello","description":"Make 🐚(shell) 's 💬 (`echo`)  to be 🎨 easily ✨ Support ✅ sh ➕ bash ➕ zsh ➕ ksh ➕ 🐟 One simple command for vibrant text output! 💫","archived":false,"fork":false,"pushed_at":"2024-04-29T14:52:12.000Z","size":228,"stargazers_count":120,"open_issues_count":4,"forks_count":18,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-29T10:13:05.876Z","etag":null,"topics":["ansi","bash","cli","color","console","echo","fish","hacktoberfest","ksh","script","sh","shell","shellscript","terminal","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PeterDaveHello.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"PeterDaveHello","open_collective":"peterdavehello","ko_fi":"peterdavehello","liberapay":"PeterDaveHello","issuehunt":"peterdavehello"}},"created_at":"2015-06-08T21:50:48.000Z","updated_at":"2025-05-26T23:23:16.000Z","dependencies_parsed_at":"2024-10-21T14:37:43.084Z","dependency_job_id":null,"html_url":"https://github.com/PeterDaveHello/ColorEchoForShell","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/PeterDaveHello/ColorEchoForShell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterDaveHello%2FColorEchoForShell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterDaveHello%2FColorEchoForShell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterDaveHello%2FColorEchoForShell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterDaveHello%2FColorEchoForShell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterDaveHello","download_url":"https://codeload.github.com/PeterDaveHello/ColorEchoForShell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterDaveHello%2FColorEchoForShell/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269180738,"owners_count":24373835,"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-08-06T02:00:09.910Z","response_time":99,"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":["ansi","bash","cli","color","console","echo","fish","hacktoberfest","ksh","script","sh","shell","shellscript","terminal","zsh"],"created_at":"2024-10-10T02:28:55.435Z","updated_at":"2025-08-07T00:34:58.618Z","avatar_url":"https://github.com/PeterDaveHello.png","language":"Shell","readme":"# ColorEchoForShell\n\n[![Build Status](https://app.travis-ci.com/PeterDaveHello/ColorEchoForShell.svg?branch=master)](https://app.travis-ci.com/PeterDaveHello/ColorEchoForShell)\n![License badge](https://img.shields.io/badge/license-GPL%20v2.0-brightgreen.svg)\n\n**ColorEchoForShell** brings life to your shell scripts by making text output colorful and meaningful. Whether you're debugging, displaying warnings, or showcasing errors, ColorEchoForShell enhances readability and helps you quickly identify messages in various shell environments.\n\n## Quick Start\n\n1. Download the appropriate script for your shell (e.g., bash, sh, fish, ksh, zsh).\n\n    - For bash, download [dist/ColorEcho.bash](./dist/ColorEcho.bash).\n    - For other shells, choose the corresponding file from the [dist directory](./dist).\n\n2. Source the script in your shell:\n\n    ```bash\n    . ./ColorEcho.bash # For bash\n    ```\n\n    Replace `ColorEcho.bash` with the appropriate filename for your shell.\n\n3. Try a colorful echo:\n\n    ```bash\n    echo.Cyan \"Hello, colorful world!\"\n    ```\n\n## Features\n\n- **Versatile Compatibility**: Works with [bash](https://www.gnu.org/software/bash/), [sh](https://en.wikipedia.org/wiki/Bourne_shell), [fish](http://fishshell.com/), [ksh](http://www.kornshell.com/), and [zsh](http://www.zsh.org/).\n- **Easy to Use**: Simple syntax for applying styles and colors.\n- **Customizable**: Supports various styles, including bold, italic, underline, blink, and strikethrough.\n- **Environment-Dependent Colors**: Please note that [certain colors](./color%20table.txt#L9-L12) may vary depending on the terminal and environment settings.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Examples](#examples)\n- [Supported Shells](#supported-shells)\n- [Supported Styles](#supported-styles)\n- [Supported Colors](#supported-colors)\n- [Additional Features](#additional-features)\n- [Community Contribution](#community-contribution)\n- [Screenshots](#screenshots)\n- [Demo](#demo)\n- [License](#license)\n- [Author](#author)\n\n## Installation\n\nTo utilize ColorEchoForShell in your shell scripts, download the appropriate script for your specific shell from the [dist directory](./dist). Then, include the ColorEchoForShell script at the beginning of your script by sourcing it:\n\n```bash\nsource ./ColorEcho.bash\n```\n\nReplace `./ColorEcho.bash` with the relative path to the downloaded ColorEchoForShell script.\n\nThis inclusion will enable all the features of ColorEchoForShell within your script.\n\n## Usage\n\nUse the `echo.StyleColor` syntax to print colorful text. In `ksh`/`sh`, omit the `.` dot symbol. You can combine up to two styles; the order doesn't matter.\n\n### Examples\n\n- `echo.Cyan`: Prints text in cyan color.\n- `echo.ICyan`: Prints text in italic cyan.\n- `echo.ULCyan`: Prints text in underline cyan.\n- `echo.BLCyan`: Prints text in blinking cyan.\n- `echo.STCyan`: Prints text with strikethrough in cyan.\n- `echo.BoldCyan`: Prints text in bold cyan.\n- `echo.BoldULCyan`: Prints text in bold underline cyan.\n- `echo.ULBoldCyan`: Prints text in underline bold cyan.\n\n## Supported Shells\n\n- [Bourne shell (sh)](https://en.wikipedia.org/wiki/Bourne_shell)\n- [Bourne-Again shell (bash)](https://www.gnu.org/software/bash/)\n- [Z shell (Zsh)](http://zsh.sourceforge.net/)\n- [Korn shell (ksh)](http://www.kornshell.org/)\n- [Friendly interactive shell (fish)](http://fishshell.com/)\n\n## Supported Styles\n\n- Bold: `Bold`\n- Italic: `I`\n- Underline: `UL`\n- Blink: `BL`\n- Strikethrough: `ST`\n\n## Supported Colors\n\n- Refer to the [color table](./color%20table.txt).\n- Use the `Light` keyword for lighter versions of standard colors (coded in range 0~7), e.g., `LightYellow`.\n\n## Additional Features\n\n- **Rainbow Output**: If you have [lolcat](https://github.com/busyloop/lolcat), try `echo.Rainbow`.\n\n## Community Contribution\n\nWe welcome contributions, bug reports, and suggestions. Feel free to open an issue or submit a pull request.\n\n## Screenshots\n\n![Screenshot](Demo.png)\n\n## Demo\n\n![Demo](Demo.gif)\n\n## License\n\nGPL-2.0 (GNU GENERAL PUBLIC LICENSE Version 2)\n\n## Author\n\n[Peter Dave Hello](https://www.peterdavehello.org/), [@Twitter](https://twitter.com/PeterDaveHello), [@GitHub](https://github.com/PeterDaveHello), [@GitLab](https://gitlab.com/PeterDaveHello)\n","funding_links":["https://github.com/sponsors/PeterDaveHello","https://opencollective.com/peterdavehello","https://ko-fi.com/peterdavehello","https://liberapay.com/PeterDaveHello","https://issuehunt.io/r/peterdavehello"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterdavehello%2Fcolorechoforshell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterdavehello%2Fcolorechoforshell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterdavehello%2Fcolorechoforshell/lists"}