ConsoleToSvg 0.1.2

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global ConsoleToSvg --version 0.1.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local ConsoleToSvg --version 0.1.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ConsoleToSvg&version=0.1.2
                    
nuke :add-package ConsoleToSvg --version 0.1.2
                    

ConsoleToSvg

console2svg is a .NET global tool that converts terminal output into SVG.

Overview

alternate text is missing from this package README image

console2svg | console2svg

This image is generated by converting the description text of this library into SVG (oh, how meta).


alternate text is missing from this package README image

console2svg -w 100 -h 24 --window macos --padding 5 -- console2svg

You can also generate SVG with a window frame. and some options to customize the appearance.


alternate text is missing from this package README image

Play loop animation

console2svg -m video --window macos -- copilot --banner

In video mode, you can capture the animation of the command execution and save it as an SVG.

Install

dotnet tool install -g ConsoleToSvg

Usage

Pipe mode

Width and height default to the current terminal dimensions.

my-command | console2svg

PTY command mode

console2svg "git log --oneline"

Or pass the command after --:

console2svg -- dotnet run app.cs

Animated SVG

use -m video.

console2svg -m video -- nyancat

No loop playback:

console2svg -m video --no-loop -- nyancat

Static SVG with crop

# ch: charactor width, px: pixel
console2svg "dotnet --info" --crop-top 1ch --crop-right 5px

You can also crop at the position where a specific character appears. When specifying a character, you can specify it like :(number), which crops at a relative position from the detected line.

console2svg "dotnet --info" --crop-top "Host" --crop-bottom ".NET runtimes installed:-2"

Window chrome and padding

console2svg --window macos-pc --padding 8 -- dotnet --version
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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.

This package has no dependencies.

Version Downloads Last Updated
0.4.6 0 3/1/2026
0.4.5 0 3/1/2026
0.4.4 0 3/1/2026
0.4.3 0 3/1/2026
0.4.2 0 3/1/2026
0.4.1 0 3/1/2026
0.4.0 0 3/1/2026
0.3.0 26 2/28/2026
0.2.2 27 2/28/2026
0.2.1 40 2/27/2026
0.2.0 32 2/27/2026
0.1.5 33 2/27/2026
0.1.4 36 2/26/2026
0.1.3 30 2/26/2026
0.1.2 35 2/26/2026
0.1.1 37 2/26/2026
0.1.0 37 2/25/2026
0.1.0-alpha.26 41 2/25/2026
0.1.0-alpha.8 33 2/24/2026
0.1.0-alpha.6 39 2/24/2026