Skip to content

Easy to use bash suite for getting SD-WebUI up and running on Linux, focused on Runpod cloud pods.

License

Notifications You must be signed in to change notification settings

OctagonalHexy/sd-webui-bash-suite

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

41 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“” Arkitecc's Stable Diffusion WebUI Bash Suite πŸ“”

I've added a complete walkthrough for how to set all of this up to my main installation guide over at πŸ“”Stable Diffusion Local Install GuideπŸ“”!

Hi hi everyone! I'm back at it again, this time with a sick set of bash scripts for managing AUTOMATIC1111's SD-WebUI!

I created this suite of bash scripts to assist people in getting SD-WebUI installed on the Runpod cloud with a single web terminal command, and additional scripts to assist with easy management of SD-WebUI post-installation.

If you'd like to support me and my work, please consider dropping by my Ko-Fi or signing up for Runpod using this link: Arki's Easy SD-WebUI it includes my template which will automatically have these scripts included on your Linux pod on boot.

IMPORTANT: Each script will require you to enter 'chmod +x scriptname.sh && bash scriptname.sh' (without apostrophes) into the web console the first time that you use them. CTRL + SHIFT + V is how you paste into the web console.

This gives Linux the proper permission to run my scripts before executing the scripts for the first time. Afterward, you can run them simply with 'bash scriptname.sh'.

If you need to get into the desktop environment to set up cloud storage for your images, or to debug anything, go into your Connect settings on Runpod (all pods except A100 due to lack of display support) and plug in the IP address, a colon, and then the external port number into your browser.

When prompted use the S/N "user" with Password "stablediff" (unless you've changed it in the template settings).

I recommend backing up the whole /stable-diffusion-webui/outputs/ folder to be sure you have all of your art. Dragging and dropping this folder into a cloud storage provider to update it after each session is recommended. Guide on how to set up Google Drive automatic art backups can be found here.

Note: My scripts pull live from the latest repository updates on Github, there may occasionally be breaking changes, I’ll try to occasionally check for these and update the scripts / template where I have the ability to.

Scripts Included:

πŸ“” ArkiSDA-I.sh

The big boi. With a single line entered into the web console this bad boi will do literally everything for you, including giving you a link at the end that will allow you to use SD-WebUI's frontend from your local pc.

Keep the tab with this web terminal open while you're using or running your pod for the first time. Duplicate the tab if you'd like to run the other scripts as I've detailed them below.

Initialize it with 'chmod +x ArkiSDA-I.sh && bash ArkiSDA-I.sh'.

It'll ask you for a direct link to your model file, I recommend using Dropbox for this.

Link Format: https://dl.dropboxusercontent.com/s/fileidhere/model.ckpt Replace 'fileidhere' with the string of letters and numbers Dropbox gives you with your shared link to your model.ckpt file.

πŸ“” ArkiSDA-R.sh

After installing and running for the first time, you won't need to run the install script again. Instead, run this script to get started the next time you need to start up SD-WebUI. If your interface ever stops working for you, press CTRL-C inside of the console and initialize this script again.

Initialize it with 'chmod +x ArkiSDA-R.sh && bash ArkiSDA-R.sh'.

πŸ“” ArkiSDA-RT.sh

For AUTOMATIC1111's SD-WebUI this will launch SD with the Textual Inversion support enabled.

Initialize it with 'chmod +x ArkiSDA-RT.sh && bash ArkiSDA-RT.sh'.

πŸ“” ArkiSDA-U.sh

If you'd like to stay up to date, run this script to pull the latest changes.

Initialize it with 'chmod +x ArkiSDA-U.sh && bash ArkiSDA-U.sh'.

Shout out to AUTOMATIC1111, for their awesome work on SD-WebUI, please go support them!

Shout out to Joe Penna for the initial inspiration and teaching me a bit about Bash!

About

Easy to use bash suite for getting SD-WebUI up and running on Linux, focused on Runpod cloud pods.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%