{"id":16703579,"url":"https://github.com/kurtbuilds/dye","last_synced_at":"2025-03-21T20:32:13.218Z","repository":{"id":41550553,"uuid":"426307583","full_name":"kurtbuilds/dye","owner":"kurtbuilds","description":"A CLI tool to easily color text in your shell.","archived":false,"fork":false,"pushed_at":"2022-12-31T04:43:10.000Z","size":310,"stargazers_count":23,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T04:42:57.015Z","etag":null,"topics":["bash","cli","color","command-line","shell","terminal"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/kurtbuilds.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-09T16:38:22.000Z","updated_at":"2024-12-20T22:01:56.000Z","dependencies_parsed_at":"2023-01-31T17:55:22.575Z","dependency_job_id":null,"html_url":"https://github.com/kurtbuilds/dye","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurtbuilds%2Fdye","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurtbuilds%2Fdye/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurtbuilds%2Fdye/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurtbuilds%2Fdye/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kurtbuilds","download_url":"https://codeload.github.com/kurtbuilds/dye/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244865881,"owners_count":20523421,"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","command-line","shell","terminal"],"created_at":"2024-10-12T19:08:45.486Z","updated_at":"2025-03-21T20:32:12.899Z","avatar_url":"https://github.com/kurtbuilds.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv id=\"top\"\u003e\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/kurtbuilds/dye/graphs/contributors\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/contributors/kurtbuilds/dye.svg?style=flat-square\" alt=\"GitHub Contributors\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/kurtbuilds/dye/stargazers\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/kurtbuilds/dye.svg?style=flat-square\" alt=\"Stars\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/kurtbuilds/dye/actions\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/kurtbuilds/dye/test.yaml?style=flat-square\" alt=\"Build Status\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://crates.io/crates/dye-cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/d/dye-cli?style=flat-square\" alt=\"Downloads\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://crates.io/crates/dye-cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/dye-cli?style=flat-square\" alt=\"Crates.io\" /\u003e\n\u003c/a\u003e\n\n# Dye \n\n`dye` is a tool to easily color text in shell.\n\n# Usage\n\nSee the gif below to see these commands in action.\n\n```bash\necho $(dye --red WARN) This tool will knock your socks off.\n\necho $(dye -r WARN) It takes too many characters to type --red, so every display modifier has a shortcode.\n\necho $(dye -cl INFO) If your shell supports it, this label will be *blinking*. How cool is that?\n\necho $(dye --cyan INFO) Lowercase letter options modify the text, uppercase modifies the $(dye -R --black background).\n\necho $(dye -g SUCCESS) You are a $(dye -u great) engineer for using tools that make your life simpler and easier.\n```\n\n![gif of dye example usage](usage.gif)\n\n# Installation\n\n    cargo install dye-cli\n\n# Documentation\n\nThe `--help` option gives you all you need to know. Lowercase short options affect foreground color and style, and \nuppercase short options affect the background.\n\n    Add color to text. Pass text as arguments (like the echo command), or pass no arguments to read\n    stdin.\n\n    USAGE:\n        dye [OPTIONS] [string]...\n\n    OPTIONS:\n        -b, --blue         Set foreground blue\n        -B, --bgblue       Set background blue\n        -c, --cyan         Set foreground cyan\n        -C, --bgcyan       Set background cyan\n        -d, --bold         Add bold style\n        -g, --green        Set foreground green\n        -G, --bggreen      Set background green\n        -h, --help         Print help information\n        -i, --italic       Add italic style\n        -k, --black        Set foreground black\n        -K, --bgblack      Set background black\n        -l, --blink        Add blink style\n        -m, --dimmed       Add dimmed style\n        -p, --purple       Set foreground purple\n        -P, --bgpurple     Set background purple\n        -r, --red          Set foreground red\n        -R, --bgred        Set background red\n        -u, --underline    Add underline style\n        -v, --reversed     Add reversed style\n        -V, --version      Print version information\n        -w, --white        Set foreground white\n        -W, --bgwhite      Set background white\n        -y, --yellow       Set foreground yellow\n        -Y, --bgyellow     Set background yellow\n\n# Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag \"enhancement\".\nDon't forget to give the project a star! Thanks again!\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n# Acknowledgments\n\nThis project is built on the great work in these projects:\n\n* [`colored`](https://github.com/mackwic/colored) does the heavy lifting of setting color escape codes.\n* [`clap`](https://github.com/clap-rs/clap) makes creating CLIs in Rust easy!\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkurtbuilds%2Fdye","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkurtbuilds%2Fdye","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkurtbuilds%2Fdye/lists"}