✨ (Dockerfile, docker-compose.yml): update CMD to include --base-directory for better temp file management 📝 (TEMP_DIRECTORY_UTILS.md): add documentation for temporary directory utilities to explain usage and benefits ♻️ (temp_utils.py): create utility functions for ComfyUI-aware temporary file and directory management ♻️ (media_selection, media_describe, frame_extractor): refactor to use ComfyUI-aware temp utilities for better file handling 📝 (media-selection README, WORKFLOW_EXAMPLE.md, REDDIT_POST_MEDIA_SOURCE.md): update documentation to reflect changes in temp file management 💡 (media_selection): add comments to clarify the use of ComfyUI-aware temp directory functions
ComfyUI-SwissArmyKnife Documentation
Welcome to the ComfyUI-SwissArmyKnife documentation! This directory contains comprehensive documentation for all nodes, features, integrations, and infrastructure components.
📁 Documentation Structure
🎬 Nodes (/nodes)
Core custom nodes that extend ComfyUI functionality:
- video-preview - Video preview widget for comparing multiple videos side-by-side
- video-metadata - Video metadata extraction and manipulation
- media-describe - AI-powered media description using Gemini API
- lora-loader - Advanced LoRA loading with metadata integration
- reddit-media - Reddit and RedGifs media extraction and processing
🏗️ Infrastructure (/infrastructure)
Core system components and development tools:
- caching - Caching strategies and optimization
- debug - Debug mode and logging systems
- docker - Docker setup and container configuration
- build-deploy - Build processes and publishing workflows
🔌 Integrations (/integrations)
External service integrations:
- civitai - CivitAI API integration for model metadata
- reddit - Reddit API integration (see also nodes/reddit-media)
🎨 UI Widgets (/ui-widgets)
Reusable UI components and widgets:
- Control Panel - Dashboard widget with JSON data handling and two-column layout
- Dimensions Display - Automatic media dimension display with troubleshooting
- Seed Widget - Randomization seed for reproducible workflows
- Widget Fixes - Visibility management, state persistence, and general fixes
✨ Features (/features)
Feature implementations and enhancements:
- JavaScript Improvements - Cache busting, module fixes, and node naming updates
- Clothing color modification and text exclusion
- Text exclusion and filtering
- Prompt improvements and decisiveness
- External integrations (ND Super Nodes)
📚 Examples (/examples)
Example workflows and demonstrations:
- Sample workflow JSON files
- Usage demonstrations
- Integration examples
🚀 Quick Start
For Developers
- Node Development: See individual node documentation in
/nodes/[node-name]/ - Adding Features: Check
/features/for implementation patterns - Integration: Review
/integrations/for external API integration guides - Infrastructure: Consult
/infrastructure/for system-level changes
For Users
- Node Usage: Each node folder contains usage guides and examples
- Troubleshooting: Look for
*_FIX.mdor*_TROUBLESHOOTING.mdfiles - Examples: Check
/examples/for workflow demonstrations
📖 Documentation Conventions
File Naming
- Implementation Guides:
[FEATURE]_IMPLEMENTATION.mdor[NODE]_NODE.md - Bug Fixes:
[ISSUE]_FIX.md - Troubleshooting:
[FEATURE]_TROUBLESHOOTING.md - Integration Guides:
[SERVICE]_INTEGRATION.md - API Documentation:
[FEATURE]_API.md
Document Structure
Each documentation file should include:
- Problem Statement - What issue does this address?
- Solution - How was it solved?
- Implementation Details - Technical specifics
- Usage/Testing - How to use or test the feature
- Related Files - Links to relevant code files
- Implementation Date - When was this implemented?
🔍 Finding Documentation
By Topic
- Video Processing: Check
/nodes/video-preview/and/nodes/video-metadata/ - AI/ML Features: See
/nodes/media-describe/and/nodes/lora-loader/ - External APIs: Look in
/integrations/ - Performance: Check
/infrastructure/caching/ - Debugging: See
/infrastructure/debug/
By Issue Type
- Bugs/Fixes: Search for
*_FIX.mdfiles - New Features: Look for
*_IMPLEMENTATION.mdfiles - API Changes: Check
*_INTEGRATION.mdor*_API.mdfiles - Performance: See
/infrastructure/caching/and optimization docs
📝 Contributing Documentation
When adding new documentation:
-
Choose the Right Location:
- Node-specific →
/nodes/[node-name]/ - Infrastructure →
/infrastructure/[category]/ - Integration →
/integrations/[service]/ - UI widget →
/ui-widgets/ - Feature →
/features/
- Node-specific →
-
Follow Naming Conventions: Use clear, descriptive names with appropriate suffixes
-
Update Index Files: Add your documentation to the relevant
README.mdin the subdirectory -
Cross-Reference: Link to related documentation files
-
Include Examples: Add code snippets and usage examples
🗂️ Index Files
Each subdirectory contains a README.md that:
- Lists all documentation files in that directory
- Provides brief descriptions of each document
- Links to related documentation in other directories
- Includes quick reference guides when applicable
📊 Project Status
See IMPLEMENTATION_STATUS.md for overall project status and feature completion tracking.
🆘 Need Help?
- Search: Use your editor's search to find keywords across all docs
- Index Files: Check the
README.mdin each subdirectory - Status: Review
IMPLEMENTATION_STATUS.mdfor current project state - Examples: Look in
/examples/for working implementations
📅 Documentation Maintenance
- Regular Updates: Documentation should be updated when code changes
- Version Tracking: Include implementation dates in documentation
- Consolidation: Related documents should be merged when appropriate
- Cleanup: Outdated documentation should be archived or removed
Last Updated: October 2, 2025 Documentation Structure Version: 2.0