daveschumaker/artbot-for-stable-diffusion
Acerca de
A front-end GUI for interacting with the AI Horde / Stable Diffusion distributed cluster
Desarrollo web y de aplicacionesCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalArtBot for Stable Diffusion

See it in action: https://tinybots.net/artbot
Table of Contents
Intro
ArtBot is an unofficial front-end web client designed for interacting with the AI Horde (formerly Stable Horde) distributed cluster -- a group of GPUs running Stable Diffusion image generation models whose processing time has been kindly donated by an enthusiastic community of volunteers.
ArtBot is built using Next.js 16 and Typescript. It with was created as a side project in order to experiment with various client-side technologies, such as IndexedDB and LocalStorage APIs. These APIs allow you to securely and privately store the AI generated images you've created with the cluster within your own browser.
The UI components are custom built using a combination of Styled Components and Tailwind CSS, with more recent efforts strictly focused on using Tailwind CSS. The long term goal is to completely remove Styled Components from the code base.
ArtBot makes use of icons from Tabler.
Setup
Requirements
- Node.js 26.13.1 LTS (Lithium), pinned in
.nvmrc, Docker, CI and the production PM2 configuration. The supported engine range is^26.13.1. - npm 11.20.0 or later; Node 26.13.1 bundles npm 11.20.0. Use
npm ciwith the committed version-3 lockfile.
This is the current LTS release as of 2026-11-11. Keep the pinned development, CI, container and PM2 versions aligned when updating the runtime.
Most of these steps should be applicable to Linux / MacOS / Windows environments.
Installing various versions of Node.js on your machine can be tricky. I am a big fan of nvm, which allows you to run multiple isolated versions of Node.js on your machine with ease.
Using nvm, you can install Node like this:
> nvm install
> nvm use
Installing
Once you have your Node.js environment setup, you can clone this repository and install the required packages. Depending on the specs of your machine and speed of your internet connection, installing all packages may take a minute or two.
> git clone https://github.com/daveschumaker/artbot-for-stable-diffusion
> cd artbot-for-stable-diffusion
> npm ci
Environmental variables
A .env file in the root of the project is optional. The code base references a few environmental variables in various places. These are generally endpoints for messaging, telemetry services that I run, or local data storage related to model counts and image generation totals.
Usage
Development
Alright, you should now be able to run the ArtBot web app! To run in development mode (which uses NextJS's hot reloading feature -- where you can see updates live on the site as you make changes)
> npm run dev
Then, open your browser and visit http://localhost:3000, you should now be able to immediately make image requests to the Stable Horde. Head over to http://localhost:3000/artbot/settings and enter your Stable Horde API key for faster generation times.
Production
If you want to run this in a production type of environment, you'll first need to kick off a build and then run as you normally would run a Node.JS app.
> npm run build
> npm run start
npm run start uses whichever Node is first on your PATH, and Next.js 16 won't start on Node 18.
On TinyBots, my web server for hosting ArtBot, I use PM2 in order to persist the application and automatically restart after crashes or reboots. ecosystem.config.js runs ArtBot with its own Node (interpreter), separate from the server's default Node used by other apps. That exact Node version must be installed on the server.
Start and stop it with:
> npm run pm2:start-prod
> npm run pm2:stop-prod
pm2 restart keeps an app's old interpreter and script. After changing either in ecosystem.config.js, stop and start the app, then run pm2 save.
Troubleshooting
For production-state regression and upgrade testing, see Production-origin browser profiles.
Windows
The npm scripts set environment variables inline (for example NODE_ENV=production next start), which Windows cmd doesn't support. Use WSL, or run the underlying command in a shell that does.
Other issues
For other issues not mentioned here, feel free to open a new issue on Github or visit the ArtBot feedback channel on the Stable Horde Discord server.
Contributions
Contributions are very welcome! General guidelines are as follows:
- Fork this repository
- Cut a new feature branch. e.g.,
> git checkout -b my-cool-new-feature - Make any necessary changes.
- Open a new pull request based on your feature branch.
Let me know if you have any questions. I'm more than happy to help.
License
See LICENSE.md
Explorar proyectos relacionados
Cargando…