vectorcode
last updated: Aug 04, 2025
https://github.com/Davidyz/VectorCode/
https://github.com/Davidyz/VectorCode/blob/main/docs/cli.md
install with uv tool install vectorcode
I tried to use this on my work's monorepo (on aug 4 2025), but it didn't succeed for me:
- intiialize with
vectorcode init
- This creates a
.vectorcode
directory, as well as adds a post-checkout hook and pre-commit hook. - The pre-commit hook is just
vectorcode vectorise $diff_files
, basically; the post-checkout is similar
- This creates a
- vectorize your code with `vectorcode vectorise **/*.ts , with whatever extensions are relevant for your project
- it will by default ignore
.gitignore
d files - It helpfully notes that its database is at
~/.local/share/vectorcode/chromadb/
(thank you for using the XDG dir) - mutliple-extension globs seem not to be supported; you can't do
vectorcode vectorise **/*.{ts,js}
- you can use include file specs to do a similar thing, with gitignore syntax
- it will by default ignore
- Unfortunately, when I go to query my code, it fails with this bug which is marked closed but is very much open
- I think the author marked it closed because its root cause is this bug in chromadb