Files
ComfyUI_frontend/docs/extensions
snomiao b4b834d7c4 [chore] Replace pnpm with npm package manager
- Remove pnpm-specific files (pnpm-lock.yaml, pnpm-workspace.yaml)
- Update package.json scripts to use npm instead of pnpm
- Add npm workspaces configuration
- Update all GitHub workflow files to use npm
- Update documentation to reference npm commands
- Generate package-lock.json for npm dependency management
2025-08-31 05:41:12 +00:00
..

ComfyUI Extensions Documentation

Overview

Extensions are the primary way to add functionality to ComfyUI. They can be custom nodes, custom nodes that render widgets (UIs made with javascript), ComfyUI shell UI enhancements, and more. This documentation covers everything you need to know about understanding, using, and developing extensions.

Documentation Structure

  • Development Guide - How to develop extensions, including:

    • Extension architecture and terminology
    • How extensions load (backend vs frontend)
    • Why extensions don't work in dev server
    • Development workarounds and best practices
  • Core Extensions Reference - Detailed reference for core extensions:

    • Complete list of all core extensions
    • Extension architecture principles
    • Hook execution sequence
    • Best practices for extension development

Key Concepts

  • Extension: Umbrella term for any code that extends ComfyUI
  • Custom Nodes: Python backend nodes (a type of extension)
  • JavaScript Extensions: Frontend UI enhancements
  • Core Extensions: Built-in extensions bundled with ComfyUI

Common Tasks

External Resources

Need Help?