talk-codebase/README.md

37 lines
1.2 KiB
Markdown
Raw Normal View History

# talk-codebase is a powerful tool for chatting with your codebase
2023-05-26 12:02:35 +00:00
[![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">
2023-05-27 14:25:50 +00:00
<img src="https://github.com/rsaryev/talk-codebase/assets/70219513/b5d338f9-14a5-417b-9690-83f5cd66facf" width="800" alt="chat">
</p>
2023-05-27 14:25:50 +00:00
## 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
```