A hybrid shell built with C and Python that provides a rich terminal experience. Goodshell supports standard Windows terminal commands and also includes a set of custom commands.
- Hybrid Shell: Core functionality is built with C, while custom commands are powered by Python.
- Windows Command Support: Execute standard Windows terminal commands directly within Goodshell.
- Custom Commands: A unique set of commands to enhance your shell experience.
- Rich Output: Utilizes the
richlibrary in Python for styled and colorful output.
joke: Fetches and displays a random joke to lighten your mood.roastme: Roasts you with a random insult (Note: may contain offensive language).curhealth: Checks and displays the current system health, including memory usage and the number of running processes.qorquit: Exits the Goodshell.
Before you begin, ensure you have the following installed:
- A C/C++ Compiler (e.g., GCC, or the compiler included with Visual Studio)
- CMake (version 3.21 or higher)
- Python
pip(Python package installer)
-
Clone the repository:
git clone <repository-url> cd goodshell
-
Install Python dependencies:
pip install -r requirements.txt
-
Build the C code with CMake:
mkdir build cd build cmake .. cmake --build .
-
Run Goodshell: After a successful build, the executable will be located in the
build/Debugorbuilddirectory../goodshell.exe
Once Goodshell is running, you can type any of the custom commands or standard Windows commands and press Enter.