CodeIndexer
Phase 1 — Open Source

Search your codebase by meaning

Connect GitHub repos, index with AST-aware chunking, search with natural language. Ask questions about your code and get instant answers.

CodeIndexer — acme/api-server
CodeIndexer
Dashboard
Search
Chat
Settings
REPOSITORY
acme/api-server
247 files indexed
rate-limit.ts
auth.ts
src/
middleware/
rate-limit.ts
auth.ts
lib/
embedder.ts
store.ts
search.ts
1import { Redis } from "ioredis";
2
3const WINDOW_MS = 60_000;
4const MAX_REQUESTS = 100;
5
6export async function rateLimit(
7 clientId: string,
8 redis: Redis
9) {
10 const key = `rl:${clientId}`;
11 const current = await redis.incr(key);
12 if (current === 1) {
13 await redis.pexpire(key, WINDOW_MS);
14 }
15 return current <= MAX_REQUESTS;
16}
Chat
Ask about this code...

Built for developers

Every piece of the pipeline is designed for code, not generic text.

Semantic Search

Find code by meaning, not just keywords. Powered by OpenAI embeddings and vector search.

AST Chunking

Intelligent code splitting using tree-sitter. Functions, classes, and types are kept intact.

Hybrid Search

Reciprocal Rank Fusion merges semantic and text search for the best of both worlds.

Incremental Sync

Merkle tree diffing detects changes instantly. Only re-indexes what changed.