← Back

🚀 ShutItDown – Remote PC Shutdown Application

Used Technologies

  • Python
  • Flask (for creating the local web server)
  • CustomTkinter (for a modern graphical user interface)
  • Pystray (to minimize the app into the Windows system tray)
  • Socket programming (for automatic local IP detection)

Project Explanation

I built ShutItDown to make shutting down your computer remotely easy and convenient. The app runs on your Windows PC and provides a clean, modern UI where you can start and stop a small local web server with a single click.

How it works (step-by-step):

  • Local Web Server (Flask): The app starts a simple web server using Flask that listens on your local network.
  • Remote Shutdown via URL: The Flask server provides a special link (e.g., http://[your-IP]:5050/shutdown) that you can open from any device on your network to trigger an immediate shutdown.
  • Automatic IP detection (Sockets): The app automatically detects your computer’s IP address using Python's socket library.
  • Modern UI (CustomTkinter): The graphical interface built with CustomTkinter clearly shows the server status and provides simple controls.
  • System Tray Integration (Pystray): When minimized, the app hides in the Windows system tray, keeping your taskbar uncluttered.

Future Plans

Future improvements include adding password protection for enhanced security and additional functionalities like remote restart or sleep mode.

🔗 View the project on GitHub

©2025 Mehdi Oulad Khlie