This command-line interface (CLI) tool allows users to track GitHub user activity efficiently from the terminal. Built with Node.js (v20), it fetches and displays data related to a user's activity on GitHub, including repositories, commits, and more.
This project is part of the GitHub User Activity project from roadmap.sh, a platform for developers to learn by building real-world projects.
- Fetch GitHub user activity and display it in console
Before using this project, ensure you have the following installed:
- Node.js v20
You can download and install Node.js from the official website here. - GitHub Personal Access Token
You can generate a GitHub token from here.
-
Clone the repository:
git clone https://github.com/arodriguez1996/github-user-activity-cli.git cd github-user-activity-cli
-
Install the necessary dependencies globally:
npm install -g
-
Set up your GitHub token:
You'll need to provide your GitHub personal access token for authenticated requests. Set it as an environment variable:
export GITHUB_TOKEN=your_token_here
Once installed, you can use the CLI directly from the terminal:
github-activity <user>
github-activity arodriguez1996
This project is licensed under the MIT License.