1.2.3 • Published 3 months ago

@danieljancar/gh-repo-analyzer v1.2.3

Weekly downloads
-
License
LGPL-3.0-only
Repository
github
Last release
3 months ago

Introduction

This tool is designed to fetch and analyze data from GitHub repositories, part of the M320 module. It provides insights such as commit frequency, contributor count, and language usage.

Usage

Installation

To install the npm tool globally, run the following command:

npm install -g @danieljancar/gh-repo-analyzer

Getting Started

To run the tool, use the following command:

ghra

Options

OptionDescription
-h, --helpShow help
-V, --versionShow version number

Commands

CommandDescription
detailGet detailed information about a repository
infoGet information about a repository
commitsGet commit information about a repository
commitGet commit information about a repository

Examples

Get detailed information about a repository

ghra detail <owner> <repo>

Get information about a repository

ghra info <owner> <repo>

Get last 5 commits of a repository

ghra commits <owner> <repo>

Get a specific commit of a repository

ghra commit <owner> <repo> <sha>

Development

Prerequisites

  • Node.js - JavaScript runtime environment
  • TypeScript - A typed superset of JavaScript
  • Git - Version control system

Setup

  1. Clone the repository to your local machine.
git clone https://github.com/your-username/github-repo-analyzer.git
  1. Navigate to the project directory.
cd github-repo-analyzer
  1. Install the project dependencies.
npm install
  1. Compile TypeScript to JavaScript.
tsc

Usage

Run the tool from the command line to analyze a GitHub repository.

node dist/main.js

Contributing

I welcome contributions from everyone. Before you get started, please take a moment to review the guidelines.

Branches

This project uses the following branches:

  • master - The main branch. This branch is used for production releases.
  • develop - The development branch. This branch is used for development and testing.

Commit Messages

When you commit, make sure to follow the Contributing Guide for commit messages. This will help keep the commit messages clean and consistent across the project. If you don't follow the guide, your pull request will be rejected.

License

This project is licensed under the GNU GPLv3 license. By contributing to this project, you agree that your contributions will be released under the same license. Also, you agree to the Contributor Covenant Code of Conduct and Developer Certificate of Origin.

References

1.2.3

3 months ago

1.1.2

4 months ago

1.1.1

4 months ago

1.1.0

4 months ago

1.0.15

4 months ago

1.0.14

4 months ago

1.0.13

4 months ago

1.0.12

4 months ago

1.0.11

4 months ago

1.0.10

4 months ago

1.0.9

4 months ago

1.0.8

4 months ago

1.0.7

4 months ago

1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

4 months ago

1.0.0

4 months ago

0.0.1

4 months ago