A command line interface (CLI) that uses GitHub API to fetch the recent activity of a GitHub user and display it in the terminal.
It uses the GitHub API endpoint: https://api.github.com/users/<username>/events
This repo provides details for a GitHub user activity, including:
PushEventIssuesEventDeleteEventWatchEventForkEventPullRequestReviewEventPullRequestReviewCommentEvent
Node.js version 18+
Clone the repository and link the CLI locally
git clone https://github.com/zeinaaabbb/github-user-activity.git
cd github-user-activity
npm linkRun the command:
github-activity <username>github-activity username123
GitHub Activity Output:
-----------------------
Started example-org/sample-project repository
Pushed commits to demo-user/learning-javascript
Pushed commits to demo-user/cli-practice
Started fake-team/dashboard-ui repository
Pushed commits to demo-user/learning-javascript