Skip to content

Latest commit

 

History

History
306 lines (200 loc) · 6.15 KB

File metadata and controls

306 lines (200 loc) · 6.15 KB

🚀 LDcmd (LegendDaD's Command prompt )

A Modern, Theme-Aware Windows Command Prompt Wrapper

Transform the classic Windows CMD into a beautiful, interactive terminal with customizable themes, PTY support, command history, tab completion, and a polished developer experience.


Python PyQt6 Windows License Stars Issues


✨ Overview

LDcmd is a modern desktop wrapper around the Windows Command Prompt built with PyQt6.

Instead of using the plain black CMD window, LDcmd provides a beautiful interface featuring multiple themes, interactive command execution, PTY support, command history, tab completion, custom built-in commands, and a polished developer-focused experience.


📸 Features

🎨 Beautiful Themes

Switch themes instantly with:

ldcmd theme <theme-name>

Available themes:

Theme Description
🌙 Dark Clean modern dark theme
☀️ Light Bright and professional
🔮 Glassmorphism Frosted-glass futuristic look
💻 DevCore GitHub-inspired developer theme
🌈 Cyberpunk Neon futuristic terminal

🖼️ Theme Showcase

🌙 Dark

Modern and clean daily-driver theme :

ldcmd_dark

☀️ Light

Professional light-mode experience:

ldcmd_light

🔮 Glassmorphism

Blur-inspired futuristic interface :

ldcmd_glassmorphism

💻 DevCore

GitHub-inspired developer workspace :

ldcmd_devcore

🌈 Cyberpunk

Neon aesthetics with glowing accents :

ldcmd_cyberpunk

⚡ Interactive Terminal

  • Real-time command execution
  • Interactive PTY support
  • Supports CLI applications
  • Supports keyboard-driven programs
  • Instant key forwarding

⌨️ Smart Input

  • Command history navigation
  • Tab completion
  • Multi-directory support
  • Built-in directory navigation
  • Quick terminal restart

🛑 Process Control

  • Stop running processes
  • Ctrl+C emulation
  • Force kill support
  • Process state indicators

📋 Better Output

  • ANSI cleanup
  • Clean rendering
  • Select and copy text
  • Auto-scroll
  • Rich terminal display

🖥️ Modern Window

  • Custom title bar
  • Frameless design
  • Window dragging
  • Resize support
  • Minimize / Maximize controls

🎯 Built-in Commands

General

ldcmd
ldcmd info
ldcmd version
ldcmd help

Themes

ldcmd theme
ldcmd theme dark
ldcmd theme light
ldcmd theme glassmorphism
ldcmd theme devcore
ldcmd theme cyberpunk

Navigation

ldcmd pwd
ldcmd cd <path>

Terminal

ldcmd cls
ldcmd clear
ldcmd restart

🚀 Installation

Download .exe(Recommended option)

Go to Releases and Download the executable LDcmd.exe from their .

If Microsoft Windows Defender blocks the LDcmd.exe from being executed select the "run anyway" or change properties to execute LDcmd.

Clone Repository

git clone https://github.com/LegedsDaD/LDcmd.git
cd LDcmd

Install Dependencies

pip install PyQt6 pywinpty

Run

python ldcmd.py

📦 Building an Executable

Using PyInstaller:

pip install pyinstaller
pyinstaller --onefile --windowed ldcmd.py

Output:

dist/
└── LDcmd.exe

Users do not need Python installed when using the generated executable.


⌨️ Keyboard Shortcuts

Shortcut Action
Enter Execute command
Tab Auto-complete
Previous command
Next command
Ctrl + L Clear screen
Ctrl + C Interrupt process
Esc Stop running process
Ctrl + A Select all output

🏗️ Architecture

┌─────────────────────────┐
│        LDcmd UI         │
├─────────────────────────┤
│        PyQt6 GUI        │
├─────────────────────────┤
│   PTY / Subprocess API  │
├─────────────────────────┤
│     Windows CMD.exe     │
└─────────────────────────┘

🔧 Technologies

  • Python
  • PyQt6
  • pywinpty
  • Windows Command Prompt
  • QProcess
  • Native Windows APIs

🌟 Why LDcmd?

✅ Beautiful modern interface

✅ Interactive PTY support

✅ Multiple built-in themes

✅ Smart command handling

✅ Fully standalone executable

✅ Lightweight and fast

✅ Familiar CMD workflow


🤝 Contributing

Contributions are welcome.

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Open a Pull Request

📄 License

This project is licensed under the MIT License.


⭐ If you like LDcmd, consider starring the repository!

Built with ❤️ using Python & PyQt6 by @LegedsDaD