✨ What's new
- Automatic sync of only the latest release from any GitHub repository defined in
repos.txt - Filter assets using case‑insensitive regex (keywords, file extensions, or a mix)
- Cleanup system – removes entire repository folders when a line is deleted/commented from
repos.txt - Filter enforcement – when you change a filter, only matching assets are kept; mismatched files are automatically deleted
- Smart re‑download – if a release tag or filter pattern changes, the workflow re‑downloads the correct assets
- Detailed README table – every run updates
README.mdwith a markdown table containing:- Direct download links (raw.githubusercontent.com)
- File sizes (KB/MB)
- Anchor links (
#owner--repo) for easy sharing
- Persian template – when
README.mdis missing, it is created fromdocs/README.fa.md(full Persian tutorial) - Manual trigger – schedule is commented out by default; you can enable it by editing the workflow file
🚫 Limitations
- Only the latest release of each repository is mirrored. (no version selection)
- Pre‑releases (alpha, beta, RC) are not downloaded – only stable releases marked as “latest”. (pre‑releases are ignored)
- Files larger than 100 MB are skipped due to GitHub’s limits.
🛠️ Technical details
- Uses
git filter-repostyle cleanup (single commit for deletions) - Stores per‑release metadata in
.version,.filter, andrelease.json - Skips assets larger than 100 MB (GitHub limit)
- All raw links automatically point to the forked repository (
${{ github.repository }})
📦 How to use
- Fork the repository.
- Edit
repos.txtwith your desiredowner/repoand filters. - Go to Actions → Sync latest releases & update README → Run workflow.
- After completion, find your download links in the README table.
📌 Future possibilities (not yet implemented)
- Support for syncing a specific version tag
- Option to include pre‑releases
Note: This is a stable release. All core features are tested and working.