ai-gitignore
v1.0.0
Published
Scans your project and generates the perfect .gitignore
Readme
ai-gitignore
Stop copy-pasting .gitignore templates from GitHub. This thing actually looks at your project and figures out what to ignore.
Install
npm install -g ai-gitignoreUsage
# Preview what it'll generate
npx ai-gitignore --preview
# Just write the .gitignore
npx ai-gitignore
# Custom output path
npx ai-gitignore --output ./my-project/.gitignoreHow it works
It scans your project for config files like package.json, Cargo.toml, go.mod, etc. Then it asks OpenAI to generate a proper .gitignore based on what it finds. That's it. No templates, no guessing.
Requirements
Set your OPENAI_API_KEY environment variable. You'll need an OpenAI API key.
export OPENAI_API_KEY=sk-...License
MIT
