Skip to content
TA-SoftiesPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

ย 

History

28 Commits

Folders and files

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

Repository files navigation

MTCP - Multi-Tool Control Panel

by Technical Assistants

A modern Python Textual TUI for Windows system administration. Features a rich terminal interface with live system monitoring, categorized tools, and Deep Freeze integration.

Version Python Platform License

๐Ÿš€ Quick Start

Option 1: Download Release (Recommended)

# Download MTCP.exe from GitHub Releases
# Run as Administrator

Option 2: Run from Source

# Clone repository
git clone https://github.com/TA-Softies/mtcp.git
cd mtcp/ROOT

# Run launcher (handles everything automatically)
.\Launch.ps1

The launcher will:

  1. Check for MTCP.exe โ†’ run directly
  2. Download latest release from GitHub
  3. Fall back to Python mode (creates venv, installs dependencies)

โœจ Key Features

๐Ÿ“Š Real-Time Dashboard

  • System info: hostname, domain, model, Windows version
  • Network status: WiFi/Ethernet, IP address, connectivity
  • Deep Freeze status: FROZEN/THAWED/Not Installed
  • Boot time and uptime tracking

๐Ÿ“ˆ Live Monitoring Panel

  • CPU usage percentage
  • RAM usage (used/total GB)
  • Disk usage (used/total GB)
  • Network connectivity status

๐Ÿ› ๏ธ Tool Categories

Category Tools
Troubleshooting SFC, DISM, Event Viewer, Check Disk, Network diagnostics
Maintenance Disk cleanup, Windows Update, System optimization
System Tools Advanced utilities, PowerShell scripts

โ„๏ธ Deep Freeze Integration

  • Automatic status detection via DFC.exe
  • Quick toggle with hotkey [D]
  • Supports FROZEN โ†” THAWED states
  • Password-protected operations

๐Ÿ”„ Auto-Update System

  • Downloads from GitHub Releases
  • Standalone .exe distribution
  • Background update checks

๐Ÿ“‹ System Requirements

  • OS: Windows 10 or Windows 11
  • Python: 3.10 or higher (auto-installed by launcher if missing)
  • Privileges: Administrator rights required
  • Internet: Optional (required for updates/release download)

๐Ÿ“ฆ Installation

Standalone Executable

  1. Download MTCP.exe from GitHub Releases
  2. Place in ROOT/ folder alongside sfu-tools/
  3. Run as Administrator

From Source

cd ROOT
.\Launch.ps1  # Handles venv creation and dependencies

Manual Python Setup

cd ROOT
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r mtcp/requirements.txt
python -m mtcp

๐ŸŽฎ Usage

Keyboard Controls

Key Action
โ†‘ / โ†“ Navigate menu items
Enter / โ†’ Select/Execute
Esc / โ† Go back
W Quick wallpaper change
D Toggle Deep Freeze
/ Command mode
F1 Help screen
Q / E Exit

Commands (Press /)

Command Action
/help Show help screen
/credits Show credits
/debug Debug information
/update Check for updates
/exit Exit application

Navigation Flow

Main Menu
  โ”œโ”€ [CAT] Troubleshooting
  โ”‚    โ”œโ”€ [SUB] System
  โ”‚    โ”‚    โ””โ”€ System File Checker
  โ”‚    โ”œโ”€ [SUB] Disk
  โ”‚    โ””โ”€ [SUB] Network
  โ”œโ”€ [CAT] Maintenance
  โ””โ”€ [CAT] System Tools

โš™๏ธ Configuration

Edit ROOT/sfu-tools/config.json to customize tools and categories.

Adding Custom Tools

  1. Create your PowerShell script in ROOT/sfu-tools/

    # My-CustomTool.ps1
    Write-Host "Running custom tool..." -ForegroundColor Green
  2. Add to config.json:

    {
        "name": "My Custom Tool",
        "description": "What it does",
        "command": "& '$PSScriptRoot\\sfu-tools\\My-CustomTool.ps1'"
    }
  3. Restart MTCP to see your new tool

๐Ÿ”ง Advanced Features

