mirror of
https://github.com/dtzp555-max/ocp.git
synced 2026-07-22 13:35:08 +00:00
Zero-dep Node script that fetches the four GitHub Traffic endpoints (views, clones, popular referrers, popular paths) plus core repo stats, and prints a formatted report or raw JSON. Supports --save to append JSONL snapshots so daily runs can build a >14-day history beyond the GitHub API's retention window. Wired as `npm run traffic`. Requires GITHUB_TOKEN with push access.