██████╗ ██████╗ ██████╗ ███████╗ ███████╗██╗ ██╗███████╗██╗ ██╗
██╔══██╗██╔═══██╗██╔══██╗██╔════╝ ██╔════╝██║ ██║██╔════╝██║ ██║
██║ ██║██║ ██║██████╔╝█████╗ ███████╗███████║█████╗ ██║ ██║
██║ ██║██║ ██║██╔═══╝ ██╔══╝ ╚════██║██╔══██║██╔══╝ ██║ ██║
██████╔╝╚██████╔╝██║ ███████╗ ███████║██║ ██║███████╗███████╗███████╗
╚═════╝ ╚═════╝ ╚═╝ ╚══════╝ ╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝
DopeShell is a lightweight, custom shell implementation written in Python that provides essential file system operations with a sleek interface. Built with extensibility in mind, it features a modular component architecture and cross-platform compatibility for both Windows and Linux systems.
- 🖥️ Cross-Platform - Works seamlessly on Windows and Linux
- 🏗️ Modular Design - Clean separation with engine/components structure
- 🎨 Custom Commands - Intuitive command names for common operations
- 🔧 Extensible - Easy to add new commands via component system
- ⚡ Lightweight - Minimal dependencies, maximum performance
You can easily install DopeShell using pip:
pip install dopeshell-cliBefore running dopeshell from anywhere in your terminal, ensure that the Python Scripts directory is added to your system’s PATH.
-
Find your Scripts path:
It's usually one of:C:\Users\<YourUsername>\AppData\Local\Programs\Python\Python<version>\Scripts- Or run this in Command Prompt to find it:
Add
python -m site --user-base
\Scriptsat the end of the printed path.
-
Add to PATH:
- Search for "Environment Variables" in the Start menu.
- Click "Environment Variables".
- Under "User variables", select
Path, then click "Edit". - Click "New" and paste your Scripts path.
- Click OK to close all dialogs.
-
Restart your terminal for changes to take effect.
-
Open your terminal.
-
Find your Python scripts path by running:
python3 -m site --user-base
The Scripts path will be:
<the above path>/bin -
Add it to your
PATH. For example, if your scripts are in~/.local/bin:echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc source ~/.bashrc
For zsh, replace
.bashrcwith.zshrc. -
Verify:
which dopeshell
It should show the path if installed and set correctly.
Now you can run:
dopeshellfrom anywhere in your terminal.
-
Clone the repository
git clone https://github.com/muhammadhaseebiqbal-dev/dopeshell.git cd dopeshell -
Install dependencies
pip install . -
Run DopeShell
dopeshell
| Command | Format | Description |
|---|---|---|
ld |
ld |
List all files and folders in the current directory |
sd |
sd <path> |
Change directory to the specified path (relative or absolute) |
wd |
wd |
Display the current working directory path |
whoami |
whoami |
Display the current user account name |
wipe |
wipe |
Clear the console screen |
halt |
halt |
Exit and terminate the current shell session |
| Command | Format | Description |
|---|---|---|
proc |
proc <file> |
Read and display file contents |
proc |
proc -n <file> |
Read file with line numbers |
proc |
proc <file1> <file2> >>> <output> |
Concatenate multiple files into one |
proc |
proc > <file> |
Write user input to a file (overwrite) |
proc |
proc >> <file> |
Append user input to a file |
| Command | Format | Description |
|---|---|---|
cpy |
cpy <source> <destination> |
Copy file or directory from source to destination |
mov |
mov <source> <destination> |
Move file or directory from source to destination |
rn |
rn <old_name> <new_name> |
Rename files or folders |
snap |
snap <path> |
Delete files or directories |
| Command | Format | Description |
|---|---|---|
ping |
ping <host> |
Test network connectivity to a host |
curl |
curl <url> |
Fetch and display content from a URL |
dsp |
dsp <url> |
Download file from URL (DopeShell Package Manager) |
| Command | Format | Description |
|---|---|---|
--helpme |
--helpme |
Display list of all supported commands |
# Navigate to a directory
sd Documents
# List files
ld
# Read a file
proc myfile.txt
# Copy a file
cpy file.txt backup/file.txt
# Move a file
mov file.txt documents/file.txt
# Rename a file
rn oldname.txt newname.txt
# Delete a file
snap unwanted.txt
# Check network connectivity
ping google.com
# Download a file
dsp https://example.com/file.zipWant to contribute? Check out our CONTRIBUTING.md for guidelines on how to help improve DopeShell!
This project is licensed under the MIT License - see the LICENSE file for details.
Muhammad Haseeb Iqbal
GitHub: @muhammadhaseebiqbal-dev