Boto 1.0.0

dotnet add package Boto --version 1.0.0                
NuGet\Install-Package Boto -Version 1.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="Boto" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Boto --version 1.0.0                
#r "nuget: Boto, 1.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.
// Install Boto as a Cake Addin
#addin nuget:?package=Boto&version=1.0.0

// Install Boto as a Cake Tool
#tool nuget:?package=Boto&version=1.0.0                

Boto

Boto is a C# library to build rich terminal user interfaces and dashboards. It is heavily inspired by the Javascript library blessed-contrib, the Go library termui and the Rust library tui .

The library supports multiple backends:

The library is based on the principle of immediate rendering with intermediate buffers. This means that at each new frame you should build all widgets that are supposed to be part of the UI. While providing a great flexibility for rich and interactive UI, this may introduce overhead for highly dynamic content. So, the implementation try to minimize the number of ansi escapes sequences generated to draw the updated UI.

Moreover, the library does not provide any input handling nor any event system and you may rely on the previously cited libraries to achieve such features.

Demo

The demo shown in the gif can be run with all available backends.

# tutu
dotnet run --project ./sample/Demo --release -- --tick-rate 200

where tick-rate is the UI refresh rate in ms.

The UI code is in samples/demo/ui.rs while the application state is in examples/demo/app.rs.

If the user interface contains glyphs that are not displayed correctly by your terminal, you may want to run the demo without those symbols:

Widgets

The library comes with the following list of widgets:

Click on each item to see the source of the example. Run the examples with with cargo (e.g. to run the gauge example dotnet run --project ./samples/GaugeSample), and quit by pressing q.

License

MIT

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Boto:

Package Downloads
Boto.Tutu

Integration between Boto and Tutu libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 149 4/23/2024
0.2.0 206 6/21/2023
0.1.5 184 6/17/2023
0.1.2 208 4/11/2023
0.1.1 220 4/11/2023