Skip to content

Releases: DariusCorvus/search-nix

v0.3.0

21 Mar 20:09

Choose a tag to compare

What's New

  • Long descriptions — Expanded TUI detail and verbose CLI now show the full package long description (HTML stripped), giving more context about what a package does
  • Exact name matching — Packages get the * marker when the query matches the package name, not just program names
  • Package name highlighting — Query terms are underlined in package names (preserving green color) in both CLI and TUI
  • Faster TUI startup — Alt-channel detection (~500ms) now runs in the background instead of blocking the UI
  • Regex caching — Query highlight regex compiled once and cached instead of 50-100+ times per render frame

v0.2.0

21 Mar 19:06

Choose a tag to compare

What's New

  • Per-term highlighting — Multi-word searches now highlight each term independently in descriptions and program names (both CLI and TUI)
  • Matching programs sorted first — Programs matching query terms appear first in the expanded detail list
  • Both install commands in TUI — Expanded detail now shows both nix profile install and nix-env -iA commands
  • Word-wrapped descriptions — Long descriptions in TUI wrap at word boundaries when expanded, instead of being clipped

v0.1.0

20 Mar 10:52

Choose a tag to compare

Initial release of search-nix — a CLI tool to search NixOS packages from the terminal.

Features

  • Queries the search.nixos.org Elasticsearch backend directly
  • Auto-detects NixOS channel from nixos-version
  • Colored terminal output with package details (name, version, description, programs, homepage, license)
  • Interactive TUI mode (-t) with bubbletea
  • Verbose (-v) and compact output modes
  • Installable via Nix flake