Skip to content

HashedViking/remote-diffusion-server

Repository files navigation

Project logo

Remote Diffusion Server

Status GitHub License Linux CC BY-NC-ND 4.0


Backend for Remote Diffusion

📖 Table of Contents

🧐 About

Remote Diffusion backend server. This server manages multiple connections. If you need just a one-click tunnel to your local Stable Diffusion Web UI check out the Client.

🚀 Deployment

Tested on Ubuntu 22.04

Update apt

sudo apt update
sudo apt upgrade

Install go

sudo apt install golang-go

Install Nginx

sudo apt install nginx

Install PostgreSQL

sudo apt install postgresql
sudo systemctl start postgresql
sudo systemctl status postgresql

Download the backend

git clone https://github.com/HashedViking/remote-diffusion-server

Build

cd remote-diffusion-server
go build remote-diffusion-server

Run

./remote-diffusion-server

Setup Nginx reloading script

sudo chmod -R 755 reload_nginx.sh

Run the binary as background job and collect logs.

nohup ./remote-diffusion-server > output.log &

Find the running process

lsof -i :8080 | grep remote

📝 TODO

  • Add Nginx, Certbot, PostgreSQL configuration steps.
  • Explain in-depth how the system works.
  • Dockerize.
  • Add Monitoring.
  • Stream SDWebUI console output.

⛏️ Built Using

✍️ Authors

About

Remote Diffusion backend server

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE-CC-BY-NC-ND

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published