https://github.com/localityyy/superoutput
My First project written on C#. Make the output brighter!
https://github.com/localityyy/superoutput
csharp library output
Last synced: 12 months ago
JSON representation
My First project written on C#. Make the output brighter!
- Host: GitHub
- URL: https://github.com/localityyy/superoutput
- Owner: localityyy
- License: agpl-3.0
- Created: 2025-01-02T19:24:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-02T21:54:22.000Z (over 1 year ago)
- Last Synced: 2025-03-05T11:53:48.565Z (over 1 year ago)
- Topics: csharp, library, output
- Language: C#
- Homepage:
- Size: 38.1 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SuperOutput
**My First project written in C#. Make the output brighter!**
SuperOutput is a library designed to make console output more visually appealing and functional. With SuperOutput, you can easily print colorful text and perform many other exciting features. This library aims to improve the user experience when interacting with the terminal or console applications.
Features
- **Colorful Output**: Print text in various colors to highlight important information.
- **Text Centering**: Easily center text on the screen for better visibility and presentation.
- **Animated Output**: Display text with typing animation.
- **Colored Status Indicators**: Display status messages (e.g., `[ OK ]`, `[ ERROR ]`) in different colors to quickly communicate the result.
- **Colored Time Output**: Print the current time in a specific color to keep track of time-based events.
- **Real-Time Time Retrieval**: Get the current time and display it in the desired format or color.
- **Library Health Check**: Built-in checks to ensure the library is functioning properly, preventing potential errors or crashes.
Installation
- Download SuperOutput.cs from Release
- Move SuperOutput.cs to your project (near Program.cs)
Example

```csharp
var SuperOutput = new SuperOutput.Init();
if (SuperOutput.IsWorking()) {
SuperOutput.OutputTime(true, ConsoleColor.DarkGray);
SuperOutput.StatusOutput("OK", ConsoleColor.Green, false, false);
SuperOutput.ColorOutput(" Hello, World!", ConsoleColor.Green, true, false);
Thread.Sleep(200);
SuperOutput.OutputTime(true, ConsoleColor.DarkGray);
SuperOutput.StatusOutput("OK", ConsoleColor.Green, false, false);
SuperOutput.AnimatedOutput(" Hi from SuperOutput", ConsoleColor.Magenta, 200, true);
}
```

Features Showcase
ColorOutput

```csharp
SuperOutput.ColorOutput("Hello World!", userColor: ConsoleColor.Green, shouldWriteAtNewLine: true, centerTextOnlyConsoleApp: false);
```

StatusOutput

```csharp
SuperOutput.StatusOutput("OK", userColor: ConsoleColor.Green, shouldWriteAtNewLine: false);
Console.WriteLine();
SuperOutput.StatusOutput("FAIL", userColor: ConsoleColor.Red, shouldWriteAtNewLine: false);
```

OutputTime

```csharp
SuperOutput.OutputTime(withSeconds: true, userColor: ConsoleColor.Magenta, shouldWriteAtNewLine: false, centerTextOnlyConsoleApp: false);
```

GetTime

```csharp
Console.WriteLine(SuperOutput.GetTime(withSeconds:true));
```

# License
SuperOutput is licensed under the GNU Affero General Public License v3.0. See the LICENSE file for more details.