{"id":22728827,"url":"https://github.com/scottmckendry/ps-color-scripts","last_synced_at":"2025-07-18T19:03:47.590Z","repository":{"id":216415622,"uuid":"741279380","full_name":"scottmckendry/ps-color-scripts","owner":"scottmckendry","description":"🌈 Port of Derek Taylor's Popular \"shell-color-scripts\" for PowerShell","archived":false,"fork":false,"pushed_at":"2025-06-14T05:19:52.000Z","size":88,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-14T06:24:19.238Z","etag":null,"topics":["color-scripts","powershell","powershell-module","windows-terminal"],"latest_commit_sha":null,"homepage":"https://www.powershellgallery.com/packages/ps-color-scripts/","language":"PowerShell","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/scottmckendry.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-01-10T04:12:12.000Z","updated_at":"2025-06-14T05:19:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"87b3de8e-3bbb-414b-8192-7e10996ae87f","html_url":"https://github.com/scottmckendry/ps-color-scripts","commit_stats":null,"previous_names":["scottmckendry/ps-color-scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scottmckendry/ps-color-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottmckendry%2Fps-color-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottmckendry%2Fps-color-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottmckendry%2Fps-color-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottmckendry%2Fps-color-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scottmckendry","download_url":"https://codeload.github.com/scottmckendry/ps-color-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottmckendry%2Fps-color-scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265815104,"owners_count":23832837,"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":["color-scripts","powershell","powershell-module","windows-terminal"],"created_at":"2024-12-10T17:18:06.158Z","updated_at":"2025-07-18T19:03:47.566Z","avatar_url":"https://github.com/scottmckendry.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌈 PowerShell Color Scripts\n\nAn _almost_ like for like port of Derek Taylor's Popular [shell-color-scripts](https://gitlab.com/dwt1/shell-color-scripts) package for PowerShell.\n\nPainstakingly ported to PowerShell from the original Bash scripts, this module provides a collection of color scripts to brighten up your PowerShell terminal.\n\n![demo](https://github.com/scottmckendry/ps-color-scripts/assets/39483124/3b1edc7b-6d71-4bcd-92c4-b9ca6f1bc8b9)\n\n## 📦 Installation\n\nThe module is available on the [PowerShell Gallery](https://www.powershellgallery.com/packages/ps-color-scripts/) and can be installed using the following command.\n\n```powershell\nInstall-Module -Name ps-color-scripts -Scope CurrentUser\n```\n\n## 🚀 Usage\n\n**Default**: Display a random color script.\n\n```powershell\nShow-ColorScript\n```\n\n**Specific**: Display a specific color script.\n\n```powershell\nShow-ColorScript -Name \"pacman\"\n```\n\n**List**: List all available color scripts.\n\n```powershell\nShow-ColorScript -List\n```\n\n## 🧑‍🍳 Recipes\n\n#### Add to your PowerShell profile to display a random color script on startup.\n\n![image](https://github.com/scottmckendry/ps-color-scripts/assets/39483124/7cd6a8a3-94bb-4e1b-801d-926568b82e9d)\n\n```powershell\n$profilePath = $PROFILE.CurrentUserAllHosts\n$profileExists = Test-Path -Path $profilePath\n\nif (!$profileExists) {\n    New-Item -Path $PROFILE.CurrentUserAllHosts -ItemType File\n}\n\nAdd-Content -Path $profilePath -Value \"Show-ColorScript\"\n```\n\n\u003e [!TIP]\n\u003e Replace `Show-ColorScript` with `Show-ColorScript -Name \"[name]\"` to display a specific color script, replacing `[name]` with the name of the color script you wish to display.\n\n#### Add an alias for `Show-ColorScript` to your PowerShell profile.\n\nQuickly display a random color script by typing `scs` into your PowerShell terminal.\n\n```powershell\n$profilePath = $PROFILE.CurrentUserAllHosts\n$profileExists = Test-Path -Path $profilePath\n\nif (!$profileExists) {\n    New-Item -Path $PROFILE.CurrentUserAllHosts -ItemType File\n}\n\nAdd-Content -Path $profilePath -Value \"New-Alias -Name scs -Value Show-ColorScript\"\n```\n\n\u003e [!TIP]\n\u003e Replace `scs` with your preferred alias. You can also run `scs [name]` to display a specific color script, replacing `[name]` with the name of the color script you wish to display.\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome! Try to keep contributions in the spirit of the original [shell-color-scripts](https://gitlab.com/dwt1/shell-color-scripts) project.\nNew scripts should use ANSI escape codes to colorize the output, ideally using 10 to 16 of the available colors (see [ANSI escape code](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors) for more information).\n\n## 📝 License\n\nLike its inspiration, this project is licensed under the [MIT License](https://github.com/scottmckendry/ps-color-scripts/blob/main/LICENSE). Feel free to use the code as you see fit.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottmckendry%2Fps-color-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottmckendry%2Fps-color-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottmckendry%2Fps-color-scripts/lists"}