Skip to content

Conversation

@Aatricks
Copy link
Owner

@Aatricks Aatricks commented Nov 8, 2025

This pull request adds automated tracking and display of GitHub repository traffic statistics (clones and views) as badges in the README.md. It introduces scripts and a GitHub Actions workflow to update these badges daily, providing up-to-date visibility into repository traffic.

Automated Traffic Badge Generation and Updates:

  • Added a GitHub Actions workflow (.github/workflows/traffic-badges.yml) to run daily and on demand, which executes scripts to update traffic badges and commits the results.
  • Introduced two scripts, scripts/update_clone_badge.sh and scripts/update_view_badge.sh, to fetch traffic data from the GitHub API, maintain historical data, and generate SVG badges showing total clones and views. [1] [2]

README Badge Integration:

  • Updated README.md to display the new clone and view badges, making repository traffic statistics visible to all visitors.

@Aatricks Aatricks self-assigned this Nov 8, 2025
@Aatricks Aatricks merged commit 57511b9 into main Nov 8, 2025
1 check failed
@Aatricks Aatricks deleted the badges branch November 8, 2025 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants