GitHub Activity CLI

Description

A simple command-line interface (CLI) tool that fetches and displays the recent activity of a specified GitHub user.

Features

  • Fetches recent activity from the GitHub API.
  • Displays up to 10 of the most recent events for a specified GitHub user.
  • Handles errors gracefully, such as invalid usernames or API failures.

Prerequisites

  • Node.js (v12.x or later)
  • npm (comes with Node.js)

How to run the project from the command line:

  1. Open the project folder.
  2. Open the terminal and run node index.js github-profile-name
  3. All the recent activities will be visible.