summarize-diff

1.3.0 • Public • Published

Summarize Diff

Summarize Diff is a tool that leverages OpenAI models to summarize git differences. It aids developers in quickly understanding code changes and is particularly useful for crafting PR descriptions.

Demo:

Summarize Diff Demo

Prerequisite

Checkout to the branch you want to compare.

Features

  • Fetches git differences.
  • Summarizes the differences using selected OpenAI models.
  • Supports various OpenAI models with token constraints.

Usage

To run the tool without installing:

npx summarize-diff

Or, install it globally:

npm install -g summarize-diff

Then run:

summarize-diff

Options:

  • --reset: Removes all saved values.
  • --model: Change the OpenAI model.
  • --help: Display help for commands.

/summarize-diff/

    Package Sidebar

    Install

    npm i summarize-diff

    Weekly Downloads

    16

    Version

    1.3.0

    License

    ISC

    Unpacked Size

    8.85 kB

    Total Files

    3

    Last publish

    Collaborators

    • avr00