CLI tool to fetch and display the latest public activity from a GitHub user using the GitHub API.
Project URL: https://roadmap.sh/projects/github-user-activity
- .NET 9 SDK or higher
- Internet access (to query the public GitHub API)
- Retrieve the latest public events of a GitHub user.
- Simple command-line usage with username as argument.
- Handles errors like invalid usernames or API failures.
- No external libraries or frameworks required for HTTP requests.
Clone the repository
git clone https://github.com/hectorrosario22/GitHubUserActivity.git
cd GitHubUserActivityBuild the project
dotnet build# Get all user activities
dotnet run -- <username>Example
dotnet run -- hectorrosario22Sample Output
- Pushed to repository: hectorrosario22/GitHubUserActivity
- Opened issue in: hectorrosario22/task-tracker-cli
- Starred repository: torvalds/linux
...- Filter events by type (e.g., PushEvent, IssueEvent).
- Display activity in a more structured format.
- Cache API responses for efficiency.
- Add support for pagination to fetch more than 30 events.