2 Home
Balazs Horvath edited this page 2026-04-18 11:32:32 +02:00

ComfyUI_Scriptables Documentation

Welcome to the comprehensive documentation for ComfyUI_Scriptables, a collection of scriptable nodes for ComfyUI that execute user-provided Python scripts.

⚠️ Security Notice

All ComfyUI_Scriptables nodes use exec() to execute user-provided Python scripts. This is intentionally designed for local development and experimentation only. DO NOT use in production or expose to public networks.

Quick Navigation

Node Documentation

Pattern Libraries

Earthbound Patterns

Inspired by EarthBound's "Video Drugs" battle backgrounds using HDMA effects.

Psychedelic Patterns

Classic psychedelic visual effects for generative art.

Animation Patterns

Mathematical animation techniques and visualizations.

Mathematical Foundations

  • Mathematical Foundations - Gaussian functions, Fourier transforms, complex numbers, and other mathematical concepts used in pattern generation

Getting Started

Installation

cd ComfyUI/custom_nodes
git clone http://localhost:3000/kade/ComfyUI_Scriptable.git

Configuration

# Disable scriptable nodes (security)
export COMFYUI_SCRIPTABLE_NODES_ENABLED=0

# Allow remote execution (DANGEROUS)
export COMFYUI_ALLOW_REMOTE_EXECUTION=1

Basic Usage

  1. Add a ScriptableImage node to your ComfyUI workflow
  2. Set width and height parameters
  3. Write your Python script in the script field
  4. Connect the output to other nodes

Bidirectional Syncing

Documentation in this directory syncs bidirectionally with the Forgejo wiki for kade/ComfyUI_Scriptable.

Sync script: /home/kade/reynard/wolfy/.windsurf/sync_comfyui_scriptables_wiki.py

cd /home/kade/reynard/wolfy/.windsurf
python3 sync_comfyui_scriptables_wiki.py push  # Push local to wiki
python3 sync_comfyui_scriptables_wiki.py pull  # Pull wiki to local

References