This guide explains how to find and contribute new highly-rated Windows batch script repositories to this collection.
The easiest way to find new repositories is to use our automated tools:
# 1. Run the discovery script
./find_batch_repos.sh --min-stars 100 --max-results 50
# 2. Review the results in batch_repos_found.csv
# 3. Submit high-quality finds via pull requestWe provide several tools to help identify highly-rated batch repositories:
find_batch_repos.sh- Main wrapper scriptz.repo_support/scripts/identify_batch_repos.py- Python search toolz.repo_support/scripts/batch_repo_finder.py- CSV analyzerz.repo_support/scripts/find_highly_rated_repos.sh- Demo/analysis script
See z.repo_support/scripts/USAGE_GUIDE.md for detailed usage instructions.
Use these search queries on GitHub to find batch repositories:
-
Primary Search:
language:Batchfile stars:>100 -
Topic-Based:
topic:batch-scripts stars:>50 topic:windows-automation stars:>50 -
Keyword-Based:
batch script windows stars:>50 windows automation .bat stars:>50
When evaluating repositories, look for:
✅ High Quality Indicators:
- ⭐ High star count (50+ for notable, 100+ for popular)
- 📅 Recent activity (updated within last year)
- 📝 Clear documentation (README with usage instructions)
- 🎯 Specific purpose (solves a real problem)
- ✅ Active maintenance (responds to issues)
- 💻 Actual batch scripts (.bat or .cmd files)
❌ Red Flags:
- 🗄️ Archived repositories
- 🐛 No documentation or unclear purpose
- 🧪 Test/experimental repos with no real value
⚠️ Potential malware or suspicious code- 📁 No actual batch files in the repo
Repositories are typically categorized by popularity:
- 🌟 Highly Popular: 1,000+ stars
- ⭐ Popular: 100-999 stars
- ✨ Notable: 50-99 stars
- 💫 Active: 10-49 stars
Focus on repositories with 50+ stars for this collection.
Use the automated tools or manual search:
# Option A: Automated search
export GITHUB_TOKEN="your_github_token"
python3 z.repo_support/scripts/identify_batch_repos.py --min-stars 100
# Option B: Manual GitHub search
# Visit the search links above and collect repository infoFor each repository found:
- Visit the repository on GitHub
- Check star count and last update date
- Review the README and documentation
- Verify it contains actual batch scripts
- Check it's not already in our collection
- Ensure it's not archived or abandoned
Gather this information for each repository:
- Name:
owner/repository-name - URL: Full GitHub URL
- Description: Brief description of what it does
- Stars: Current star count
- Category: Where it fits in our structure
Option A: Via Pull Request (Preferred)
- Fork this repository
- Add new repos to
z.repo_support/scripts/repo_results.csv - Update relevant category READMEs
- Create a pull request with your additions
Option B: Via Issue
- Open a new issue
- Title: "New Repository Suggestion: [repo-name]"
- Include all collected information
- Tag with
enhancementlabel
When adding repositories to the collection:
Add entries to z.repo_support/scripts/repo_results.csv:
name,url,description,stars,category
owner/repo-name,https://github.com/owner/repo-name,Description here,150,System Tweaks & Performance EnhancementsMatch repositories to these categories:
- Activation, Licensing & Update Scripts
- Automation & Installers
- Cleanup & Maintenance
- File, Media & Conversion Tools
- Game Server & Mod Utilities
- Network, Connectivity & Hardware Tweaks
- Privacy & Debloating
- Scripting Libraries, Examples & Tutorials
- Security, Hardening & Diagnostics
- Single-Function Scripts
- System Optimization & Performance
- Other & Uncategorized
- Start with high-quality repos (100+ stars)
- Check for recent activity (updated in last 12 months)
- Verify actual batch content (not just tagged with batch)
- Look for unique solutions (not duplicates)
When submitting:
- Accurate descriptions - Clearly explain what the repository does
- Correct categorization - Place in appropriate category
- Complete information - Include all required fields
- No duplicates - Check existing entries first
- Focus on useful, well-maintained repositories
- Prioritize active projects over abandoned ones
- Include diverse solutions covering different use cases
- Ensure quality documentation in submitted repos
For automated searches, you'll need a GitHub token:
- Go to https://github.com/settings/tokens
- Click "Generate new token (classic)"
- Name it (e.g., "Batch Repo Search")
- Select scopes:
public_repo(or none for public searches) - Generate and copy the token
- Store it securely
# Set environment variable
export GITHUB_TOKEN="ghp_your_token_here"
# Or pass directly to script
python3 identify_batch_repos.py --token ghp_your_token_hereSecurity Note: Never commit tokens to Git or share them publicly!
Complete example of finding and submitting new repos:
# 1. Set up GitHub token
export GITHUB_TOKEN="your_token_here"
# 2. Search for repos
python3 z.repo_support/scripts/identify_batch_repos.py \
--min-stars 100 \
--max-results 100 \
--output new_discoveries.csv
# 3. Analyze results
python3 z.repo_support/scripts/batch_repo_finder.py \
new_discoveries.csv \
--report \
--min-stars 100
# 4. Review the CSV file manually
# - Check each repository on GitHub
# - Verify quality and relevance
# - Remove duplicates and low-quality entries
# 5. Add to main collection
# - Edit z.repo_support/scripts/repo_results.csv
# - Add your new entries
# - Update category READMEs if needed
# 6. Submit via pull request
git checkout -b add-new-repos
git add z.repo_support/scripts/repo_results.csv
git commit -m "Add newly discovered batch repositories"
git push origin add-new-repos
# Then create a pull request on GitHub- 📖 Read the detailed guide:
z.repo_support/scripts/USAGE_GUIDE.md - 🐛 Report issues on GitHub
- 💬 Discuss in repository discussions
Your contributions help make this the most comprehensive collection of Windows batch scripts on GitHub! 🎉