Skip to content
The Daily Repo

shibing624 / TreeSearch

TreeSearch: Search your codebase like a human — not like a vector database. No embeddings. No chunking. Just millisecond search over structured documents and large codebases. 无需 embedding,无需切分文档,在结构化文档和大型代码库中实现毫秒级检索。

Why this job: says: vector database; topics: rag

What it does

  • Smart directory discovery. ts.index("src/") recursively discovers all supported files; skips .git/node_modules/pycache; respects .gitignore
  • FTS5 search. Zero LLM calls, millisecond-level FTS5 keyword matching, no API key needed
  • SQLite FTS5 engine. Persistent inverted index, WAL mode, incremental updates, MD structure-aware columns (title/summary/body/code/front_matter), column weighting, CJK tokenization
  • Tree-structured indexing. Markdown, plain text, code files (Python AST + regex, Java/Go/JS/C++/PHP), HTML, XML, JSON, CSV, PDF, and DOCX are parsed into hierarchical trees
  • Ripgrep-accelerated GrepFilter. Auto-uses system rg for fast line-level matching with transparent native Python fallback; hit-count-based scoring ranks multi-match nodes higher

Get started

No single install command. Read the steps in the README (opens in new tab)

Maintenance
Inactive
Last commit 6 months ago
Stars
213
On GitHub
Licence
Apache-2.0
Allows business use
Downloads for
3 systems
Mac, Windows, Linux
Latest version
v1.1.1
Released 6 months ago
Built with
Python
65% of the code

Is it looked after?

Contributors
Not stated
Last 90 days
Issues
100% closed
0 still open
Pull requests
0 merged
0 waiting
Releases
5
5 in the last year

Similar repos

Repos similar to this one
RepoStarsLast commitLicenceDownloads for
SylphAI-Inc / AdalFlow4,23111 days agoMITNo downloads
wangle201210 / go-rag32959 days agoApache-2.0Mac, Windows, Linux
More: download files, languages, topics and project record

Download files, v1.1.1

  • Mac4 files, 18 downloads
  • Windows2 files, 34 downloads
  • Linux2 files, 12 downloads

All files on GitHub (opens in new tab)

Languages

  • Python 65%
  • Rust 35%

Topics

  • rag
  • retriever
  • tree-structure
  • treesearch

Project record

  • JobRAG and search
  • StatusListed
  • Commits114
  • Forks16
  • Watching0
  • Stars in 28 days0
  • CreatedFeb 25, 2026
  • First seen by usNov 7, 2026
  • CheckedNov 8, 2026

Type to search.

Try