You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
talk-codebase/README.md

37 lines
1.2 KiB
Markdown

# talk-codebase is a powerful tool for chatting with your codebase
[![Node.js Package](https://github.com/rsaryev/talk-codebase/actions/workflows/python-publish.yml/badge.svg)](https://github.com/rsaryev/talk-codebase/actions/workflows/python-publish.yml)
<p align="center">
<img src="https://github.com/rsaryev/talk-codebase/assets/70219513/6d92e905-fb1b-4235-857b-e6e19041ad79" width="800" alt="chat">
</p>
## Description
In the chat, you can ask questions about the codebase. AI will answer your questions, and if necessary, it will offer
code improvements. This is very convenient when you want to quickly find something in the codebase, but don't want to
waste time searching. It is also convenient when you want to improve a specific function, you can ask "How can I improve
the function {function name}?" and AI will suggest improvements. Codebase is analyzed using openai.
## Installation
```bash
pip install talk-codebase
```
## Usage
talk-codebase works only with files of popular programming languages and additionally with .txt files. All other files
will be ignored.
```bash
# Start chatting with your codebase
talk-codebase chat <directory>
# Configure
talk-codebase configure
# Help
talk-codebase --help
```