https://github.com/meenbeese/github-starred-repos-analyzer
A Node.js script that analyzes a GitHub user’s starred repositories and counts the number of repositories for each programming language.
https://github.com/meenbeese/github-starred-repos-analyzer
cli-app github nodejs
Last synced: 3 months ago
JSON representation
A Node.js script that analyzes a GitHub user’s starred repositories and counts the number of repositories for each programming language.
- Host: GitHub
- URL: https://github.com/meenbeese/github-starred-repos-analyzer
- Owner: meenbeese
- License: mit
- Created: 2024-07-25T23:22:15.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-25T23:33:48.000Z (almost 2 years ago)
- Last Synced: 2025-05-20T04:37:48.115Z (about 1 year ago)
- Topics: cli-app, github, nodejs
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# GitHub Starred Repos Analyzer
This is a simple Node.js script that analyzes a GitHub user's starred repositories and counts the number of repositories for each programming language.
## Features
- Fetches all starred repositories of a GitHub user
- Counts the number of repositories for each programming language
- Displays the results in a nicely formatted table
- Handles pagination to fetch all starred repositories
## Prerequisites
- Node.js installed on your machine
- `node-fetch` library
## Installation
1. Clone the repository:
```bash
git clone https://github.com/meenbeese/github-starred-repos-analyzer.git
```
2. Navigate to the project directory:
```bash
cd github-starred-repos-analyzer
```
3. Install the required dependencies:
```bash
npm install node-fetch
```
## Usage
1. Run the script with the GitHub username as a command line argument:
```bash
node index.js foobar
```
Replace `foobar` with the GitHub username you want to analyze.
## Example
```bash
node index.js octocat
```