# Gitignore Generator > A free .gitignore generator that runs in the browser: type your stack (node, python, macos, vscode...) or choose your project folder, and get a .gitignore built from the github/gitignore templates plus a secrets block, checked against your own file names. https://gitignore-generator.skillsafe.ai/ ## What it does (free, no sign-in, nothing uploaded) - Templates for 41 stacks: Node.js, Next.js, Python, Jupyter, Java, Kotlin, Gradle, Maven, Android, Go, Hugo, Rust, C# / .NET, Ruby, Rails, Jekyll, PHP (Composer), Laravel, Swift / iOS, Dart / Flutter, C, C++, CMake, Zig, Elixir, Haskell, Scala, R, LaTeX, Unity, Unreal Engine, Godot, Terraform; macOS, Windows, Linux; VS Code, JetBrains, Xcode, Vim, Emacs. Templates are the github/gitignore files (CC0). - Typed names map to templates (react, vite, django, spring, flutter, pycharm... are understood); frameworks bring their language (Next.js adds Node.js, Rails adds Ruby). - Choosing a project folder reads file names only and detects the stack from package.json, go.mod, Cargo.toml, pom.xml, *.csproj, pubspec.yaml, ProjectSettings, .idea, .DS_Store and similar. - A secrets block goes last so it wins: .env and .env.* (but not .env.example, .env.sample, .env.template), private keys and certificate stores, SSH keys, cloud credential files, .npmrc, .pypirc, .netrc, secrets folders. - Check your files: paste git ls-files, find . or tree output (or use the folder) and every name is matched with git's rules (anchoring, *, **, ?, [...], ! negation, trailing-slash folders, folders that cannot be re-included). It lists what git will skip, secret-looking files git would still commit (one click adds them as rules), files that usually belong in git that the rules hide (lock files, manifests, README, .env.example), and git rm --cached commands for files that are already committed. - Make a .env.example from a .env: secrets (keys, tokens, passwords, DSNs, random-looking values) become change_me, logins inside URLs are masked, harmless values (ports, booleans, environment names, localhost URLs) stay. - Exports: download .gitignore, download as gitignore.txt, copy; download or copy .env.example. ## Optional AI step (signed-in, metered) "Review with AI" sends the stack, the rules and the file names (never file contents) and gets back more rules to add, files to take out of git, ignored files to keep, and up to three notes. The page checks every rule and path against the file list and applies only what it can verify: it rejects rules that would hide manifests, lock files or README, rules already covered, and paths that are not in the list. - API: https://gitignore-generator.skillsafe.ai/api.html - Input fields: `task` ("review"), `stack`, `gitignore`, `files`, `files_note`, `tracked` ("yes"/"no"), `findings` (JSON text). - Output: one JSON object `{add: [{pattern, reason, example}], untrack: [{path, reason}], keep: [{path, reason}], notes: [string]}`. ## Source Adapted from the agent skill @levnikolaevich/ln-733-env-configurator from levnikolaevich/claude-code-skills (MIT): https://skillsafe.ai/skill/@levnikolaevich/ln-733-env-configurator . Its secrets-protection rules (.env files except .env.example, keys and certificates, secrets folders) and its .env.example rules (placeholders, never real secrets) are the basis of the secrets block and the .env.example maker. Templates: github/gitignore (CC0-1.0).