Releases: ndk123-web/github-activity
v1.0.2 - Repository Scope, Activity Summary & Output Polish
🏷️ 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> infocommand -
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]
--limitdefines the size of the recent events window used for event counts.
📊 Improved Summary Command
-
summarynow 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
pushespulls(--state open|closed|merged)issues(--state open|closed)watchessummary
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
--limitapplies 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 activitycommand- CI-driven automated releases
- Optional JSON output for scripting
Tag: v1.0.2
License: MIT
Summary Command, Watch Events & Cross-Platform ZIP Builds
This release finalizes the core feature set of gh-activity and improves usability, output consistency, and cross-platform distribution.
gh-activity is a lightweight CLI for inspecting recent GitHub user activity (pushes, pull requests, issues, watches) using GitHub’s public Events API.
✨ What’s New in v1.0.1
📊 Summary Command
-
Added
summarycommand to generate a high-level overview of recent activity. -
Displays:
- Total events
- Push / Pull / Issue / Watch counts
- Top repositories by aggregated activity
-
Clean, single-screen, tabular output.
gh-activity user <username> summary [--limit N]⭐ Watch (Star) Events
- Added support for GitHub
WatchEvent. - Shows repositories starred by the user, grouped by repository.
- Consistent table output with other commands.
gh-activity user <username> watches [--limit N]🔐 Improved Authentication Handling
- Clear guidance for creating GitHub Personal Access Tokens.
- Automatic detection of invalid/expired tokens.
- Invalid tokens are safely cleared and requests retried without authentication.
- Token age warnings (90 days).
📦 Cross-Platform ZIP Releases
-
Official ZIP builds for:
- Windows (amd64)
- Linux (amd64)
- macOS (amd64, arm64)
-
Each archive contains a ready-to-use
bin/directory. -
No renaming required — just add
bin/to yourPATH.
✅ Supported Commands
User Scope
pushes— View push activitypulls— View pull requests (open / closed / merged)issues— View issues (open / closed)watches— View starred repositoriessummary— Combined activity overview
⚙️ Installation
Download the ZIP for your OS from Assets, extract it, and add the bin/ directory to your PATH.
No Go installation required.
🧠 Notes on Data
- Uses GitHub’s Events API (recent activity only)
- One push event ≠ one commit
- Summary aggregates events for insight, not full history
🔄 Backward Compatibility
- No breaking changes to existing commands
- Output is more consistent and structured
🛣️ What’s Next
- Repository scope (
repo info) - Optional JSON output
- Linux/macOS tar.gz builds
- CI-based automated releases
📄 Documentation
- Updated README with installation, authentication, and usage examples
- Internal design notes available in
docs/
Tag: v1.0.1
License: MIT
Initial Release (v1.0.0) - windows amd64
🚀 Initial Release — gh-activity (Windows amd64)
This is the first public release of gh-activity, a lightweight GitHub Activity CLI built in Go.
🎯 What is gh-activity?
gh-activity is a simple command-line tool to view recent GitHub activity for a user, using GitHub’s public Events API.
It focuses on clarity, strict CLI grammar, and developer-friendly output.
✅ Supported Platform (v1.0.0)
- Windows:
amd64(64-bit)
Linux and macOS binaries will be added in upcoming releases.
✨ Features in this release
👤 User Activity Commands
-
Push Events
gh-activity user <username> pushes [--limit N]
View recent push activity, grouped by repository.
-
Pull Requests
gh-activity user <username> pulls --state <open|closed|merged> [--limit N]
View pull requests by state (merged, open, or closed).
-
Issues
gh-activity user <username> issues --state <open|closed> [--limit N]
View issue activity (pull requests are excluded).
🔒 Authentication & Rate Limits
- Supports GitHub Personal Access Token
- Token is stored locally in a secure config file
- Automatically used for authenticated API requests
- Graceful warnings for missing or old tokens
📊 Output Format
- Clean, table-based output
- Optimized for terminal usage
- Designed to be easy to scan and script-friendly
- Logs and warnings are separated from actual data output
⚙️ Design Highlights
- Single self-contained binary (no runtime dependencies)
- Manual CLI parsing (no heavy frameworks)
- Strict command grammar and validation
- Uses Go’s standard library only
📦 Installation (Windows)
-
Download the binary from the Assets section
-
Rename it to:
gh-activity.exe -
Add it to your system
PATH -
Verify:
gh-activity --help
🛣️ Roadmap
Planned for next releases:
watch(⭐ star events)summarycommand- Linux & macOS builds
- JSON output (
--json) - Improved documentation