Daipendency icon

Daipendency

Extracts narrative and API documentation from a library in a format suitable for use with AI coding assistants.

About

Daipendency automates the extraction of public API documentation from software libraries, converting it into a format optimized for consumption by Large Language Models (LLMs). It supports Rust and can be extended to support any language supported by tree-sitter. This allows AI coding assistants to provide more informed and accurate suggestions by directly accessing the documentation of a project's dependencies.

Key Features

  • Offers both CLI and library usage for flexible integration.
  • Reads source code directly for clean output, avoiding HTML processing.
  • Extracts only public symbols (e.g., functions).
  • Currently supports Rust and can be extended to other languages.
  • 32 GitHub stars
  • Outputs function signatures and documentation, excluding implementation details.

Use Cases

  • Generating Markdown documentation from library source code.
  • Programmatically accessing library symbols and namespaces.
  • Integrating dependency documentation into AI coding agents.
Craft Better Prompts with AnyPrompt