ColorScripts-Enhanced 2025.11.8.1545

There is a newer version of this package available.
See the version list below for details.
dotnet add package ColorScripts-Enhanced --version 2025.11.8.1545
                    
NuGet\Install-Package ColorScripts-Enhanced -Version 2025.11.8.1545
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ColorScripts-Enhanced" Version="2025.11.8.1545" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ColorScripts-Enhanced" Version="2025.11.8.1545" />
                    
Directory.Packages.props
<PackageReference Include="ColorScripts-Enhanced" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ColorScripts-Enhanced --version 2025.11.8.1545
                    
#r "nuget: ColorScripts-Enhanced, 2025.11.8.1545"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ColorScripts-Enhanced@2025.11.8.1545
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ColorScripts-Enhanced&version=2025.11.8.1545
                    
Install as a Cake Addin
#tool nuget:?package=ColorScripts-Enhanced&version=2025.11.8.1545
                    
Install as a Cake Tool

ColorScripts-Enhanced PowerShell Module

Credits: Built upon shell-color-scripts by Derek Taylor and ps-color-scripts by Scott McKendry. Enhanced with high-performance caching, configuration management, and full cross-platform support.

PowerShell Gallery Downloads NuGet Tests License

Display beautiful ANSI colorscripts in your terminal with intelligent caching for 6-19x faster load times. Perfect for terminal customization and visual appeal!

Features

  • 498+ Colorscripts - Extensive ANSI art collection across 15+ categories
  • 6-19x Faster - Intelligent caching (5-20ms vs 50-300ms load times)
  • 🌐 Cross-Platform - Fully tested on Windows, macOS, and Linux
  • 🎯 Simple API - Easy cmdlets with full tab completion
  • ⚙️ Configurable - Persist cache location, startup behavior, and defaults
  • 📍 Centralized Cache - OS-wide in AppData/ColorScripts-Enhanced/cache
  • 🔄 Auto-Update - Cache invalidates automatically when scripts change
  • 📚 Complete Help - Full comment-based help for all 10 commands

Quick Start

# Install from PowerShell Gallery
Install-Module ColorScripts-Enhanced -Scope CurrentUser

# Import and display a random colorscript
Import-Module ColorScripts-Enhanced
Show-ColorScript  # Alias: scs

# Add to your PowerShell profile for automatic startup
Add-ColorScriptProfile

Requires: PowerShell 5.1+ or PowerShell 7.0+

Basic Usage

# Display a random colorscript
Show-ColorScript  # or alias: scs

# Display specific colorscript by name
Show-ColorScript -Name hearts
scs mandelbrot-zoom

# List all available colorscripts
Get-ColorScriptList

# Filter by category
Get-ColorScriptList -Category Geometric

# Show detailed metadata
Get-ColorScriptList -Detailed

# Build cache for faster loading (6-19x improvement)
New-ColorScriptCache

# Build cache for specific scripts only
New-ColorScriptCache -Name bars,hearts,arch

# Clear cache when needed
Clear-ColorScriptCache -All

All Commands

Command Alias Description
Show-ColorScript scs Display a colorscript (random or by name)
Get-ColorScriptList - List all available colorscripts with metadata
New-ColorScriptCache - Pre-generate cache files for faster loading
Clear-ColorScriptCache - Remove cache files
Add-ColorScriptProfile - Add module import to your PowerShell profile
Get-ColorScriptConfiguration - View current configuration settings
Set-ColorScriptConfiguration - Update and persist configuration
Reset-ColorScriptConfiguration - Restore default configuration
Export-ColorScriptMetadata - Export script metadata as JSON
New-ColorScript - Create a new colorscript template

Configuration

Persist preferences across sessions:

# View current configuration
Get-ColorScriptConfiguration

# Set custom cache path and disable auto-show
Set-ColorScriptConfiguration -CachePath 'D:\Cache\ColorScripts' -ProfileAutoShow:$false

# Set default colorscript for startup
Set-ColorScriptConfiguration -DefaultScript 'galaxy-spiral'

# Reset to defaults
Reset-ColorScriptConfiguration

Configuration stored in AppData/ColorScripts-Enhanced/config.json.

Getting Help

PowerShell uses the Get-Help cmdlet (not --help flags):

# Get detailed help with examples
Get-Help Show-ColorScript -Full

# View just the examples
Get-Help Show-ColorScript -Examples

# Get help for a specific parameter
Get-Help Show-ColorScript -Parameter Name

# View the about topic for module overview
Get-Help about_ColorScripts-Enhanced

Performance

