Code Monkey home page Code Monkey logo

spectre.console's Introduction

Spectre.Console

Spectre.Console NuGet Version

A .NET 5/.NET Standard 2.0 library that makes it easier to create beautiful, cross platform, console applications.
It is heavily inspired by the excellent Rich library for Python.

Table of Contents

  1. Features
  2. Installing
  3. Documentation
  4. Examples
  5. Sponsors
  6. License

Features

  • Written with unit testing in mind.
  • Supports tables, grids, panels, and a rich inspired markup language.
  • Supports the most common SRG parameters when it comes to text styling such as bold, dim, italic, underline, strikethrough, and blinking text.
  • Supports 3/4/8/24-bit colors in the terminal.
    The library will detect the capabilities of the current terminal and downgrade colors as needed.

Example

Installing

The fastest way of getting started using Spectre.Console is to install the NuGet package.

dotnet add package Spectre.Console

Documentation

The documentation for Spectre.Console can be found at https://spectreconsole.net/

Examples

To see Spectre.Console in action, install the dotnet-example global tool.

> dotnet tool restore

Now you can list available examples in this repository:

> dotnet example

And to run an example:

> dotnet example tables

Sponsors

The following people are sponsoring Spectre.Console to show their support and to ensure the longevity of the project.

I really appreciate it.
Thank you very much!

License

Copyright © Patrik Svensson, Phil Scott

Spectre.Console is provided as-is under the MIT license. For more information see LICENSE.

spectre.console's People

Contributors

admiringworm avatar bastianeicher avatar chenxuuu avatar daveaglick avatar denispav avatar devlead avatar gep13 avatar gitfool avatar johanlindfors avatar khalidabuhakmeh avatar khellang avatar kk-tayamatoya avatar loic-sharma avatar lstefano71 avatar martin4ndersen avatar mbdev87 avatar mcon avatar miloszkrajewski avatar nickwingate avatar nils-a avatar oskarklintrot avatar patriksvensson avatar phil-scott-78 avatar pitermarx avatar rgwood avatar simoncropp avatar thoemmi avatar tyrrrz avatar wischi-chr avatar yamatoya avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.