Skip to content

A command line interface (CLI) that uses GitHub API to fetch the recent activity of a GitHub user and display it in the terminal.

Notifications You must be signed in to change notification settings

zeinaaabbb/github-user-activity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Github User Activity

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

Table of Contents

Features

This repo provides details for a GitHub user activity, including:

  • PushEvent
  • IssuesEvent
  • DeleteEvent
  • WatchEvent
  • ForkEvent
  • PullRequestReviewEvent
  • PullRequestReviewCommentEvent

Prerequisites

Node.js version 18+

Installation

Clone the repository and link the CLI locally

git clone https://github.com/zeinaaabbb/github-user-activity.git
cd github-user-activity
npm link

Usage

Run the command:

github-activity <username>

Examples

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

About

A command line interface (CLI) that uses GitHub API to fetch the recent activity of a GitHub user and display it in the terminal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published