Experience dramatic speed improvements:

  • First run (no cache): 50-300ms - Executes script and builds cache
  • Cached run: 5-20ms - Loads pre-rendered output instantly
  • Improvement: 6-19x faster!
  • Cache location: $env:APPDATA\ColorScripts-Enhanced\cache (Windows)
    • macOS: ~/Library/Application Support/ColorScripts-Enhanced/cache
    • Linux: ~/.cache/ColorScripts-Enhanced

Profile Integration

Add colorscripts to your PowerShell profile:

# Add with automatic random colorscript on startup
Add-ColorScriptProfile

# Import only (no automatic display)
Add-ColorScriptProfile -SkipStartupScript

# Target a specific profile scope
Add-ColorScriptProfile -Scope CurrentUserCurrentHost

# Use custom profile path
Add-ColorScriptProfile -Path $PROFILE.CurrentUserAllHosts

Advanced Features

Export Metadata

# Export all metadata with file and cache info
Export-ColorScriptMetadata -IncludeFileInfo -IncludeCacheInfo

# Save to file for external automation
Export-ColorScriptMetadata -Path ./metadata.json

Create Custom Colorscripts

# Scaffold a new colorscript with metadata
$scaffold = New-ColorScript -Name 'my-art' -Category 'Custom' -GenerateMetadataSnippet

# Open in your editor
code $scaffold.Path

Force Fresh Execution

# Bypass cache for testing
Show-ColorScript -Name hearts -NoCache

Requirements

  • PowerShell: 5.1+ (Desktop) or 7.0+ (Core)
  • Platforms: Windows, macOS, Linux
  • Terminal: Any terminal with ANSI escape code support
  • Optional: Nerd Font for icon-heavy scripts (nerd-font-test, dev-workspace)

Full Documentation: https://github.com/Nick2bad4u/ps-color-scripts-enhanced

Contributing

Contributions welcome! Submit colorscripts, report bugs, or suggest features.

CONTRIBUTING.md

License

MIT - See LICENSE


Tip: Run Get-ColorScriptList | Select-Object -First 10 to preview your first 10 scripts!

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2025.11.9.1630 207 11/9/2025
2025.11.8.1545 137 11/8/2025
2025.11.8.529 107 11/8/2025
2025.11.7.2145 112 11/7/2025
2025.11.7.2020 116 11/7/2025
2025.11.7.803 152 11/7/2025
2025.11.6.819 179 11/6/2025
2025.11.6.352 184 11/6/2025
2025.11.6.19 185 11/6/2025
2025.11.5.2155 191 11/5/2025
2025.11.5.2004 179 11/5/2025
2025.11.5.1717 183 11/5/2025
2025.11.5.841 183 11/5/2025
2025.11.2.2244 194 11/2/2025
2025.11.2.1947 193 11/2/2025
2025.11.2.1941 191 11/2/2025
2025.11.2.1912 192 11/2/2025
2025.11.2.1843 194 11/2/2025
2025.11.2.1837 193 11/2/2025
2025.11.2.553 165 11/2/2025
2025.10.31.16 196 10/31/2025
2025.10.30.2037 194 10/30/2025
2025.10.30.533 186 10/30/2025
2025.10.30.127 191 10/30/2025
2025.10.30.116 185 10/30/2025
2025.10.30.30 183 10/30/2025
2025.10.29.2359 187 10/30/2025
2025.10.29.21 194 10/29/2025
2025.10.28.2349 191 10/28/2025
2025.10.28.1926 184 10/28/2025
2025.10.27.541 193 10/27/2025
2025.10.27.140 192 10/27/2025
2025.10.25.536 115 10/25/2025
2025.10.20.1920 187 10/20/2025
2025.10.17.2106 127 10/17/2025
2025.10.15.1915 186 10/15/2025
2025.10.15.755 193 10/15/2025
2025.10.15.39 194 10/15/2025
2025.10.14.551 192 10/14/2025
2025.10.14.22 190 10/14/2025
2025.10.13.2332 193 10/13/2025
2025.10.13.2243 188 10/13/2025
2025.10.13.2034 189 10/13/2025
2025.10.13.1850 192 10/13/2025
2025.10.13.1522 193 10/13/2025
2025.10.12.2238 190 10/12/2025
2025.10.12.47 135 10/12/2025
1.0.0 199 10/9/2025

Version 2025.11.08.1545:
- Enhanced caching system with OS-wide cache in AppData
- 6-19x performance improvement
- Cache stored in centralized location
- Works from any directory
- 498 beautiful colorscripts included
- Full comment-based help documentation
- Scripts optimized for performance and visual quality
- Cross-platform support (Windows, Linux, macOS)
- PowerShell 5.1+ and PowerShell Core 7+ compatible
- 🌍 Internationalization: English & Spanish, and more support