Releases: Davidap041/ai-commit
Releases · Davidap041/ai-commit
v0.1.0
Flash Tutorial
Generate Key
- Create a account in Google Ai Studio
- Generate a API Key
- Copy API Key
Download project
- Download this release (ai-commit.zip)
Download node (Mac OSX)
-
download nvm with brew
brew install nvm -
install lts version or current tested
nvm install 22.14 -
Update env execute this command
export NVM_DIR="$HOME/.nvm" [ -s "/usr/local/opt/nvm/nvm.sh" ] && \. "/usr/local/opt/nvm/nvm.sh" # This loads nvm [ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion -
check installation
node --version
Configure and run project
-
open project in terminal and open dir
cd ai-commit -
run follow commands
-
sudo chmod +x setup-and-install.sh -
run script
-
./setup-and-install.sh -
paste api key generated and press enter
-
now open other terminal and check this command
-
ai-commit --help -
for use, just execute this in a git directory with staged changes