cocoindex-io / cocoindex-io/cocoindex-code

Watchdog: Automatic reindexing the changes

Open
#38 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.7k
Forks
217
Avg merge
1d 4h
Merged PRs (30d)
4

Description

I'd like CocoIndex-Code to run as a service/demon and watch changes in my repo.
When changes are detected, automatically re-index and update only the changes in my SQLite vector DB.

For inspiration
https://github.com/afnanenayet/diffsitter

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review CocoIndex-Code's existing indexing flow and SQLite vector DB handling, then study diffsitter for approaches to detecting repository changes. Determine how a long-running service would fit the CLI and how incremental updates should work. Done means detected changes reindex automatically and only affected records are updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlite
Domain
cli, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.