6.1 KiB
6.1 KiB
🚀 Push ComfyUI-HunyuanWorld to GitHub
This guide will help you push your ComfyUI-HunyuanWorld repository to GitHub at: https://github.com/A043-studios/ComfyUI_HunyuanWorldnode
📋 Prerequisites
- Git installed on your system
- GitHub account (A043-studios) with access to the repository
- Repository created on GitHub (should already exist at the URL above)
🔧 Step-by-Step Instructions
Step 1: Navigate to Your Project Directory
cd /Users/t.gelzleichter/Documents/augment-projects/comfyui-compositor/ComfyUI/custom_nodes/ComfyUI-HunyuanWorld
Step 2: Initialize Git Repository (if not already done)
# Check if git is already initialized
git status
# If not initialized, run:
git init
Step 3: Configure Git (if not already done)
# Set your name and email (use your GitHub credentials)
git config user.name "A+43"
git config user.email "113508660+A043-studios@users.noreply.github.com"
# Or set globally
git config --global user.name "A+43"
git config --global user.email "113508660+A043-studios@users.noreply.github.com"
Step 4: Add Remote Repository
# Add your GitHub repository as the remote origin
git remote add origin https://github.com/A043-studios/ComfyUI_HunyuanWorldnode.git
# If remote already exists, update it:
git remote set-url origin https://github.com/A043-studios/ComfyUI_HunyuanWorldnode.git
Step 5: Add All Files
# Add all files to staging
git add .
# Check what will be committed
git status
Step 6: Create Initial Commit
# Create the initial commit
git commit -m "🎉 Initial release: ComfyUI-HunyuanWorld v1.0.0
✨ Features:
- Real Hunyuan3D pipeline implementation
- Simplified wrapper for easy use
- Hybrid approach with multiple backends
- Complete documentation and examples
- CI/CD pipeline with GitHub Actions
- Professional repository structure
🔧 Includes:
- 4 different approaches to 3D generation
- Memory optimization and low VRAM support
- Texture synthesis capabilities
- Comprehensive installation guides
- Example workflows and usage documentation"
Step 7: Push to GitHub
# Set the default branch to main
git branch -M main
# Push to GitHub
git push -u origin main
🔐 Authentication Options
Option 1: Personal Access Token (Recommended)
- Go to GitHub → Settings → Developer settings → Personal access tokens
- Generate a new token with
repopermissions - Use the token as your password when prompted
Option 2: SSH Key
# Generate SSH key (if you don't have one)
ssh-keygen -t ed25519 -C "113508660+A043-studios@users.noreply.github.com"
# Add to SSH agent
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
# Copy public key and add to GitHub
cat ~/.ssh/id_ed25519.pub
# Use SSH URL instead
git remote set-url origin git@github.com:A043-studios/ComfyUI_HunyuanWorldnode.git
Option 3: GitHub CLI
# Install GitHub CLI and authenticate
gh auth login
# Push using GitHub CLI
gh repo create A043-studios/ComfyUI_HunyuanWorldnode --public --source=. --remote=origin --push
📁 What Will Be Pushed
The following files and directories will be uploaded to GitHub:
📦 Repository Contents:
├── 📄 Core Implementation
│ ├── __init__.py (401 lines) - Main node implementations
│ ├── requirements.txt - Dependencies
│ ├── install.py - Automated installation
│ ├── setup.py - Package setup
│ └── pyproject.toml - Modern Python packaging
│
├── 📚 Documentation (1000+ lines total)
│ ├── README.md - Comprehensive guide
│ ├── INSTALL_GUIDE.md - Installation instructions
│ ├── CONTRIBUTING.md - Contribution guidelines
│ ├── CHANGELOG.md - Version history
│ └── LICENSE - MIT License
│
├── 🔧 GitHub Integration
│ ├── .github/workflows/ci.yml - CI/CD pipeline
│ ├── .github/ISSUE_TEMPLATE/ - Bug reports & features
│ ├── .github/pull_request_template.md
│ ├── .gitignore - Git ignore rules
│ └── .bandit - Security scanning
│
├── 🧪 Testing & Examples
│ ├── tests/test_basic.py - Basic tests
│ ├── examples/simple_workflow.py - Usage examples
│ └── example_workflows.json - ComfyUI workflows
│
└── 📁 Structure
├── nodes/ (empty, ready for expansion)
└── web/ (empty, ready for expansion)
✅ Verification
After pushing, verify everything worked:
- Visit your repository: https://github.com/A043-studios/ComfyUI_HunyuanWorldnode
- Check files are uploaded: All files should be visible
- Check CI/CD: GitHub Actions should start running
- Test installation: Try installing from GitHub
🔄 Future Updates
For future updates, use:
# Make your changes
git add .
git commit -m "feat: describe your changes"
git push origin main
🏷️ Creating Releases
To create a release:
# Tag a version
git tag -a v1.0.0 -m "Release version 1.0.0"
git push origin v1.0.0
# Or use GitHub web interface to create a release
🐛 Troubleshooting
Authentication Issues
# If you get authentication errors:
git config --global credential.helper store
# Then enter your credentials once
Large File Issues
# If files are too large:
git lfs track "*.safetensors"
git lfs track "*.ckpt"
git add .gitattributes
Permission Issues
# If you get permission denied:
# Make sure you have write access to the repository
# Check your authentication method
🎉 Success!
Once pushed successfully, your repository will be available at: https://github.com/A043-studios/ComfyUI_HunyuanWorldnode
Users can then install it with:
cd ComfyUI/custom_nodes
git clone https://github.com/A043-studios/ComfyUI_HunyuanWorldnode.git
cd ComfyUI_HunyuanWorldnode
python install.py
📞 Need Help?
If you encounter issues:
- Check the error messages carefully
- Ensure you have the correct permissions
- Verify your authentication setup
- Try the alternative authentication methods above
Happy coding! 🌍✨