Aspirers cmd
AspirersCMD: Reimagining the Windows Terminal with Python
A standalone, portable Windows executable that brings context-aware autocompletion and asynchronous system profiling to the classic Command Prompt.
The standard Windows Command Prompt is functional, but it is stuck in the past. It requires you to memorize obscure command flags and lacks modern quality-of-life features. I wanted to change that, so I built AspirersCMD from scratch using Python.
It bridges the gap between a traditional shell and a modern IDE. There are no accounts, no telemetry, and no unnecessary bloat. Just raw power wrapped in a sleek, dark interface.
Core Technical Features
1. Context-Aware Autocompletion
The autocompletion engine doesn't just search for text; it analyzes the syntax of your command in real-time.
- Command Prediction: Type
netand it instantly suggestsuser,share,start, orstop. - Flag Prediction: Type
ipconfig /and it knows you need flags, suggesting/all,/release, or/flushdns. - Smart Floating UI: The suggestion box tracks your typing cursor. If you are near the bottom of the screen, it dynamically renders above your text so it never gets cut off.
- Controls: Navigate suggestions using the Up and Down arrow keys, and press Tab to autocomplete.
2. Asynchronous System Profiling
You don't have to wait for the terminal to load. The UI appears instantly. While you start typing, background threads silently run wmic and ipconfig /all to extract your CPU model, RAM size, and network configuration. This data is seamlessly aligned to the right margin of the terminal, loading in milliseconds without freezing the interface.
3. True CMD Emulation
Unlike other emulators, AspirersCMD enforces the rules of a real terminal:
- Locked Cursor: You cannot click back and edit previous commands. The cursor is strictly locked to the active prompt.
- Native History: Use the Up and Down arrows to cycle through your executed commands.
- Silent Execution: Commands are executed using Python's
subprocessmodule with hidden window flags, preventing ugly black CMD boxes from flashing on your screen.
Under the Hood
The entire project is built on standard Python libraries. The UI is powered by tkinter, utilizing custom text tags to simulate syntax highlighting. The floating autocomplete menu uses an overridden Toplevel window to track the cursor's absolute position. System profiling is handled via threading.Thread, ensuring the main event loop remains completely unblocked.
# Compile the source code into a standalone .exe
pip install pyinstaller
python -m PyInstaller --noconsole --onefile --name "AspirersCMD" main.py
Download and Run
The application is compiled into a portable Windows executable. You do not need Python installed to use it.
Because the executable is compiled using PyInstaller and lacks a corporate digital signature, Windows SmartScreen might flag it as an unknown application. This is a standard false positive. Simply click on "More info" and then "Run anyway".
The project is fully open-source (MIT License). You can view the code, report issues, or contribute to the command dictionary on GitHub.