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

groupdel Command in Linux: Remove a Group and Audit Files

The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…

15 hours ago

wc Command in Linux: Count Lines, Words, Characters, and Bytes

The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…

15 hours ago

top Command in Linux: Monitor Processes and Resource Usage

The top command in Linux provides a real-time view of running processes and system resource usage. From…

15 hours ago

usermod Command in Linux: Modify User Accounts and Groups

The usermod command in Linux modifies existing user account attributes. You can use it to manage group…

15 hours ago

sort Command in Linux: Sort Text, Numbers, Columns, and More

The sort command in Linux reads lines from files or standard input and writes them to standard…

2 days ago

wall Command in Linux: Broadcast Messages to Logged-In Users

The wall command in Linux sends a message to the terminals of all currently logged-in users. The…

2 days ago