Deep Freeze Management

MTCP integrates with Faronics Deep Freeze:

  • Automatic status detection via DFC.exe
  • Toggle states: FROZEN โ†” THAWED
  • Dedicated screen with Y/N/Esc controls
  • Supports DFC commands:
    • /BOOTFROZEN - Restart frozen
    • /BOOTTHAWED - Restart thawed

Building from Source

cd ROOT
pip install pyinstaller
pyinstaller mtcp.spec --noconfirm
# Output: dist/MTCP.exe

๐Ÿ“ Project Structure

SFU-TOOLS/                         # Git repository root
โ”œโ”€โ”€ .github/workflows/build.yml    # CI/CD workflow
โ”œโ”€โ”€ .gitignore                     # Git exclusions
โ”œโ”€โ”€ README.md                      # This file
โ”œโ”€โ”€ LICENSE                        # MIT License
โ””โ”€โ”€ ROOT/                          # MTCP application
    โ”œโ”€โ”€ Launch.ps1                 # Smart launcher
    โ”œโ”€โ”€ mtcp.spec                  # PyInstaller spec
    โ”œโ”€โ”€ mtcp/                      # Python package
    โ”‚   โ”œโ”€โ”€ __main__.py            # Entry point
    โ”‚   โ”œโ”€โ”€ app.py                 # Main Textual app
    โ”‚   โ”œโ”€โ”€ screens.py             # Modal screens
    โ”‚   โ”œโ”€โ”€ sysinfo.py             # System info (WMI)
    โ”‚   โ”œโ”€โ”€ tools.py               # Tool execution
    โ”‚   โ”œโ”€โ”€ theme.tcss             # CSS theme
    โ”‚   โ”œโ”€โ”€ requirements.txt       # Dependencies
    โ”‚   โ””โ”€โ”€ icons/                 # App icons
    โ””โ”€โ”€ sfu-tools/                 # Tool scripts
        โ”œโ”€โ”€ config.json            # Configuration
        โ”œโ”€โ”€ Toggle-DeepFreeze.ps1  # DF toggle
        โ”œโ”€โ”€ Invoke-CheckDisk.ps1   # Disk checker
        โ””โ”€โ”€ [custom scripts...]    # Your tools

๐Ÿ›ก๏ธ Security Notes

  • Requires administrator privileges
  • WMI used for system information
  • No credential persistence
  • Releases distributed via GitHub

๐Ÿ› Troubleshooting

Common Issues

"Script cannot be loaded"

# Run as Administrator:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process

Deep Freeze status shows "Not Installed"

  • Check if C:\Windows\SysWOW64\DFC.exe exists
  • Verify Deep Freeze is properly installed

Python not found

  • Run Launch.ps1 - it will auto-install Python 3.12
  • Or manually install from python.org

Window rendering issues

  • Use Windows Terminal for best results
  • Ensure terminal supports UTF-8

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

Development Setup

cd ROOT
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r mtcp/requirements.txt
pip install pyinstaller  # For building
python -m mtcp  # Run from source

๐Ÿ“ Changelog

Version 0.3.1

  • Migrated from PowerShell to Python Textual TUI
  • Added live monitoring panel (CPU, RAM, Disk, Network)
  • Modern terminal UI with CSS theming
  • Standalone .exe distribution via PyInstaller
  • GitHub Actions CI/CD for automated builds
  • Smart launcher with release download

Version 0.1.0 (Legacy)

  • Initial PowerShell-based release
  • Interactive menu interface
  • Deep Freeze integration
  • Auto-update system

๐Ÿ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ‘ฅ Authors

Technical Assistants - A Simon Fraser University Student Organization

  • Meesum Ahmed - Lead Developer
  • TA-Softies Team - Contributors and Maintainers

๐Ÿ”— Links

๐Ÿ“ง Support

For support, please:

  1. Check the Troubleshooting section
  2. Search existing Issues
  3. Create a new issue with detailed information

โญ Show Your Support

If you find this project useful, please consider giving it a star on GitHub!


Made with โค๏ธ by Technical Assistants

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages