Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 8, 2026. It is now read-only.

cloud-aspect/doc-indexer

Repository files navigation

Document Indexer Gemini CLI Extension

This extension provides a tool to index markdown files in a git repository for semantic search.

Installation

To install this extension, you can use the gemini CLI:

gemini extension install https://github.com/cloud-aspect/doc-indexer

Usage

Once the extension is enabled, you can use the index tool in your Gemini CLI prompts.

index

This tool clones a git repository, indexes the markdown files, and saves the index to a local context file.

Arguments:

  • repo_url (string, required): The URL of the git repository to index.
  • output_path (string, optional): The path to save the index file to. Defaults to ~/.gemini/doc-indexer/repo_index.json.

Example:

> index repo_url="https://github.com/google/gemini-cli"

Development

To build and test this extension locally, follow these steps:

  1. Clone this repository.

  2. Run npm install to install the dependencies.

  3. Run npm run build to compile the TypeScript code.

  4. Enable the extension for local development:

    gemini extension enable path/to/this/repository

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published