.gitignore Generator
Generate a .gitignore by combining templates for Node, Python, Java, Go, Rust, Docker, macOS, VS Code and JetBrains, with unknown stacks reported.
.gitignore Generator
Output
Working…Updated . Provided as is. Check the output before you rely on it in production.
How to use .gitignore Generator
- 1
List your stacks
Enter stacks one per line or comma-separated, for example node, macos and vscode.
- 2
Generate
Entries are combined from templates for node, python, java, go, rust, macos, vscode, jetbrains and docker.
- 3
Review the output
Check the entries, especially lockfiles, before committing.
- 4
Copy it
Copy the result into .gitignore at your repository root.
Questions and answers
Which stacks are supported?
Should Cargo.lock be ignored?
Use it as an API
.gitignore Generator is also callable as a free HTTP JSON API at
https://aidevhub.io/api/gitignore-generator/ — GET with query
parameters or POST with a JSON body, no authentication, CORS enabled, fair use
(abusive traffic is throttled at the edge; there is no per-request quota header). Responses return
{ ok, tool, result, meta }.
curl -s "https://aidevhub.io/api/gitignore-generator/?stacks=node%2Cmacos%2Cvscode"
Machine-readable contract: /api/tool/gitignore-generator.json All API endpoints: /agents/ LLM site index: /llms.txt
For AI agents: how to call this tool
Machine-readable contract, endpoints and examples. Humans can ignore this section.
Best Path For Builders
Dedicated API endpoint
Deterministic outputs, machine-safe contracts, and production-ready examples.
Dedicated API
https://aidevhub.io/api/gitignore-generator/ OpenAPI: https://aidevhub.io/api/openapi.yaml
Unified Runtime API
https://aidevhub.io/api/tools/run/?toolId=gitignore-generator&a=node%0Amacos%0Avscode
GET and POST are supported at /api/tools/run/ with identical validation and limits.
Limit: 60 req / 60s, input max 128 KB.