https://github.com/sharp0802/fsix
FSIX is fast source indexer using ChromaDB, written with Rust
https://github.com/sharp0802/fsix
chromadb indexer rust
Last synced: 11 months ago
JSON representation
FSIX is fast source indexer using ChromaDB, written with Rust
- Host: GitHub
- URL: https://github.com/sharp0802/fsix
- Owner: Sharp0802
- License: mit
- Created: 2025-07-03T13:17:07.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-07-08T07:26:23.000Z (11 months ago)
- Last Synced: 2025-07-08T07:45:43.566Z (11 months ago)
- Topics: chromadb, indexer, rust
- Language: Rust
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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
```
- `-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
```