Thank you for your interest in contributing! This document provides guidelines for contributing to the project.
- Fork the repository
- Clone your fork locally
- Create a new branch for your feature/fix
git checkout -b feature/your-feature-name- Install ComfyUI
- Clone this repo into
ComfyUI/custom_nodes/ - Install dependencies:
pip install -r requirements.txt- Restart ComfyUI
- Follow PEP 8 for Python code
- Use meaningful variable and function names
- Add comments for complex logic
- Keep functions focused and small
- Use clear, descriptive commit messages
- Start with a verb (Add, Fix, Update, Remove, etc.)
- Keep the first line under 72 characters
Examples:
Add support for CivitAI model detection
Fix download progress not updating
Update README with new features
- Push your changes to your fork
- Create a Pull Request against the
mainbranch - Fill out the PR template completely
- Wait for review
- One feature/fix per PR
- Include a clear description of changes
- Add screenshots for UI changes
- Test your changes thoroughly
- Check existing issues before creating a new one
- Use issue templates when available
- Include steps to reproduce bugs
- Include ComfyUI version and OS information
To add support for new model sources:
- Add detection logic in
server.py - Update
metadata/popular-models.jsonif adding popular models - Test with various workflows
- Update README if needed
- Be respectful and inclusive
- Focus on constructive feedback
- Help others learn and grow
Open an issue with the "question" label.
Thank you for contributing!