npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@sethwebster/ava-commit

v0.0.28

Published

`ava-commit` is a command-line tool that uses ChatGPT to generate git commit messages automatically. It leverages the capabilities of AI to produce informative, human-like messages. This was created as a fun pet project while I couldn't sleep and has pro

Downloads

7

Readme

@sethwebster/ava-commit

ava-commit is a command-line tool that uses ChatGPT to generate git commit messages automatically. It leverages the capabilities of AI to produce informative, human-like messages. This was created as a fun pet project while I couldn't sleep and has proven to be really useful in my day-to-day workflow. I hope you find it useful too!

Description

Using AI to write your commit messages. It's like having an AI pair programmer assisting you with your commits!

Installation

npm install @sethwebster/ava-commit

Usage

ava-commit [options]

Commands and Options

| Command | Options | Explanation | |-----------------|-------------------|------------------------------------------------------------------------------------------------------| | update | None | Checks for updates | | release-notes | None | Generates release notes based on what's changed since the most recent tag | | configure | None | Configures the tool | | generate | -a, --all | Generates a commit message for all commits, not just staged | | | -v, --verbose | Generates a commit message with verbose output | | | -l, --length | Generates a commit message with a targeted max summary length. Default is 80 characters if not set. | | | --all | Generates a commit message for all files, bypassing the check for staged files | | | --length | Generates a commit message targeting a specific max summary of characters |

Examples

To update the tool:

ava-commit update

To generate release notes:

ava-commit release-notes

To configure the tool:

ava-commit configure

To generate a commit message with all defaults for staged files:

ava-commit generate

To generate a commit message for all commits, not just staged:

ava-commit generate --all

To generate a verbose commit message:

ava-commit generate --verbose

To generate a commit message with a targeted max summary length:

ava-commit generate --length 150

Configuration

To configure ava-commit, you can use the configure command. This will guide you through a series of prompts to customize the tool's settings according to your needs. This flow will run automatically the first time you run the ava-commit.

Recommendations

  1. Alias - Personally, I use an alias in my .zshrc of ac to streamline. It works well with my workflow to set the generate --all option on my alias as I generally don't do half-commits. Hopefully you don't miss the "Active Time Accounting (ac)" tool too much. 🤪
  2. Workflow - This is a general workflow suggestion but working in smaller changes leads to better results. While Ava can figure out larger commit sets it gets harder the larger the set is.

Limitations

Please be aware that ava-commit, like any AI, may not always generate perfect commit messages. It is intended to be a tool to aid with your development process, but should not be relied upon for mission-critical applications without human review.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT