Skip to content

A desktop tool to install stable diffusion webui and chat with it

License

Notifications You must be signed in to change notification settings

aleSheng/sdchat

Repository files navigation

Stable Diffusion Chat - a desktop tool to install stable diffusion webui and chat with it

SD Chat is a helper app for setting up stable diffusion WebUI and Llama on your own computer. It's inspired by Diffusion Chat It's created from Tauri + Next.js Template.

English | 简体中文

Features

  1. Check hardware conditions and show stats
  2. Install requirements and start WebUI with 1-click
  3. Pytorch 2.0
  4. Save your prompts
  5. Made with Rust and Nextjs and Typescript and TailwindCSS
  6. Multiple themes by DaisyUI
  7. Sidecar with Llama.cpp main executable

Usage

  1. Download the sdchat.msi from Releases and install it on Windows
  2. On the Quick Start, select the folder which is the stable diffusion WebUI located.
  3. Click Start WebUI button, and wait for it finishing running.
  4. If no error, the WebUI should be up and running, then click the Open WebUI button.
  5. Or, you click WebUI menu on the right sidebar.
  6. Click Chat menu, type to Chat with stable diffusion.

Screenshots

Screenshot Screenshot Screenshot Screenshot

Known Issues

  • Encoding problem When Chat with Llama. Calling for help!
  • Only support Windows 10/11 with Nvidia GPU for now

Todos

  • Openai API
  • Manage your models
  • Prompts Gallery
  • Configurations
  • AMD GPU
  • MAC
  • Linux

Tauri + Next.js Template

Tauri window screenshot

This is a Tauri project template using Next.js, bootstrapped by combining create-next-app and create tauri-app.

This template uses pnpm as the Node.js dependency manager.

Getting Started for development

Running development server and use Tauri window

After cloning for the first time, set up git pre-commit hooks:

pnpm prepare

To develop and run the frontend in a Tauri window:

pnpm dev

This will load the Next.js frontend directly in a Tauri webview window, in addition to starting a development server on localhost:3000.

Building for release

To export the Next.js frontend via SSG and build the Tauri application for release:

pnpm build

Please remember to change the bundle identifier in tauri.conf.json > tauri > bundle > identifier, as the default value will yield an error that prevents you from building the application for release.

Source structure

Next.js frontend source files are located in src/ and Tauri Rust application source files are located in src-tauri/. Please consult the Next.js and Tauri documentation respectively for questions pertaining to either technology.

About

A desktop tool to install stable diffusion webui and chat with it

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages