- LICENSE.md created with dual license terms
- CREDITS.md documenting all third-party dependencies
- CONTRIBUTING.md with contribution guidelines
- .gitignore configured properly
- License headers added to 1,926 Python files
- README.md updated with license and contact info
- init.py updated with license information
Check for and remove any files containing:
- API keys or tokens
- Passwords or credentials
- Private authentication cookies
- Personal email addresses (beyond eric@historic.camera, eric@rollei.us)
Files to check:
configs/instagram_cookies.json
configs/reddit_cookies.json
configs/twitter_cookies.json
configs/auth_config.json
Already in .gitignore but should be deleted:
-
.history/folder (VS Code Local History) -
__pycache__/directories -
desktop.inifiles -
.venv/virtual environment folder
Quick cleanup:
Remove-Item -Recurse -Force .history -ErrorAction SilentlyContinue
Get-ChildItem -Recurse -Directory -Filter __pycache__ | Remove-Item -Recurse -Force
Remove-Item desktop.ini -Force -ErrorAction SilentlyContinue- Add your GitHub repository URL to CREDITS.md (line 196)
- Consider adding your repository URL to README.md
- Update any
[Your GitHub Repository URL]placeholders
In a clean environment or with a colleague:
git clone <your-repo-url>
cd PDF_tools
.\check_install.ps1
# Test basic functionality- README.md - Is all information accurate?
- LICENSE.md - Are the contact emails correct?
- CREDITS.md - Are all dependencies listed?
- .gitignore - Are all sensitive patterns included?
cd A:\Comfy25\ComfyUI_windows_portable\ComfyUI\custom_nodes\PDF_tools
# Initialize repository
git init
# Add all files
git add .
# Check what will be committed
git status
# Review files that will be added (make sure no sensitive data)
git diff --cached --name-only
# First commit
git commit -m "Initial commit: PDF Tools for ComfyUI
- Complete PDF extraction and processing tools
- Gallery-dl and yt-dlp downloader nodes
- Florence2 and SAM2 AI vision integration
- Comprehensive documentation and licenses
"- Go to https://github.com/new
- Repository name:
PDF_toolsorComfyUI-PDF-Tools - Description: "PDF Tools for ComfyUI - Media downloaders, PDF extraction, and AI vision analysis"
- Choose Public
- DO NOT initialize with README (you already have one)
- Create repository
# Add remote (replace YOUR_USERNAME with your GitHub username)
git remote add origin https://github.com/YOUR_USERNAME/PDF_tools.git
# Rename branch to main
git branch -M main
# Push to GitHub
git push -u origin main- Verify repository looks correct on GitHub
- Check that LICENSE.md is recognized by GitHub
- Test clone and installation from GitHub
- Add topics/tags to repository (comfyui, pdf, ocr, etc.)
- Add badges to README (license, Python version)
- Create first release/tag (v1.0.0)
- Add repository to ComfyUI custom nodes list
- Create GitHub Issues templates
- Add CHANGELOG.md for future updates
- Set up GitHub Actions for testing (if desired)
Add these at the top of README.md:


- Dual License: You're using CC BY-NC 4.0 for non-commercial use
- GPL Dependencies: Some dependencies (gallery-dl, PyMuPDF AGPL) have copyleft licenses
- Commercial Users: Need both your commercial license AND PyMuPDF commercial license
- Attribution: Others must credit you when using your code
Create a simple process:
- Email template for commercial inquiries
- Pricing structure (if applicable)
- License agreement template
- Consider creating a separate COMMERCIAL_LICENSE.md
After publishing, consider:
- Enable GitHub Issues for bug reports
- Enable GitHub Discussions for Q&A
- Add email for support in README
- Decide on response time commitments
Once you've checked all the items above, your repository is ready for publication!
Questions?
- Review GITHUB_PREP_SUMMARY.md for detailed changes
- Check individual documentation files
- Contact: eric@historic.camera or eric@rollei.us
Good luck with your GitHub publication! 🚀