| name | analytics |
| description | Pull and display tokentop install analytics from GitHub — release downloads, Homebrew tap installs, Scoop bucket installs, repo traffic, referrers, and homebrew-core eligibility status |
| license | MIT |
| allowed-tools | ["bash","read"] |
| metadata | {"version":"1.0","author":"tokentop"} |
Tokentop Install Analytics
Run the analytics script to pull all install and traffic data for tokentop from the GitHub API and display it in the terminal.
Usage
Execute the analytics script from the project root:
bun .opencode/skills/analytics/scripts/analytics.ts
What It Shows
- Repository Overview — Stars, forks, watchers, open issues, latest release
- Homebrew Core Eligibility — Progress bars toward the 75-star / 30-fork / 30-watcher thresholds
- Repo Traffic — Views and clones for the main repo (14-day rolling window)
- Top Referrers — Where visitors find tokentop (Google, Reddit, Twitter, etc.)
- Popular Pages — Most visited pages on the GitHub repo
- Package Manager Installs — Homebrew tap and Scoop bucket clone counts with daily breakdown chart
- GitHub Release Downloads — Per-release, per-platform download counts with all-time totals
Requirements
gh CLI installed and authenticated (gh auth login)
- Token must have
repo scope for traffic data access (traffic APIs require push access)
Notes
- GitHub Traffic API only retains the last 14 days of data. There is no way to get historical data beyond that window.
- Homebrew/Scoop install counts are approximated from git clone counts on the tap/bucket repos. Each
brew install tokentopapp/tap/tokentop or scoop install tokentop triggers a clone.
- Release download counts are all-time and cumulative.