Skip to content

LordKa-Berlin/forge_launcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”ฅ Forge Launcher

๐Ÿ“‹ Description

The Forge Launcher is a GUI-based utility that allows you to easily manage your local FORGE / Stable Diffusion WebUI instance.

It provides a convenient interface to:

  • โœ… Start, Stop, and Restart the run.bat/webui-user.bat
  • โœ… Automatically monitor Forge-related processes (CMD and Python)
  • โœ… Display current RAM and VRAM usage
  • โœ… Minimize to System Tray and restore
  • โœ… Auto-restart Forge if it crashes
  • โœ… Remember the last selected .bat file location (via forge_config.json)
  • โœ… Includes an English UI with a modern dark theme

๐Ÿ“ฆ Installation

pip install tkinterdnd2 Pillow screeninfo send2trash piexif psutil pystray

๐Ÿ’ก Note:
All required Python packages are automatically checked and installed at runtime.
Manual installation is optional if you prefer setting them up beforehand.


๐Ÿš€ Features

Feature Description
๐Ÿ” Start/Stop/Restart Controls the webui-user.bat directly
๐Ÿง  Process Monitoring Detects and tracks Python/CMD processes
๐Ÿ–ฅ RAM Usage Real-time total RAM usage for active Forge processes
๐ŸŽฎ VRAM Usage Uses nvidia-smi to show GPU memory usage
๐Ÿ”„ Auto-Restart If Forge crashes, it restarts automatically if enabled
๐Ÿงฐ Config Saving Remembers last used .bat location in forge_config.json
๐Ÿงณ Minimize to Tray Closes window but keeps launcher active in tray

๐Ÿ–ผ UI Preview

ForgeLauncher GUI


โš™ Configuration

The config file is stored as:

forge_config.json

It holds the path to your Forge installation folder. You can change it via the "Select Start BAT" button in the GUI.


๐Ÿ’ป How to Use

  1. Launch the script:
    python ForgeLauncher.py
  2. Click Start to launch your Forge instance.
  3. Use Stop or Restart as needed.
  4. Check RAM/VRAM usage top right.
  5. Use Minimize to Tray to hide the window.
  6. Enable Auto-Restart for automatic recovery.

๐Ÿง‘โ€๐Ÿ’ป Author

LordKa-Berlin
GitHub Profile
Design & Development: GUI automation & SD integration tools


๐Ÿ“œ License

This project is released under the Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license.

About

๐Ÿ”ฅ Forge Launcher: GUI tool to manage Stable Diffusion FORGE (Start/Stop/Restart, RAM/VRAM, Tray, Auto-Restart)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages