Skip to content

Commit a2a696c

Browse files
committed
✨: update magicc documentation
1 parent 99d8aa9 commit a2a696c

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,54 @@ You can do `magicc`, you can build anything that you desire. 🪄🔮💻
88

99
Have suggestions in mind? [Let me know!](https://github.com/warengonzaga/magic-commit/issues)
1010

11+
> [!IMPORTANT]
12+
> This project is still in it's early stage so expect some bugs and issues. Please report any issues you encounter. Thank you! 🙏
13+
14+
## 🕹️ Usage
15+
16+
Save all of your changes and after that run the following command:
17+
18+
```bash
19+
magicc
20+
```
21+
22+
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. 🪄
23+
24+
> [!NOTE]
25+
> To be able to make it work it requires API key from [OpenAI](https://openai.com) 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:
26+
>
27+
> ```bash
28+
> magicc -s=<api-key>
29+
> ```
30+
>
31+
> 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](mailto:opensource@warengonzaga.com).)_
32+
33+
## 📦 Installation
34+
35+
You can install this project via `npm` or `yarn`.
36+
37+
```bash
38+
npm install -g magicc
39+
```
40+
41+
or
42+
43+
```bash
44+
yarn global add magicc
45+
```
46+
47+
## 💖 Motivation
48+
49+
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. 🙏
50+
51+
This project is inspired by the following projects:
52+
53+
- [aicommits](https://github.com/Nutlope/aicommits) - A CLI that writes your git commit messages for you with AI.
54+
- [ai-commit](https://github.com/insulineru/ai-commit) - Make commits easier with ChatGPT, Gitmoji and Conventional Commits.
55+
- [opencommit](https://github.com/di-sukharev/opencommit) - About
56+
Auto-generate impressive commits with AI in 1 second.
57+
- [tgpt](https://github.com/aandrew-me/tgpt) - AI Chatbots in terminal without needing API keys.
58+
1159
## 🎯 Contributing
1260
1361
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!

0 commit comments

Comments
 (0)