Back to browse

DocDrift – Use Tree-sitter and Local LLMs to fix stale documentation

by AYSgood·Mar 23, 2026·2 points·1 comment

AI Analysis

MidShip It

Tree-sitter AST parsing is smarter than diffs, but docs-sync tools already exist.

Strengths
  • Tree-sitter AST parsing understands actual symbol changes, not just text diffs.
  • Local LLMs mean no code leaves your machine—privacy-conscious by default.
Weaknesses
  • No repo link or demo provided—can't verify implementation quality or actual output.
  • Mintlify, Swimm, and ReadMe already tackle documentation drift with established solutions.
Target Audience

Developers maintaining documentation alongside codebases

Similar To

Mintlify · Swimm · ReadMe

Post Description

I tried to submit the link directly, but my account is currently restricted.

I built DocDrift because I got tired of documentation "lying" after a code change. Every time a function signature or logic changes, the README slowly rots until it's useless.

It uses Tree-sitter for AST parsing to actually understand which symbols changed (functions, classes, etc.), then uses semantic search to find the related documentation sections and suggests fixes.

Similar Projects

Developer Tools●●Solid

Noodles – Turn any codebase into a diagram with Claude and Tree-sitter

Tree-sitter + agentic flow ~50x faster than raw LLM calls, but codebase visualization is crowded category.

Solve My ProblemShip It
unslop
603mo ago