#indexer #index #chroma #chromadb

app fsix

FSIX is fast source indexer using ChromaDB, written with Rust

3 unstable releases

Uses new Rust 2024

0.2.0 Aug 6, 2025
0.1.1 Jul 8, 2025
0.1.0 Jul 8, 2025

#9 in #chroma

Download history

157 downloads per month

MIT license

19KB
294 lines

FSIX : Fast Source Indexer

FSIX is fast source indexer using ChromaDB, written with Rust.

Method

Sources are chunked function-by-function. And those chunked functions are stored into database.

Currently, Chunking is supported on only C/C++. If a file is not written with C/C++, Any chunking mechanism will be disabled.

But, If a language can be parsed by tree-sitter crate, You can add a support for that language easily.

Usage

fsix -i
fsix --index
fsix -q
fsix --query
fsix -c
fsix --clear
  • -i | --index - Index sources

Reads files from stdin line-by-line until EOF. So you can pipe files to fsix:

find . -name '*.cxx' | fsix -i
  • -q | --query - Query sources

Read-to-end stdin, and use it as query. Same as indexing, you can also pipe query to fsix:

cat prompt.txt | fsix -q
fsix -q < prompt.txt
  • -c | --clear - Clear database
fsix -c

Dependencies

~31–43MB
~1M SLoC