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

git fetch vs git pull: How They Work and When to Use Each

Both git fetch and git pull talk to a remote repository, but they do very different things to your…

2 days ago

git cherry-pick Command: Apply Commits from Another Branch

Sometimes the change you need already exists, just on the wrong branch. A hotfix lands…

2 days ago

Best Email APIs for Secure Business Email: Why Developers Are Moving Beyond SMTP

Email is still one of the most important communication channels inside modern applications. Password resets,…

3 days ago

Nginx Commands in Linux: Start, Stop, Reload, Test, and Log

Nginx is a high-performance web server and reverse proxy trusted by some of the largest…

6 days ago

ufw Command in Linux: Manage Firewall Rules with Examples

ufw (Uncomplicated Firewall) sits on top of iptables (or nftables on newer systems) and replaces…

6 days ago

who Command in Linux: Show All Logged-In Users and Sessions

When you share a server with a team or investigate unexpected activity, the first question…

6 days ago