sochastic commited on
Commit
960a69c
·
verified ·
1 Parent(s): 08cce44

Create install_custom_nodes.sh

Browse files
Files changed (1) hide show
  1. install_custom_nodes.sh +193 -0
install_custom_nodes.sh ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # ComfyUI Custom Nodes Installation Script
4
+ # This script installs all the custom nodes used in the research project
5
+
6
+ set -e # Exit on any error
7
+
8
+ echo "🚀 Installing ComfyUI Custom Nodes for Research Project"
9
+ echo "======================================================="
10
+
11
+ # Change to custom_nodes directory
12
+ cd custom_nodes
13
+
14
+ echo "📦 Installing essential custom nodes..."
15
+
16
+ # ComfyUI Manager - Essential for managing other nodes and models
17
+ echo "Installing ComfyUI Manager..."
18
+ if [ ! -d "ComfyUI-Manager" ]; then
19
+ git clone https://github.com/ltdrdata/ComfyUI-Manager.git
20
+ else
21
+ echo "✅ ComfyUI Manager already exists"
22
+ fi
23
+
24
+ # ComfyUI IPAdapter Plus - For IP-Adapter functionality
25
+ echo "Installing ComfyUI IPAdapter Plus..."
26
+ if [ ! -d "ComfyUI_IPAdapter_plus" ]; then
27
+ git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus.git
28
+ else
29
+ echo "✅ ComfyUI IPAdapter Plus already exists"
30
+ fi
31
+
32
+ # ComfyUI Comfyroll Custom Nodes - Utility nodes
33
+ echo "Installing ComfyUI Comfyroll Custom Nodes..."
34
+ if [ ! -d "ComfyUI_Comfyroll_CustomNodes" ]; then
35
+ git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git
36
+ else
37
+ echo "✅ ComfyUI Comfyroll Custom Nodes already exists"
38
+ fi
39
+
40
+ # ComfyUI Impact Pack - Advanced image processing
41
+ echo "Installing ComfyUI Impact Pack..."
42
+ if [ ! -d "ComfyUI-Impact-Pack" ]; then
43
+ git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack.git
44
+ else
45
+ echo "✅ ComfyUI Impact Pack already exists"
46
+ fi
47
+
48
+ # ComfyUI Impact Subpack - Additional impact functionality
49
+ echo "Installing ComfyUI Impact Subpack..."
50
+ if [ ! -d "ComfyUI-Impact-Subpack" ]; then
51
+ git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack.git
52
+ else
53
+ echo "✅ ComfyUI Impact Subpack already exists"
54
+ fi
55
+
56
+ # ComfyUI Inspire Pack - Additional utilities
57
+ echo "Installing ComfyUI Inspire Pack..."
58
+ if [ ! -d "ComfyUI-Inspire-Pack" ]; then
59
+ git clone https://github.com/ltdrdata/ComfyUI-Inspire-Pack.git
60
+ else
61
+ echo "✅ ComfyUI Inspire Pack already exists"
62
+ fi
63
+
64
+ # ComfyUI Custom Scripts - Workflow enhancements
65
+ echo "Installing ComfyUI Custom Scripts..."
66
+ if [ ! -d "ComfyUI-Custom-Scripts" ]; then
67
+ git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts.git
68
+ else
69
+ echo "✅ ComfyUI Custom Scripts already exists"
70
+ fi
71
+
72
+ # ComfyUI Dynamic Prompts - Dynamic prompt generation
73
+ echo "Installing ComfyUI Dynamic Prompts..."
74
+ if [ ! -d "comfyui-dynamicprompts" ]; then
75
+ git clone https://github.com/adieyal/comfyui-dynamicprompts.git
76
+ else
77
+ echo "✅ ComfyUI Dynamic Prompts already exists"
78
+ fi
79
+
80
+ # ComfyUI KJNodes - Additional utility nodes
81
+ echo "Installing ComfyUI KJNodes..."
82
+ if [ ! -d "comfyui-kjnodes" ]; then
83
+ git clone https://github.com/kijai/ComfyUI-KJNodes.git comfyui-kjnodes
84
+ else
85
+ echo "✅ ComfyUI KJNodes already exists"
86
+ fi
87
+
88
+ # ComfyUI Ultimate SD Upscale - Advanced upscaling
89
+ echo "Installing ComfyUI Ultimate SD Upscale..."
90
+ if [ ! -d "ComfyUI_UltimateSDUpscale" ]; then
91
+ git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale.git
92
+ else
93
+ echo "✅ ComfyUI Ultimate SD Upscale already exists"
94
+ fi
95
+
96
+ # ComfyUI GGUF - GGUF model support
97
+ echo "Installing ComfyUI GGUF..."
98
+ if [ ! -d "ComfyUI-GGUF" ]; then
99
+ git clone https://github.com/city96/ComfyUI-GGUF.git
100
+ else
101
+ echo "✅ ComfyUI GGUF already exists"
102
+ fi
103
+
104
+ # ComfyUI Image Filters - Image processing filters
105
+ echo "Installing ComfyUI Image Filters..."
106
+ if [ ! -d "ComfyUI-Image-Filters" ]; then
107
+ git clone https://github.com/spacepxl/ComfyUI-Image-Filters.git
108
+ else
109
+ echo "✅ ComfyUI Image Filters already exists"
110
+ fi
111
+
112
+ # ComfyUI Depth Anything V2 - Depth estimation
113
+ echo "Installing ComfyUI Depth Anything V2..."
114
+ if [ ! -d "comfyui-depthanythingv2" ]; then
115
+ git clone https://github.com/kijai/ComfyUI-DepthAnythingV2.git comfyui-depthanythingv2
116
+ else
117
+ echo "✅ ComfyUI Depth Anything V2 already exists"
118
+ fi
119
+
120
+ # ComfyUI RMBG - Background removal
121
+ echo "Installing ComfyUI RMBG..."
122
+ if [ ! -d "comfyui-rmbg" ]; then
123
+ git clone https://github.com/Jcd1230/rembg-comfyui-node.git comfyui-rmbg
124
+ else
125
+ echo "✅ ComfyUI RMBG already exists"
126
+ fi
127
+
128
+ # ComfyUI FizzNodes - Animation and scheduling nodes
129
+ echo "Installing ComfyUI FizzNodes..."
130
+ if [ ! -d "comfyui_fizznodes" ]; then
131
+ git clone https://github.com/FizzleDorf/ComfyUI_FizzNodes.git comfyui_fizznodes
132
+ else
133
+ echo "✅ ComfyUI FizzNodes already exists"
134
+ fi
135
+
136
+ # ComfyUI PanoCard - Panorama processing
137
+ echo "Installing ComfyUI PanoCard..."
138
+ if [ ! -d "ComfyUI-PanoCard" ]; then
139
+ git clone https://github.com/Fannovel16/ComfyUI-PanoCard.git
140
+ else
141
+ echo "✅ ComfyUI PanoCard already exists"
142
+ fi
143
+
144
+ # RGThree ComfyUI - Advanced workflow nodes
145
+ echo "Installing RGThree ComfyUI..."
146
+ if [ ! -d "rgthree-comfy" ]; then
147
+ git clone https://github.com/rgthree/rgthree-comfy.git
148
+ else
149
+ echo "✅ RGThree ComfyUI already exists"
150
+ fi
151
+
152
+ # SD Dynamic Thresholding - Dynamic thresholding for SD
153
+ echo "Installing SD Dynamic Thresholding..."
154
+ if [ ! -d "sd-dynamic-thresholding" ]; then
155
+ git clone https://github.com/mcmonkeyprojects/sd-dynamic-thresholding.git
156
+ else
157
+ echo "✅ SD Dynamic Thresholding already exists"
158
+ fi
159
+
160
+ # WAS Node Suite - Comprehensive node collection
161
+ echo "Installing WAS Node Suite..."
162
+ if [ ! -d "was-node-suite-comfyui" ]; then
163
+ git clone https://github.com/WASasquatch/was-node-suite-comfyui.git
164
+ else
165
+ echo "✅ WAS Node Suite already exists"
166
+ fi
167
+
168
+ # CG Image Filter - Additional image filters
169
+ echo "Installing CG Image Filter..."
170
+ if [ ! -d "cg-image-filter" ]; then
171
+ git clone https://github.com/chrisgoringe/cg-image-filter.git
172
+ else
173
+ echo "✅ CG Image Filter already exists"
174
+ fi
175
+
176
+ # Derfuu Modded Nodes - Various utility nodes
177
+ echo "Installing Derfuu Modded Nodes..."
178
+ if [ ! -d "derfuu_comfyui_moddednodes" ]; then
179
+ git clone https://github.com/Derfuu/Derfuu_ComfyUI_ModdedNodes.git derfuu_comfyui_moddednodes
180
+ else
181
+ echo "✅ Derfuu Modded Nodes already exists"
182
+ fi
183
+
184
+ echo ""
185
+ echo "✅ All custom nodes installed successfully!"
186
+ echo ""
187
+ echo "📋 Next steps:"
188
+ echo "1. Restart ComfyUI to load the new nodes"
189
+ echo "2. Some nodes may require additional dependencies - check individual README files"
190
+ echo "3. Use ComfyUI Manager to install any missing models or resolve dependencies"
191
+ echo "4. Check the console for any error messages during startup"
192
+ echo ""
193
+ echo "🎉 Installation complete! Your ComfyUI is ready for research workflows."