fsix

Crates.iofsix
lib.rsfsix
version0.2.0
created_at2025-07-08 07:06:11.439839+00
updated_at2025-08-06 00:43:31.971448+00
descriptionFSIX is fast source indexer using ChromaDB, written with Rust
homepage
repositoryhttps://github.com/sharp0802/fsix
max_upload_size
id1742151
size63,283
Yeong-won Seo (Sharp0802)

documentation

README

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
Commit count: 0

cargo fmt