RepoPeek : A Python Script To Get Details About A Repository Without Cloning

RepoPeek is a Python script to get details about a repository without cloning it. All the information are retrieved using the GitHub API.

Note: API requests made by this module aren’t using basic authentication or OAuth. Therefore the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address.

Information Provided

  1. Basic information about the repository.
    • Repository Name
    • Default Branch
    • Repository Size
    • Repository License
    • Repository Description
    • Repository Type
  2. Languages used in the repository.
  3. Repository Statistics.
    • Forks
    • Watchers
    • Open Issues
    • Total Stars
  4. URL’s of the repository.
    • GIT URL
    • SSH URL
    • SVN URL
    • Clone URL
  5. Commit details of the repository
    • Last Commit Date
    • Last Commit Message

Also Read – Minimalistic Offensive Security Tools

Installation

To install this script so that it is accessible via Python from anywhere, copy the script into a directory of your choice, and then add that directory to your PYTHONPATH

Usage

python -m repopeek

R K

Recent Posts

Bash Scripting Best Practices Every Beginner Should Know

Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…

23 hours ago

How To Create A Self-Signed SSL Certificate Using Bash And OpenSSL

Introduction A self-signed SSL certificate is a certificate that is created and signed by the…

24 hours ago

How To Debug Bash Scripts Using bash -x And set Commands

Introduction Debugging is an important part of Bash scripting. When a script does not work…

1 day ago

How To Use Cron Jobs With Bash Scripts For Automation

Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…

1 day ago

How To Use Pipes In Bash Scripts For Command Chaining

Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…

1 day ago

How To Use grep, awk, And sed In Bash Scripts

Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…

1 day ago