Generate .gitignore
gitignore_generateGenerate a .gitignore by combining templates for languages, frameworks, OSes and editors. Removes duplicate patterns, adds optional section headers and custom lines, then returns the text or writes it to a file.
Instructions
Build a .gitignore by combining the website's templates for languages, frameworks, mobile, game engines, tools, OSes and editors (node, python, java, android, ios, flutter, reactnative, unity, unreal, go, rust, cpp, dotnet, php, wordpress, rails, django, nextjs, vite, docker, terraform, macos, windows, linux, vscode, jetbrains, vim). Templates can be named by id, name or keyword (e.g. "javascript" → node). Duplicate patterns are removed, optional "### Name ###" section headers, plus your own custom lines at the end. Returns the text, or writes it to "output" (e.g. "./.gitignore"). Set "list" to see all templates. Web version: https://s3eidat.github.io/gitignore-gen/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list | No | Just list the available templates (id, name, group, keywords). | |
| custom | No | Extra lines to append in a "Custom" section. | |
| dedupe | No | Drop patterns that already appeared in an earlier section. Default true. | |
| output | No | Where to write the result: a file path, or a folder ending in "/". Default: the server output folder (a temp folder unless --out-dir is set). | |
| headers | No | Add a generated-by header, section headers and template comments. Default true. | |
| templates | No | Templates to combine, in order, e.g. ["node", "nextjs", "vscode", "macos"]. |