Skip to content

v1.0.2 - Repository Scope, Activity Summary & Output Polish

Latest

Choose a tag to compare

@ndk123-web ndk123-web released this 28 Dec 15:41
· 3 commits to main since this release

🏷️ Release Title

v1.0.2— Repository Scope, Activity Summary & Output Polish


📝 Release Notes

This release expands gh-activity with a fully-featured repository scope, improves summary insights, and tightens CLI output consistency.

The tool now provides clear, terminal-friendly views for both user activity and repository state, using GitHub’s public Events API.


✨ What’s New

📦 Repository Scope (repo)

  • Added repo <owner>/<repo> info command

  • Displays structured repository metadata:

    • Name & description
    • Primary language
    • License & visibility
    • Stars, forks, open issues
    • Created date, last update, last push
    • Topics rendered as [tag]
  • Includes a compact recent events summary (Push / Issues / Watches / Pull Requests)

gh-activity repo <owner>/<repo> info [--limit N]

--limit defines the size of the recent events window used for event counts.


📊 Improved Summary Command

  • summary now aggregates:

    • Pushes, pull requests, issues, watches
    • Top repositories by total activity
  • Clean, single-screen tabular output optimized for terminals

gh-activity user <username> summary [--limit N]

⭐ Watch (Star) Events

  • Added support for GitHub WatchEvent
  • Shows starred repositories grouped by repo
  • Consistent formatting with other user commands

🔐 Authentication & Error Handling Improvements

  • Auth status printed once per run
  • Invalid or expired tokens are automatically removed
  • Requests retry unauthenticated if needed
  • Clear rate-limit hints encourage token setup

🧹 Output & UX Polish

  • Unified table layouts across commands
  • Improved field grouping and ordering
  • Long descriptions normalized to preserve table alignment
  • Reduced noise; clearer separation between sections

⚙️ Supported Scopes & Commands

User scope

  • pushes
  • pulls (--state open|closed|merged)
  • issues (--state open|closed)
  • watches
  • summary

Repository scope

  • info (metadata + recent events overview)

📦 Distribution

  • Cross-platform ZIP releases:

    • Windows (amd64)
    • Linux (amd64)
    • macOS (amd64, arm64)
  • Single, self-contained binary per platform

  • No runtime dependencies


🧠 Notes

  • Data is based on GitHub’s recent events stream
  • --limit applies to the overall events window, not per event type
  • Designed for quick inspection, not historical analytics

🔄 Backward Compatibility

  • No breaking changes to existing commands
  • Improved output consistency across all scopes

🛣️ What’s Next

  • repo activity command
  • CI-driven automated releases
  • Optional JSON output for scripting

Tag: v1.0.2
License: MIT