Skip to content

shaluchan/githubtool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

GitHub Repository Fetcher

This project is a Python script that fetches and displays information about a specified GitHub user's repositories. It retrieves repository names, star counts, fork counts, and URLs, presenting this information in a colorful and organized manner in the terminal.

Features

  • Fetch repositories from a specified GitHub user.
  • Display repository names, star counts, fork counts, and URLs.
  • Color-coded terminal output for enhanced readability.
  • Supports optional GitHub personal access token for accessing private repositories.

Prerequisites

Before running the script, ensure you have the following installed:

  • Python 3.x
  • pip (Python package installer)

Installation

  1. Clone the Repository

    Clone this repository to your local machine using:

    git clone https://github.com/yourusername/github-repo-fetcher.git
    cd github-repo-fetcher
  2. Install required packages install the required Python packages using pip:

    pip install requests tabulate colorama
  3. Run the Script

    python githubtool.py

Usage

When prompted, enter the GitHub username for whom you want to fetch repositories. You can also optionally provide a GitHub personal access token to access private repositories.

Important Note on Tokens

A GitHub personal access token is required if you want to access private repositories. You can create one by following these steps:

  1. Go to your GitHub account settings.
  2. Navigate to Developer settings > Personal access tokens.
  3. Click on Generate new token, select the scopes you need, and generate it.
  4. Copy the token and use it when prompted by the script.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue for suggestions or improvements.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages