Skip to content

KarlangaXZ/GitHub_User_Activity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

GitHub User Activity CLI

Lightweight Node.js CLI that fetches and prints a user's recent GitHub public events.

Project page: https://roadmap.sh/projects/github-user-activity

Requirements

  • Node.js (v12+ recommended)
  • Internet access (GitHub API rate limits apply for unauthenticated requests)

Installation

  1. Clone the repository: git clone https://github.com/KarlangaXZ/GitHub_User_Activity.git

  2. Change into the project folder: cd GitHub_User_Activity

  3. Install dependencies: npm install

No additional npm packages are required; the script uses Node's built-in https module.

Usage

Run the script with a GitHub username:

node github-activity.js

Example: node github-activity.js kamranahmedse

If you made the script executable, you can also run: ./github-activity.js

Notes

  • The script queries the public events endpoint: /users/:username/events.
  • Unauthenticated requests are subject to GitHub API rate limits. If you hit rate limits, wait or use an authenticated request (not implemented in this script).
  • Output uses ANSI colors; disable or adjust your terminal if colors render incorrectly.

License

See repository for license and contribution details.

About

Lightweight Node.js CLI that fetches and prints a user's recent GitHub public events.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published