cocoindex-code
A super light-weight embedded code search engine CLI (AST based) that just works - improves speed and efficiency for coding agent ๐ Star if you like it!
File Explorer
Download Latest Version (.zip)- marketplace.json
- plugin.json
- pre-commit.yml
- release.yml
- docker-compose.yml
- Dockerfile
- entrypoint.sh
- hooks.json
- find_best_models.py
- MTEB-RANKINGS.md
- management.md
- settings.md
- SKILL.md
- __init__.py
- __main__.py
- _daemon_paths.py
- chunking.py
- cli.py
- client.py
- daemon.py
- embedder_defaults.py
- embedder_params.py
- file_walk.py
- grep.py
- indexer.py
- litellm_embedder.py
- project.py
- protocol.py
- query.py
- schema.py
- server.py
- settings.py
- shared.py
- __init__.py
- conftest.py
- test_docker_workspace.py
- utils.ts
- auth.py
- handlers.py
- README.md
- conftest.py
- example_toml_chunker.py
- test_backward_compat.py
- test_chunker_registry.py
- test_cli_helpers.py
- test_client.py
- test_daemon.py
- test_daemon_idle.py
- test_e2e.py
- test_e2e_daemon.py
- test_embed_params_forwarding.py
- test_embedder_defaults.py
- test_embedder_params.py
- test_file_walk.py
- test_grep.py
- test_litellm_embedder.py
- test_project_indexing.py
- test_protocol.py
- test_query_filters.py
- test_server.py
- test_settings.py
- test_shared.py
- .dockerignore
- .gitignore
- .mcp.json
- .pre-commit-config.yaml
- CLAUDE.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- EMBEDDINGS.md
- LICENSE
- pyproject.toml
- README.md
- req-to-pr.zip
- SECURITY.md
- uv.lock
# Installation Guide
git clone https://github.com/cocoindex-io/cocoindex-code
Downloads the entire project code from GitHub to your computer.
cd cocoindex-code
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommendedpipx install 'cocoindex-code[full]' # batteries included (local embeddings)
Installs the CLI tool into an isolated environment via pipx.
brew install python3
Installs the pre-built package via Homebrew โ no source build required.
pipx install cocoindex-code # first install
Installs the CLI tool into an isolated environment via pipx.
Pulled directly from this repo's README.
3. Docker
Easy- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f <(curl -L https://raw.githubusercontent.com/cocoindex-io/cocoindex-code/refs/heads/main/docker/docker-compose.yml) up -d
Runs the command against the services defined in the compose file.
PUID=$(id -u) PGID=$(id -g) docker compose -f <(curl -L https://raw.githubusercontent.com/cocoindex-io/cocoindex-code/refs/heads/main/docker/docker-compose.yml) up -d
Runs the command against the services defined in the compose file.
> COCOINDEX_CODE_IMAGE=cocoindex/cocoindex-code:full docker compose up -d
Builds and starts all defined containers (server, database, etc.) at once, in the background.
> COCOINDEX_CODE_IMAGE=ghcr.io/cocoindex-io/cocoindex-code:latest docker compose up -d
Builds and starts all defined containers (server, database, etc.) at once, in the background.
docker run -d --name cocoindex-code \
Runs the built image as an actual container.
Pulled directly from this repo's README.
4. Python
Easypip install .
Installs the package published on PyPI directly โ no need to clone the source.
python <์คํํ ํ์ผ๋ช
>.py # README์์ ์ ํํ ์คํ ํ์ผ๋ช
์ ํ์ธํ์ธ์
Runs the Python script (or module).
