Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

ย 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โšก TermForge CLI

Node.js Version Platform: Windows License: MIT Supported Shells

A lightweight, zero-overhead terminal harness that restyles your Windows command prompt with authentic OS themes and Neofetch ASCII art.
Commands run directly inside your real, persistent Windows shell with full interactive console support. No VMs, Docker, or WSL required.


  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
  โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•
     โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  
     โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•”โ•โ•โ•  โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•  โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•  
     โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ•šโ•โ• โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘     โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
     โ•šโ•โ•   โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•     โ•šโ•โ•โ•šโ•โ•      โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•  โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ•โ•

๐Ÿš€ Overview

TermForge transforms the look and feel of your Windows terminal into classic operating systemsโ€”from Kali Linux and Arch to Ubuntu, macOS, and Alpine.

Unlike emulators or mock shells, TermForge does not virtualize, intercept, or fake commands. It launches your real Windows shell (cmd.exe or powershell.exe) directly in your console with authentic Neofetch ASCII art and native OS prompt palettes.

Every command you typeโ€”whether running git, compiling code, editing with console editors, navigating directories with cd, or managing environment variablesโ€”persists naturally across the entire session.


โœจ Features

  • ๐Ÿ‰ Authentic Neofetch ASCII Art: Displays iconic distro logos rendered with true ANSI color palettes.
  • ๐ŸŽจ Accurate OS Prompts & Palettes:
    • Kali Linux: Iconic Kali Blue styling (โ”Œโ”€โ”€(rootใ‰ฟkali)-[path] / โ””โ”€#).
    • Ubuntu: Signature orange & green bash prompt (root@ubuntu:path#).
    • Arch Linux: Clean Arch cyan prompt ([root@arch path]#).
    • Debian: Raspberry/crimson swirl with Debian prompt.
    • Fedora: Classic Fedora blue infinity styling.
    • Windows PowerShell: PowerShell blue & gold branding with dynamic paths.
    • macOS: Six-color Apple rainbow ASCII logo with zsh % prompt.
    • Alpine Linux: Minimalist Alpine peak with ash prompt.
  • ๐Ÿ–ฑ๏ธ Interactive Menu Navigation:
    • Mouse Click Support: Click directly on any OS option using ANSI SGR mouse tracking.
    • Arrow Keys: Navigate up and down with โ†‘/โ†“ (or k/j) with live visual highlight (โฏ).
    • Instant Numbers: Press 1โ€“9 for instant launch without even pressing Enter.
  • ๐Ÿ”’ Real Persistent Shell:
    • Attached directly to Windows console (stdio: 'inherit').
    • Command history, tab completion, arrow keys, and interactive CLI programs work flawlessly.
    • Bypass registry AutoRun conflicts (/D) to ensure your styled prompt and screen stay intact.
  • โšก Zero Bloat:
    • Pure Node.js with zero heavy dependencies.
    • No Electron, no web views, no WSL, and no virtual machines.

๐Ÿ“ฆ Quick Start

Prerequisites

  • Windows 10 / 11 (Windows Terminal, Command Prompt, or PowerShell)
  • Node.js 16+

Installation & Launch

# Clone the repository
git clone https://github.com/QuantumTechCoder/TermForgeCLI.git

# Navigate into the project folder
cd TermForgeCLI

# Start TermForge
npm start

(Alternatively, run node index.js directly).


๐ŸŽฎ Navigation & Controls

Action Control Description
Select OS Click with mouse Click directly on any OS name in the list
Navigate โ†‘ / โ†“ or k / j Move selection cursor up and down
Confirm Enter / Space Launch the highlighted OS shell
Direct Launch Keys 1 โ€“ 9 Instantly launches that OS theme
Quit Menu q or Ctrl+C Exit cleanly without changing terminal state
Exit Session Type exit Closes the styled shell and restores your original terminal

๐Ÿ–ฅ๏ธ Supported Operating Systems

OS Theme Shell Engine Brand Colors Prompt Preview
Kali Linux cmd.exe Kali Blue (#0080ff) โ”Œโ”€โ”€(rootใ‰ฟkali)-[C:\path]
โ””โ”€#
Ubuntu cmd.exe Ubuntu Orange (#E95420) root@ubuntu:C:\path#
Debian cmd.exe Debian Crimson (#D70A53) root@debian:C:\path#
Arch Linux cmd.exe Arch Cyan (#1793D1) [root@arch C:\path]#
Fedora cmd.exe Fedora Blue (#0B57A4) [root@fedora C:\path]#
Windows cmd.exe Windows 11 Blue (#0078D7) C:\path>
Windows PowerShell powershell.exe PowerShell Blue & Gold PS C:\path>
macOS (zsh) cmd.exe Classic Rainbow / White user@MacBook-Pro C:\path %
Alpine Linux cmd.exe Alpine Blue (#0D597F) alpine:C:\path#

๐Ÿ› ๏ธ How It Works

  1. Persistent Session: TermForge spawns a single real Windows shell (cmd.exe /D /K or powershell.exe -NoExit) and binds it to the active console window.
  2. Registry Protection: Automatically passes /D to cmd.exe to suppress registry AutoRun scripts (such as custom startup banners or prompt overrides) that might wipe the screen or prompt.
  3. Prompt Styling: Prompts are dynamically evaluated by the shell itself using native escape codes (PROMPT syntax for cmd and PowerShell prompt function), ensuring accurate paths and instant responsiveness.
  4. PTY & Inherited Console Support: If node-pty is installed, TermForge utilizes ConPTY for live resizing and terminal streams; otherwise, it cleanly falls back to child_process with an inherited console.

โœ… Completed Checklist

  • Initial project harness and CLI menu creation
  • Fixed CLI premature exit bug when selecting an OS
  • Inherited console integration (stdio: 'inherit') for genuine Windows shell persistence
  • Windows Registry AutoRun bypass (/D) to protect prompt styling and screen state
  • Interactive menu with ANSI SGR mouse click selection support
  • Keyboard arrow key navigation (โ†‘/โ†“/k/j) with visual cursor indicators
  • Integrated authentic Neofetch ASCII art logos for all 9 operating systems
  • Fixed Kali Linux color scheme to iconic Kali Blue (#0080ff)
  • Fixed PowerShell prompt compatibility for both Windows PowerShell 5.1 and PowerShell 7+
  • Removed non-standard labels ((styled session) and Real shell session.) for a clean presentation
  • Git repository setup and initial push to GitHub

๐Ÿ”ฎ Upcoming Updates (Roadmap)

  • Improving the pwsh logo: Design a higher-fidelity, dedicated PowerShell ASCII art logo
  • Custom Username & Hostname Configuration: Allow users to specify custom user/host strings (e.g. yourname@kali)
  • Additional Linux Distros: Add support for Void Linux, Gentoo, NixOS, Manjaro, and Pop!_OS
  • Custom Shell Selector: Option to launch Git Bash, Zsh, or WSL from within the styled harness
  • Persistent User Preferences: Save favorite OS theme to automatically boot into on launch

๐Ÿ“„ License

This project is licensed under the MIT License.


Made with โค๏ธ by QuantumTechCoder

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages