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

magicc

v0.2.6

Published

You can do `magicc`, you can build anything that you desire.

Downloads

23

Readme

Magic Commit 🪄 author/maintainer nominate

made with sponsors release star license NPM Installs

banner

You can do magicc, you can build anything that you desire. 🪄🔮💻

Magic Commit is a simple and easy-to-use tool that helps you to automatically stage your changes by file and commit them one by one. All you need to do is type magicc and accept if you love the suggested commit message in every changed files. It uses gpt-4o-mini as the default model from OpenAI to generate commit messages. 🪄

Have suggestions in mind? Let me know!

[!IMPORTANT]
This project is still in it's early stage so expect some bugs and issues. Please report any issues you encounter. Thank you! 🙏

Like this project? Leave a star! ⭐⭐⭐⭐⭐

😎 Demo

demo

🕹️ Usage

Save all of your changes and after that run the following command:

magicc

This will automatically stage your changes by file and commit them one by one. All you need to do is type magicc and accept if you love the suggested commit message in every changed files. 🪄

[!NOTE]
To be able to make it work it requires API key from OpenAI to use the GPT-3 model. You can get your API key by signing up to their website. Once you have the API key, you can set it up by running the following command:

magicc -s=<api-key>

This will save your API key to the configuration file and you can now use the magicc command. I'm considering to find a provider that offers free API key for this project. 🙏 (if you are reading this contact me.)

📦 Installation

You can install this project via npm or yarn.

npm install -g magicc

or

yarn global add magicc

💖 Motivation

I created this project because I wanted a simple and easy-to-use tool that follows my own git commit standard by default. Additionally, I wanted to learn how to build AI-based developer tools. The goal of this project is to provide a user-friendly experience for everyone. If you're looking for more advanced features, I recommend checking out the other projects mentioned below. 🙏

This project is inspired by the following projects:

  • aicommits - A CLI that writes your git commit messages for you with AI.
  • ai-commit - Make commits easier with ChatGPT, Gitmoji and Conventional Commits.
  • opencommit - About Auto-generate impressive commits with AI in 1 second.
  • tgpt - AI Chatbots in terminal without needing API keys.

⚙️ Project Activity

activity

🎯 Contributing

Contributions are welcome, create a pull request to this repo and I will review your code. Please consider to submit your pull request to the dev branch. Thank you!

Read the project's contributing guide for more info.

🐛 Issues

Please report any issues and bugs by creating a new issue here, also make sure you're reporting an issue that doesn't exist. Any help to improve the project would be appreciated. Thanks! 🙏✨

🙏 Sponsor

Like this project? Leave a star! ⭐⭐⭐⭐⭐

Want to support my work and get some perks? Become a sponsor! 💖

Or, you just love what I do? Buy me a coffee! ☕

Recognized my open-source contributions? Nominate me as GitHub Star! 💫

📋 Code of Conduct

Read the project's code of conduct.

📃 License

This project is licensed under GNU General Public License v3.0.

📝 Author

This project is created by Waren Gonzaga, with the help of awesome contributors.

contributors


💻 with ❤️ by Waren Gonzaga and Him 🙏