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

ai-commit

v2.1.1

Published

โœจ Make Github commits easier with ChatGPT, Gitmoji and Conventional Commits ๐Ÿš€

Downloads

4,354

Readme

AI-Commit: The Commit Message Generator

๐Ÿ’ป Tired of writing boring commit messages? Let AI-Commit help!

This package uses the power of OpenAI's GPT-3 model to understand your code changes and generate meaningful commit messages for you. Whether you're working on a solo project or collaborating with a team, AI-Commit makes it easy to keep your commit history organized and informative.

How it Works

  1. Install AI-Commit using npm install -g ai-commit
  2. Generate an OpenAI API key here
  3. Set your OPENAI_API_KEY environment variable to your API key
  4. Make your code changes and stage them with git add .
  5. Type ai-commit in your terminal
  6. AI-Commit will analyze your changes and generate a commit message
  7. Approve the commit message and AI-Commit will create the commit for you โœ…

Options

--list: Select from a list of 5 generated messages (or regenerate the list)

--force: Automatically create a commit without being prompted to select a message (can't be used with --list)

--filter-fee: Displays the approximate fee for using the API and prompts you to confirm the request

--apiKey: Your OpenAI API key. It is not recommended to pass apiKey here, it is better to use env variable

Contributing

We'd love for you to contribute to AI-Commit! Here's how:

  1. Fork the repository
  2. Clone your fork to your local machine
  3. Create a new branch
  4. Make your changes
  5. Commit your changes and push to your fork
  6. Create a pull request to the AI-Commit repository

Roadmap

  • [x] Support for multimple suggestions: Provide multiple suggestions for the commit message.
  • [ ] Support for custom commit types: Allow users to specify a custom commit type manually.
  • [ ] Automated scope detection: Detect the scope of changes and automatically include it in the commit message.
  • [ ] Improved emoji suggestions: Enhance the emoji suggestions generated by AI-Commit to better match the changes made to the code.
  • [ ] Commit message templating: Provide a customizable commit message template for users to follow.
  • [ ] Interactive commit message generation: Allow users to interact with AI-Commit during the commit message generation process to provide more context and refine the generated message.
  • [ ] Integration with Git hooks: Integrate AI-Commit with Git hooks so that it can automatically generate commit messages whenever changes are staged.
  • [ ] Advanced diff analysis: Enhance AI-Commit's diff analysis capabilities to better understand the changes made to the code.
  • [ ] Reverse commit message generation: Allow users to generate code changes from a commit message.

License

AI-Commit is licensed under the MIT License.

Happy coding ๐Ÿš€