saiwolf / PuttyColors2WinTerm

A small .NET Core app that converts Putty Colors to Windows Terminal JSON

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Putty2WinTerminal

License

This software is licensed under the BSD 3-Clause "New" or "Revised" License. Any third party software maintains its own licensing and copyright.

Introduction

A simple .NET 6 console program that does one specific thing:

It converts PuTTY Session Colors from various sources into a JSON structure that you can easily paste into your Windows Terminal profiles.json under schemes.

It will automatically determine the OS.

The binaries provided are self-contained single binary files produced with dotnet publish. This removes the requirement on having the .NET Core Runtime installed.

NOTE: If you're on a *NIX based OS, then there are minimum requirements to be met imposed by .NET Core.

Sources So Far:

  1. The Windows Registry. (Only on Windows)
  2. Default PuTTY settings directory on *NIX OSes. ~/.putty/sessions/ (Only on a *NIX based OS)
  3. A Registry Export (.reg) file which is OS agnostic.

Operating System Support

  • Windows
  • Any *NIX based OS. (Linux, Unix, BSD, MacOS, etc)

Usage

Windows: PuttyColors2WinTerm.exe --help *NIX: ./PuttyColors2WinTerm --help:

  -v, --verbose        (Default: false) Turn on verbose output.

  -s, --session        (Default: Default%20Settings) puTTY session to convert.

  -n, --scheme-name    (Default: Default Scheme) Value of `name` JSON attribute in output.

  -r, --reg-file       Import a Registry File (.reg) for conversion instead of searching for User Settings.

  --help               Display this help screen.

  --version            Display version information.

Software Used

About

A small .NET Core app that converts Putty Colors to Windows Terminal JSON

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C# 100.0%