Skip to content

eltu/idx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

134 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

idx

Fast code and text search CLI for Git repositories, powered by BM25 and per-directory indexes.

⚠️ This project is under active development and may contain bugs or breaking changes.

Requirements

  • Go 1.26+
  • Git repository (project root is resolved from .git)

Quick start

make build
./bin/idx init
./bin/idx search "auth token"
./bin/idx search "func abc x y int 10" --operator AND --relaxation '>2'

Or run directly:

go run cmd/idx/main.go <command>

Core commands

  • idx init: create indexes recursively
  • idx sync: resync existing indexes
  • idx search <terms>: search indexed content, with --operator AND|OR and AND relaxation via --relaxation '>N'
  • idx watch: realtime sync in active terminal session
  • idx daemon enable|disable|status: background monitoring
  • idx inspect <path>: inspect index content
  • idx destroy: remove index metadata

Useful Make targets

  • make build
  • make test
  • make check
  • make fmt
  • make lint
  • make complexity
  • make clean

Detailed docs

For full command reference, flags, examples, and troubleshooting, see:

Additional docs

About

Fast code and text search CLI for Git repositories, powered by BM25 and per-directory indexes.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors