Without SourceMinder
~29.6 K
total tokens · grep + cat · full reads
SourceMinder is a set of local CLI tools for understanding code.
Index your codebase with index-<lang>, then query the index for symbols, using qi.
Click a command to run it, or type your own.
qi getcaller -x noise # find a symbol by name (case-insensitive), no strings or commentsqi set% -i func # wildcard match, functions onlyqi setlevel --def -e # expand the full definitionqi % -f logrus.go --toc # table of contents for one fileInstall pre-packaged binaries for x86_64 Linux:
curl -fsSl https://sourceminder.org/install.sh | bash
Without SourceMinder
~29.6 K
total tokens · grep + cat · full reads
With SourceMinder
~25.2 K
total tokens · grep + qi · partial reads
Net result [3]
↓ ~15 %
fewer tokens · lower cost
SPECIAL THANKS to the creators and maintainers of the following projects featured on this site:
htop | https://github.com/htop-dev/htop
negroni | https://github.com/urfave/negroni
logrus | https://github.com/sirupsen/logrus
phpdotenv | https://github.com/vlucas/phpdotenv
Slim | https://github.com/slimphp/Slim
Flask | https://github.com/pallets/flask