Skip to content

Repository files navigation

IgnoreGen - AI-Powered .gitignore Generator

Live App License: MIT Next.js React TypeScript

IgnoreGen is a modern, fast, and customizable .gitignore file generator supporting 120+ languages, frameworks, operating systems, and IDEs. Powered by Next.js 15, Tailwind CSS, and Google Gemini AI for smart stack detection.

🌐 Live Demo: https://ignoregen.vercel.app


✨ Features

  • ⚡ 120+ Tech Stack Templates: Instant access to .gitignore rules for Node, Python, React, Go, Rust, macOS, Windows, VSCode, JetBrains, Docker, and more.
  • 🤖 AI Stack Assistant: Describe your tech stack or paste package.json / build files, and Gemini AI selects the optimal templates automatically.
  • 🎨 Syntax Highlighting & Live Preview: Real-time combined .gitignore output preview with syntax highlighting.
  • 💾 Preset Management: Save custom rule sets and load them in one click. Local storage sync enabled.
  • 📋 One-Click Copy & Download: Copy generated rules to clipboard or download directly as .gitignore.
  • 🔍 Instant Search & Categorization: Fast search with category filters (Languages, Frameworks, IDEs, OS, Tools).
  • ⌨️ Keyboard Shortcuts: Built-in shortcut navigation (⌘K for quick search, ⌘C to copy, ⌘D to download).
  • 🌙 Dark / Light / System Mode: Seamless theme matching for developer preference.

🛠️ Tech Stack

  • Framework: Next.js 15 (App Router)
  • UI & Styling: React 19, Tailwind CSS 4, Lucide Icons, Framer Motion
  • AI Integration: @google/genai (Google Gemini API)
  • Type Safety: TypeScript 5.9
  • Deployment: Vercel

🚀 Quick Start

1. Clone the repository

git clone https://github.com/razikuljoni/IgnoreGen.git
cd IgnoreGen

2. Install dependencies

npm install

3. Configure Environment Variables

Create a .env.local file in the root directory:

GEMINI_API_KEY=your_gemini_api_key_here

4. Run local development server

npm run dev

Open http://localhost:3000 in your browser.


💻 Building for Production

npm run build
npm run start

📁 Project Structure

IgnoreGen/
├── app/                    # Next.js App Router (pages, layout, metadata)
│   ├── api/                # API routes (Gemini AI integration)
│   ├── globals.css         # Tailwind & custom CSS styles
│   ├── layout.tsx          # Root layout & SEO OpenGraph metadata
│   ├── manifest.ts         # Web App Manifest generator
│   ├── robots.ts           # Search Engine Robots generator
│   ├── sitemap.ts          # Search Engine Sitemap generator
│   └── page.tsx            # Main application interface
├── components/             # Reusable UI components
├── data/                   # Gitignore template database (120+ templates)
├── hooks/                  # Custom React hooks
├── lib/                    # Storage, generator engine, types
├── public/                 # Static assets, icons, open-graph imagery
├── package.json
└── README.md

👤 Author

MD Razikul Islam Joni


📄 License

Distributed under the MIT License. See LICENSE for details. Anyone can freely use, modify, and distribute this project.

About

Fast, customizable, and AI-powered .gitignore generator supporting 120+ stacks, frameworks, operating systems, and IDEs.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages