Skip to content

Add/gh Traffic Script#120

Merged
jasperf merged 1 commit into
mainfrom
add/gh-traffic-script
Jul 9, 2026
Merged

Add/gh Traffic Script#120
jasperf merged 1 commit into
mainfrom
add/gh-traffic-script

Conversation

@jasperf

@jasperf jasperf commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

This PR adds a new gh-traffic.sh script to the scripts/ directory that retrieves GitHub repository traffic statistics via the GitHub API. The script provides automated access to view and clone metrics, enhancing the project's monitoring capabilities. Documentation has been updated in scripts/README.md with usage instructions and in CHANGELOG.md to track the addition. The changes introduce 154 new lines of code across three files, expanding the project's observability toolkit.

New Monitoring Script:

  • Added scripts/gh-traffic.sh to fetch GitHub repository traffic statistics including views and clones through the GitHub API

Documentation Updates:

  • Updated scripts/README.md with usage instructions, parameters, and examples for the new traffic script
  • Updated CHANGELOG.md to document the script addition and maintain version history

Files Changed:

- Add new scripts/gh-traffic.sh script that fetches and displays GitHub
  repository traffic data (views and unique visitors) in formatted table
- Features: configurable output (table/JSON), quiet mode, repo validation,
  dependency checking for gh CLI and column command
- Update scripts/README.md with new script documentation and usage examples
- Update CHANGELOG.md with version 3.2.0 release notes
@jasperf jasperf merged commit 8e621f7 into main Jul 9, 2026
@jasperf jasperf deleted the add/gh-traffic-script branch July 9, 2026 01:20
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.

1 participant