Add/gh Traffic Script#120
Merged
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a new
gh-traffic.shscript to thescripts/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 inscripts/README.mdwith usage instructions and inCHANGELOG.mdto track the addition. The changes introduce 154 new lines of code across three files, expanding the project's observability toolkit.New Monitoring Script:
scripts/gh-traffic.shto fetch GitHub repository traffic statistics including views and clones through the GitHub APIDocumentation Updates:
scripts/README.mdwith usage instructions, parameters, and examples for the new traffic scriptCHANGELOG.mdto document the script addition and maintain version historyFiles Changed:
CHANGELOG.md(Modified)scripts/README.md(Modified)scripts/gh-traffic.sh(Added)