Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dummy downed comfy box re opened #157

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .eslintignore

This file was deleted.

15 changes: 0 additions & 15 deletions .eslintrc.cjs

This file was deleted.

35 changes: 35 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
12 changes: 0 additions & 12 deletions .gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions .gitmodules

This file was deleted.

2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

13 changes: 0 additions & 13 deletions .prettierignore

This file was deleted.

9 changes: 0 additions & 9 deletions .prettierrc

This file was deleted.

54 changes: 12 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,58 +1,28 @@
# ComfyBox
# ComfyBox-ReOpened, officially forked.

ComfyBox is a frontend to Stable Diffusion that lets you create custom image generation interfaces without any code. It uses [ComfyUI](https://github.com/comfyanonymous/ComfyUI) under the hood for maximum power and extensibility.
This is a very broken down version of spacenuko's original ComfyBox concept. "https://github.com/space-nuko/ComfyBox.git"

![Screenshot](./static/screenshot.png)
All credit for the coding goes to them. I have only removed any files that were not integral for running the program on my Windows computer (I cannot say if this will work on other systems such as Linux, Google Colab, etc). If you find out it does, let me know and I'll update the README.md. It is my hope that this will help others to have at least SOMETHING to use. I am not a coder, I only know beginner/intermediate Python, so any features, requests, updates are going to be on the community to figure out. Thank you.


![Screenshot](./static/screenshot2.png)

## Installation

1. Download the latest release [here](https://nightly.link/space-nuko/ComfyBox/workflows/build-and-publish/master/ComfyBox-dist) and extract it somewhere.
2. Start the ComfyUI backend with `python main.py --enable-cors-header`.
3. In the folder you extracted open the `run.bat`/`run.sh` script (requires Python 3 to be on your PATH). Alternatively you can serve the contents of the folder with any web server.
**_Originial README_**

## Usage

A preconfigured workflow is included for the most common txt2img and img2img use cases, so all it takes to start generating is clicking `Load Default` to load the default workflow and then `Queue Prompt`.

You can import your existing workflows from ComfyUI into ComfyBox by clicking `Load` and choosing the `.json` or `.png` with embedded metadata, or dropping either file onto the graph viewer.

## NOTE

This project is *still under construction* and some features are missing, be aware of the tradeoffs if you're interested in using it.

Also note that the saved workflow format is subject to change until it's been finalized after enough testing, so be prepared to lose some of your work from time to time.

## Features
- **No-Code UI Builder** - A novel system for creating your own Stable Diffusion user interfaces from the basic components.
- **Manage Multiple Workflows** - You can open as many workflows as you like and switch between them using tabs within the app. You can also write custom "Send To" actions to copy your image outputs into other workflows for further processing.
- **Use Your Existing Workflows** - Import workflows you've created in ComfyUI into ComfyBox and a new UI will be created for you.
- **Extension Support** - All custom ComfyUI nodes are supported out of the box.
- **Prompt Queue** - Queue up multiple prompts without waiting for them to finish first. Inspect currently queued and executed prompts.
- **Prompt History** - Browse through previously generated prompts and their output images/parameters.
- **Mobile-Friendly Version** - Includes a version of the UI optimized for mobile use, while still supporting the same customized workflows of the desktop version.

## Development

## **_Updated_ Installation**
### Requirements
1) Clone/Install [ComfyUI](https://github.com/comfyanonymous/ComfyUI) for the backend and follow all of their instructions.
2) Add the argument "--enable-cors-header" to the "run_nvidia_gpu.bat" file.
3) Clone this repo and place it into the "ComfyUI_windows_portable" folder.
4) Run start_servers.bet.
5) All set!

- `git`
- `pnpm`
- An installation of vanilla [ComfyUI](https://github.com/comfyanonymous/ComfyUI) for the backend

### Installation

**NOTE:** If you're using Windows, the following commands must be run with [Git Bash](https://git-scm.com/downloads).

1. Clone the repo with submodules:

```
git clone https://github.com/space-nuko/ComfyBox --recursive
```

2. `pnpm install`
4. `pnpm prebuild`
5. `pnpm dev`
6. Start ComfyUI with `python main.py --enable-cors-header`
7. Visit `http://localhost:3000` in your browser
### Installation **WINDOWS ONLY FOR NOW**
1 change: 1 addition & 0 deletions assets/global-4d6647d9.css

Large diffs are not rendered by default.

131 changes: 131 additions & 0 deletions assets/global-dc583974.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/global-dc583974.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/index-44ea4a9b.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/index-693ac17f.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions assets/main-2562103c.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/main-2562103c.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

197 changes: 197 additions & 0 deletions assets/mobile-b32e0a74.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/mobile-b32e0a74.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 0 additions & 1 deletion gradio
Submodule gradio deleted from bebfb7
File renamed without changes
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- <link rel="icon" href="%sveltekit.assets%/favicon.png" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#2196f3">
</head>
<body>
<div id="app-root"/>
<script type="module" src='/src/main-desktop.ts'></script>

</body>
</html>
16 changes: 0 additions & 16 deletions jsconfig.json

This file was deleted.

1 change: 0 additions & 1 deletion klecks
Submodule klecks deleted from f08ba3
1 change: 0 additions & 1 deletion litegraph
Submodule litegraph deleted from 29a787
14 changes: 0 additions & 14 deletions mobile/index.html

This file was deleted.

Loading