https://github.com/karlangaxz/github_user_activity
Lightweight Node.js CLI that fetches and prints a user's recent GitHub public events.
https://github.com/karlangaxz/github_user_activity
github githubcli javascript nodejs roadmap-sh
Last synced: 2 months ago
JSON representation
Lightweight Node.js CLI that fetches and prints a user's recent GitHub public events.
- Host: GitHub
- URL: https://github.com/karlangaxz/github_user_activity
- Owner: KarlangaXZ
- Created: 2025-09-01T23:23:01.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-09-01T23:34:00.000Z (4 months ago)
- Last Synced: 2025-10-12T01:56:39.349Z (3 months ago)
- Topics: github, githubcli, javascript, nodejs, roadmap-sh
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.