JMykitta.ShinyConsole 2.0.0

dotnet add package JMykitta.ShinyConsole --version 2.0.0
                    
NuGet\Install-Package JMykitta.ShinyConsole -Version 2.0.0
                    
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="JMykitta.ShinyConsole" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JMykitta.ShinyConsole" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="JMykitta.ShinyConsole" />
                    
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 JMykitta.ShinyConsole --version 2.0.0
                    
#r "nuget: JMykitta.ShinyConsole, 2.0.0"
                    
#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 JMykitta.ShinyConsole@2.0.0
                    
#: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=JMykitta.ShinyConsole&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=JMykitta.ShinyConsole&version=2.0.0
                    
Install as a Cake Tool

ShinyConsole

Lightweight console coloring helpers published as the JMykitta.ShinyConsole NuGet package.

The github repository contains an example project that references the package: ShinyConsole.Example\ShinyConsole.Example.csproj.

Prerequisites

  • .NET 10 SDK installed
  • Visual Studio 2022/2026 or the dotnet CLI

Install from NuGet

  • Using the dotnet CLI (from repository root):
    • dotnet add package JMykitta.ShinyConsole --version 2.0.0
  • Using the Package Manager Console in Visual Studio:
    • NuGet\Install-Package JMykitta.ShinyConsole -Version 2.0.0
  • Using Visual Studio UI:
    1. Right-click the ShinyConsole.Example project → Manage NuGet Packages.
    2. Browse for JMykitta.ShinyConsole and install version 2.0.0.

csproj reference (example)


<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net10.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
  </PropertyGroup>
	
  <ItemGroup>
    <PackageReference Include="JMykitta.ShinyConsole" Version="2.0.0" />
  </ItemGroup>
</Project>

Quick Usage Example

using static ShinyConsole.Enums;
using ShinyConsole.ColorPallettes;

/* Demonstrate Rainbow */

// - Sequential Characters
Painter.Colorize("This text tests the coloring goes sequentially on the characters.", Prides.Rainbow);
PrintGap();

// - Random Characters
Painter.Colorize("This text tests the coloring goes randomly on the characters.", Prides.Rainbow, true);
PrintGap();

// - Sequential Words
Painter.Colorize("This text tests the coloring goes sequentially on the words.", Prides.Rainbow, false, ColorizationScope.Words);
PrintGap();

// - Random Words
Painter.Colorize("This text tests the coloring goes randomly on the words.", Prides.Rainbow, true, ColorizationScope.Words);
PrintGap();

/* Demonstrate Custom Pallette */

ConsoleColor[] customPallette = [ ConsoleColor.Magenta, ConsoleColor.Cyan, ConsoleColor.Yellow ];
Painter.Colorize("This text uses a custom pallette!", customPallette, true);
PrintGap();

/* Demonstrate Custom Pallette with Sentences */
string multiSentenceMessage = "This tests the coloring goes sequentially on the sentences. See how it changes? See how it changes again!?";
Painter.Colorize(multiSentenceMessage, National.Italian, false, ColorizationScope.Sentences);
PrintGap();

/* Demonstrate Custom Pallette with Paragraphs */
string multiParagraphMessage = "" +
    "This tests the coloring goes sequentially on the paragraphs.\nSee how it stays the same even though this sentence is on a new line?\n\n" +
    "But now, the paragraph shifted, so it changes colors!\r\n\r\n" +
    "Let's try a few sentences in a row. No change yet! Looking good! :)\n\n";
Painter.Colorize(multiParagraphMessage, National.American, false, ColorizationScope.Paragraphs);
PrintGap();

Output:

Example Output

General Notes

  • The example project targets net10.0.
  • Version 1.0.* is not supported. Please use Version 2.0.0+.

Release Notes

  • Version 2.0.0:
    • Complete refactor.
    • Shiny is now Painter.
    • There are now premade color pallettes available in the ShinyConsole.ColorPallettes namespace, but you can also create your own custom pallettes by passing an array of ConsoleColor values to the Painter.Colorize method.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • 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
2.0.0 129 2/20/2026
1.0.1 113 2/19/2026
1.0.0 115 2/19/2026

- Version 2.0.0:
 - Complete refactor.
 - `Shiny` is now `Painter`.
 - There are now premade color pallettes available in the `ShinyConsole.ColorPallettes` namespace,
but you can also create your own custom pallettes by passing an array of `ConsoleColor` values to the `Painter.Colorize` method.