About this project
gitnibble
Instant, offline-first, context-aware `.gitignore` generator and manager in Rust with a ratatui-based terminal UI.
Zero network calls by default. Embedded templates for ~60+ languages, frameworks, and tools. Safe by default — additive-only merges, never deletes or alters existing custom ignore rules.
Features:
- Instant cold-start: sub-20ms startup, zero async runtime overhead
- Context-aware workspace scanner: detects languages, frameworks, IDEs, and OS settings
- Ratatui TUI: three-pane interface with 12 curated truecolor themes, fuzzy search, real-time diff preview
- Scriptable CLI: non-interactive commands with exit codes for CI/CD pipelines and git hooks
- Zero network overhead: embedded offline templates, optional opt-in `--features fetch` for remote retrieval
- Safe by default: additive-only merges, never deletes or alters existing custom ignore rules
Themes: catppuccin_mocha, tokyo_night, dracula, nord, obsidian, solarized, gruvbox, rose_pine, everforest, kanagawa, monokai_pro, one_dark
Installation:
```bash
cargo install gitnibble-rs
```
Arch Linux (AUR):
```bash
yay -S gitnibble-bin
```
CLI usage:
```bash
gitnibble detect # detect project stack
gitnibble diff Rust Node macOS # preview changes
gitnibble add Rust --yes # add templates non-interactively
gitnibble # launch interactive TUI
```
Exit codes (CLI diff mode): 0 = success/no changes, 1 = pending changes exist, 2 = execution error/template not found.
License: MIT
Platform: Windows, Linux, macOS
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.