Skip to content

HACC (HTML5 ANSI Console Canvas) - Blazor WebAssembly component to enable console code to run in a browser

License

Notifications You must be signed in to change notification settings

Blazor-Console/HACC

Repository files navigation

HACC

C# DotNet 6 HTML ANSI Console Canvas.

This has been rendered inoperable with developments in terminal.gui, and the spectre.console driver is HACC 2.0.

This is my final contribution to open source due to health reasons.

spectreconsole/spectre.console#1817


  • Contains a virtual terminal character buffer with text and appearance kept separately.
  • Contains a HTML component that renders the character buffer contents.
  • Contains driver code to create a System.Console compatible ANSI Console on an HTML5 Canvas.
  • Was formerly using the BlazorExtensions/Canvas project, which has been somewhat stagnant.
    • We absorbed the library, also under MIT license, and brought it up to .net 6 and newer typescript, webpack and other npm libraries.
    • We're about to bring in some of the other improvements other forks had developed but not merged into the stagnant project.

Beta!

Lots of demos!

Features

  • Builtin PNG frame-grabber
    • Can be triggered manually in console mode with window.canvasToPNG() which returns a data string with the frame at the time.
    • Can be integrated into an app with JSInterop calls such that the console application can have a "save to png" option, etc
    • image

Tests

Development

Future

  • Terminal.Gui v2 / DotNet v7 support
  • Spectre.Console driver

About

This project was built and is maintained by the Digital Defiance (GitHub page) - a group of like-minded engineers working together to improve the world and have fun in the process.

About

HACC (HTML5 ANSI Console Canvas) - Blazor WebAssembly component to enable console code to run in a browser

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages