An open API service indexing awesome lists of open source software.

https://github.com/merserk/sd-webui-forge-universal-portable

Install and run SD Classic and Neo Portable.
https://github.com/merserk/sd-webui-forge-universal-portable

stable-diffusion stable-diffusion-webui stable-diffusion-webui-forge

Last synced: 4 months ago
JSON representation

Install and run SD Classic and Neo Portable.

Awesome Lists containing this project

README

          

# โšก SD WebUI Forge - Universal Portable Installer

[![Windows](https://img.shields.io/badge/Platform-Windows-0078D6?style=flat-square&logo=windows)](https://www.microsoft.com/windows)
[![Python](https://img.shields.io/badge/Python-3.13.12-3776AB?style=flat-square&logo=python)](https://www.python.org/)
[![UV](https://img.shields.io/badge/Powered%20By-UV-purple?style=flat-square&logo=python)](https://github.com/astral-sh/uv)
[![Git](https://img.shields.io/badge/Git-Portable-F05032?style=flat-square&logo=git)](https://git-scm.com/)

A lightning-fast, zero-dependency, **fully portable** installer for [SD WebUI Forge](https://github.com/Haoming02/sd-webui-forge-classic).

This script allows you to choose between the **Classic** (Stable) and **Neo** (Experimental) branches. It sets up a self-contained environment using **UV**, making installation and updates significantly faster than standard methods.

## โœจ Features

* **๐ŸŒ Universal:** Choose to install **Forge Classic** or **Forge Neo** from a simple menu.
* **โšก Ultra-Fast:** Uses [uv](https://github.com/astral-sh/uv) for package management, drastically reducing install times.
* **๐Ÿ“ฆ Fully Portable:** Includes Embedded Python 3.13 and MinGit. No global installation required.
* **๐Ÿ”ง Auto-Fixes:** Automatically installs pre-compiled `insightface` wheels for Classic (fixing common installation errors).
* **๐Ÿงน Smart Cleanup:** Automatically removes temporary setup files after installation to keep your folder clean.

## ๐Ÿ› ๏ธ Installation Guide

1. **Download** the `install_forge_universal.bat` file.
2. **Place it** in a folder where you want the installation to live (e.g., `C:\AI\`).
* *Tip: Avoid placing it in deeply nested folders to prevent path length limits.*
3. **Double-click** the script.
4. **Select your Edition:**
* Press **[1]** for **Neo** (Newest features, experimental).
* Press **[2]** for **Classic** (Stable, traditional).
5. Wait for the installer to finish.

> **Note:** You can run the installer again to install the *other* version side-by-side in the same folder!

## ๐ŸŽฎ How to Use

Depending on which version you selected, you will see specific launch files:

### For Forge Neo:
* **`run_neo.bat`**: Starts the WebUI.
* **`update_neo.bat`**: Updates the repository and packages.

### For Forge Classic:
* **`run_classic.bat`**: Starts the WebUI.
* **`update_classic.bat`**: Updates the repository and packages.

## ๐Ÿ“‚ Directory Structure

Your folder will look like this (example showing both installed):

```text
MyFolder/
โ”œโ”€โ”€ sd-webui-forge-neo/ # Neo Edition Folder
โ”œโ”€โ”€ sd-webui-forge-classic/ # Classic Edition Folder
โ”‚
โ”œโ”€โ”€ install_forge_universal.bat
โ”‚
โ”œโ”€โ”€ run_neo.bat # Launcher for Neo
โ”œโ”€โ”€ update_neo.bat # Updater for Neo
โ”‚
โ”œโ”€โ”€ run_classic.bat # Launcher for Classic
โ””โ”€โ”€ update_classic.bat # Updater for Classic
```

## ๐Ÿค Credits

* **SD WebUI Forge:** Maintained by [Haoming02](https://github.com/Haoming02/sd-webui-forge-classic).
* **UV:** High-performance Python package installer by [Astral](https://github.com/astral-sh/uv).
* **InsightFace Wheels:** Provided by [Gourieff](https://github.com/Gourieff/Assets).
* **Original Projects:** Based on SD WebUI by Automatic1111 and Forge by lllyasviel.

---
*If you find this useful, give the repository a star! โญ*